From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 01:27:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9BC91065689 for ; Sun, 28 Sep 2008 01:27:47 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 63FAE8FC15 for ; Sun, 28 Sep 2008 01:27:47 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by gxk10 with SMTP id 10so9408186gxk.19 for ; Sat, 27 Sep 2008 18:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=U+CeNFc5zlZfYyo3wTxwJ/XvG90KrmorAkiD/Yrxx48=; b=erSqvrL92a5LdDVwtkZRU1FfUGzaTB0XmqPB4K+Rxd/i0VVJ+iJd4yRRI2HIQyDUga 0kEpt1ulN4GvB0nyrERwYOHIOryi41nwHzXLgI45g6yjLupQs4VDnjqpudTxm+FAWMNB yvUNfnKpzdncxhCrb9TJ0BW9KL6pxPvdERvds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HDJUxiGQh4XgrejOyofS1l2IifVM0CTBxLLllclta4636uGcozwy+alYbGsxWYIqfT DSV02hF6Y4q0whuMMkRSoCemXebq2Y5WprITWSq1h6QutiTOCY8hTBFMmV7mG58mTa0B /9v2zZcnkJitihr81zR3Y8sHXgwrnjPbmTx3A= Received: by 10.151.44.18 with SMTP id w18mr4913631ybj.224.1222565266281; Sat, 27 Sep 2008 18:27:46 -0700 (PDT) Received: by 10.150.182.18 with HTTP; Sat, 27 Sep 2008 18:27:46 -0700 (PDT) Message-ID: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> Date: Sat, 27 Sep 2008 19:27:46 -0600 From: "Andrew Falanga" To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: The consequences of turning off sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 01:27:47 -0000 This question comes from complete ignorance about this stuff (what happens when turning off sendmail), but if I turn off sendmail will system messages still get delivered? Also, I'm going to be using this box as a web server and I'm using Joomla!. If I turn this off, will I still get the notifications that new users have signed on, etc.? I'd like to turn it off because the box doesn't sit inside of a fully qualified domain (it sits inside a 192.168.x/24 network), but will host web services for www.whitneybaptist.org. Obviously, requests sent to 72.24.34.252 on port 80 are forwarded to this box (actually, internally it's 192.168.2.23). Also, (for those who have endured helping me work through the issues with our mail server) until I get things worked out with DNS this new server will not be hosting e-mail for this domain (whitneybaptist.org), that's temporarily being done at google mail. So, basically, what sort of trouble am I going to get into by turning off sendmail? Also, I think I'm going to implement DNS, an internal thing, to make this box happy and then point the resolver to use the Internet DNS servers for everything else. Thanks for any help, Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 02:20:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4050106568F for ; Sun, 28 Sep 2008 02:20:42 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 949318FC38 for ; Sun, 28 Sep 2008 02:20:42 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 2D4655C74 for ; Sat, 27 Sep 2008 22:21:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tandon.net; h= x-virus-scanned:in-reply-to:content-disposition:content-type :mime-version:references:reply-to:message-id:subject:from:date: received; s=aegis; t=1222568467; bh=3f7jW0FQve9Q4qNytvWOltoIlEul NERvoLEyyYJFyxE=; b=Qt2rSMW0BLz/0m3xvFdmm2jDXyuKqAdr2+1fcdYzkNbp RNl0XTvC+bYDDlgmSDgmVvBsd+3+jRLQmJIFNh3Mk8h7tseW/rLnd1sZ7SvuDKMc 1iGIyacDVnRw3eJzj5PV2dwAw+AF1j0WhGPPuuk+C21XS78BrRF5dpJRuYN6eZU= Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10027) with LMTP id Nj6Phn8gvGnU for ; Sat, 27 Sep 2008 22:21:07 -0400 (EDT) Date: Sat, 27 Sep 2008 22:20:40 -0400 From: Sahil Tandon To: freebsd-questions@freebsd.org Message-ID: <20080928022040.GC36499@shepherd> References: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on aegis.hamla.org X-Virus-Status: Clean Subject: Re: The consequences of turning off sendmail 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: Sun, 28 Sep 2008 02:20:42 -0000 Andrew Falanga wrote: > This question comes from complete ignorance about this stuff (what > happens when turning off sendmail), but if I turn off sendmail will > system messages still get delivered? Also, I'm going to be using this > box as a web server and I'm using Joomla!. If I turn this off, will I > still get the notifications that new users have signed on, etc.? I'd > like to turn it off because the box doesn't sit inside of a fully > qualified domain (it sits inside a 192.168.x/24 network), but will > host web services for www.whitneybaptist.org. Obviously, requests > sent to 72.24.34.252 on port 80 are forwarded to this box (actually, > internally it's 192.168.2.23). Also, (for those who have endured > helping me work through the issues with our mail server) until I get > things worked out with DNS this new server will not be hosting e-mail > for this domain (whitneybaptist.org), that's temporarily being done at > google mail. > > So, basically, what sort of trouble am I going to get into by turning > off sendmail? Also, I think I'm going to implement DNS, an internal > thing, to make this box happy and then point the resolver to use the > Internet DNS servers for everything else. You can turn off the Sendmail daemon so that it does not actually listen for incoming connections or act as an MTA in the conventional sense. But local utilities like cron can still invoke the /usr/sbin/sendmail command to send you notifications. http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html -- Sahil Tandon From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 03:08:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12C391065698 for ; Sun, 28 Sep 2008 03:08:01 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id C6C068FC0C for ; Sun, 28 Sep 2008 03:08:00 +0000 (UTC) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 66BDF471CEB for ; Sun, 28 Sep 2008 05:08:00 +0200 (CEST) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id B32653869A9 for ; Sun, 28 Sep 2008 05:08:04 +0200 (CEST) (envelope-from LConrad@Go2France.com) X-AV-Checked: Sun Sep 28 05:08:04 2008 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 7A3D93865CD for ; Sun, 28 Sep 2008 05:08:04 +0200 (CEST) (envelope-from LConrad@Go2France.com) Received: from TX2.Go2France.com [66.90.247.9] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A2F1754E00E0; Sun, 28 Sep 2008 04:58:57 +0200 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 27 Sep 2008 22:06:50 -0500 To: freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200809280458484.SM01744@TX2.Go2France.com> Subject: help with AWk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 03:08:01 -0000 The logic desired if If IP has no PTR, print "PTR_NUL", else print the PTR. dig +short -x 1.2.3.4 | awk '{if ( $0 == "" ) {print "PTR_NUL" } else {print $0 } }' ... works if PTR exist, but if no PTR, PTR_NUL doesn't print. thanks Len ______________________________________________ IMGate OpenSource Mail Firewall www.IMGate.net From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 04:00:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D97BC106564A for ; Sun, 28 Sep 2008 04:00:59 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.181]) by mx1.freebsd.org (Postfix) with ESMTP id 90FC78FC14 for ; Sun, 28 Sep 2008 04:00:59 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so343066ele.13 for ; Sat, 27 Sep 2008 21:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LI2AzzenqwjNm+JzxkKBAcUlfQZeRnAKVqevCq8qJQA=; b=ViqkrnL8oDVC3tvi4vAWXBZx/bHirZvqvCC+UPFjq7WD8lFB1nXfBUQ7hf5d+9vXQM q3E7xVgJcrlvGeCmoysByZu4vJO2V4TG67catABkd81eOYecTdIsIo8UWCX6GQDVZZFI qXFOvZ+CX138jabUAxucl5jmGt5O+bOzCspxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GrnM6/lXQ4POGCyX8lT9cfM5Q7miKVoB7rL57GCLRt6ptXgLmPZt6CSq9FrHxggwpz 8Dj1JnNOsjihzQP5dwpaP0WkwO4wKRG9DeLClFtsip88BO55NNbQ/106SvOt5l6w60uk TbCU2mU/njYJ4sow9bnzvXe6t8gGmSBVewMw4= Received: by 10.151.44.18 with SMTP id w18mr5134833ybj.66.1222574458585; Sat, 27 Sep 2008 21:00:58 -0700 (PDT) Received: by 10.150.182.18 with HTTP; Sat, 27 Sep 2008 21:00:58 -0700 (PDT) Message-ID: <340a29540809272100of501fb2pd0c0c7a915ed1ae2@mail.gmail.com> Date: Sat, 27 Sep 2008 22:00:58 -0600 From: "Andrew Falanga" To: "freebsd-questions@freebsd.org" In-Reply-To: <20080928022040.GC36499@shepherd> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> <20080928022040.GC36499@shepherd> Subject: Re: The consequences of turning off sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 04:00:59 -0000 On Sat, Sep 27, 2008 at 8:20 PM, Sahil Tandon wrote: > Andrew Falanga wrote: > >> This question comes from complete ignorance about this stuff (what >> happens when turning off sendmail), but if I turn off sendmail will >> system messages still get delivered? Also, I'm going to be using this >> box as a web server and I'm using Joomla!. If I turn this off, will I >> still get the notifications that new users have signed on, etc.? I'd >> like to turn it off because the box doesn't sit inside of a fully >> qualified domain (it sits inside a 192.168.x/24 network), but will >> host web services for www.whitneybaptist.org. Obviously, requests >> sent to 72.24.34.252 on port 80 are forwarded to this box (actually, >> internally it's 192.168.2.23). Also, (for those who have endured >> helping me work through the issues with our mail server) until I get >> things worked out with DNS this new server will not be hosting e-mail >> for this domain (whitneybaptist.org), that's temporarily being done at >> google mail. >> >> So, basically, what sort of trouble am I going to get into by turning >> off sendmail? Also, I think I'm going to implement DNS, an internal >> thing, to make this box happy and then point the resolver to use the >> Internet DNS servers for everything else. > > You can turn off the Sendmail daemon so that it does not actually listen > for incoming connections or act as an MTA in the conventional sense. > But local utilities like cron can still invoke the /usr/sbin/sendmail > command to send you notifications. > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html > Thanks, just wanted to make sure before doing it. Andy From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 04:01:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C8D71065688 for ; Sun, 28 Sep 2008 04:01:58 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (203-219-142-174.static.tpgi.com.au [203.219.142.174]) by mx1.freebsd.org (Postfix) with ESMTP id B895C8FC2A for ; Sun, 28 Sep 2008 04:01:57 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (localhost [127.0.0.1]) by bacardi.frase.id.au (8.14.2/8.14.2) with ESMTP id m8S41slo052851 for ; Sun, 28 Sep 2008 14:01:54 +1000 (EST) (envelope-from Fraser@bacardi.frase.id.au) Received: (from Fraser@localhost) by bacardi.frase.id.au (8.14.2/8.14.2/Submit) id m8S41rRx052849 for freebsd-questions@freebsd.org; Sun, 28 Sep 2008 14:01:53 +1000 (EST) (envelope-from Fraser) Date: Sun, 28 Sep 2008 14:01:53 +1000 From: Fraser Tweedale To: freebsd-questions@freebsd.org Message-ID: <20080928040152.GA7159@bacardi.frase.id.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: [OT] Apache SSL certificate authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 04:01:58 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've been trying to set up Apache to do certificate authentication and although I've had success using a self-signed CA (which naturally requires that the CA certificate be installed in the browser), I want to do the same, only have the certificate(s) signed by a real(*) CA, and am having some difficulty. (*) Specifically, CACert, which still isn't a OOTB trusted CA in most software. The way I expect this to work is: - Create my CA key and a CSR, and have CACert sign it. - Create a server key and CSR, and sign it with my CA - Create a client certificate, signed by my CA. So I end up with a certificate chain that goes: CACert -> my CA -> my server But... this is not working. Firefox won't verify the server (the CACert root certificate .is. installed), and having bypassed this check, Apache won't verify the client either. The Apache configuration is as follows: ServerName foo.bar DocumentRoot /path/to/htdocs SSLEngine on SSLCipherSuite HIGH:MEDIUM SSLProtocol all -SSLv2 SSLCertificateFile /sslpath/server.crt SSLCertificateKeyFile /sslpath/server.key SSLCACertificateFile /sslpath/my-ca.crt SSLVerifyClient require SSLVerifyDepth 1 Any suggestions are appreciated, frase --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjfAbAACgkQPw/2FZbemTUGjwCfbX1X2ZzTYcrjF6WbNr5RKIxW 8jIAmQFiQXoXfrWPcPI7PI6zt8nI0ygR =ys4/ -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 04:04:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 143A81065686 for ; Sun, 28 Sep 2008 04:04:14 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id C010F8FC0C for ; Sun, 28 Sep 2008 04:04:13 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by gxk10 with SMTP id 10so9453679gxk.19 for ; Sat, 27 Sep 2008 21:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=thSYNoHUMiMJ1tTZNAgcKzCpOqv1QfQNGFBiPf8SgDE=; b=C/RPqGfQNO0jLt8+3dYTj2oh6hoK6vKwOzYBXttFFwVj9unUmG3wdL/C9hLmDXrrGl i/pYKkv30agxI7F4wzDtY6hMPLLiigPYv+VrABHcIXTakZ9Bx+ec2rdQECCGkX8QLCem rhuLSOUctYduLKB0IW+mKRLvUvHDVSJ3LyyTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=kCZUpcTgcU2FctI55bK+iOtyy5RIRtoEKcC3IWBP0NnzBQnaditwCjCWwJi3aNOBOB +LKEn4ew15WiFuV5OI7fAJkCyiPIDFe3+xDxRPLGFc5R/Ia9M6f6L6Z0VZbfHcASSdMi PTyfnA6IZIaHhx2dcKhw7Q3hXT5AYkbLzndqA= Received: by 10.150.219.16 with SMTP id r16mr5171397ybg.21.1222574653103; Sat, 27 Sep 2008 21:04:13 -0700 (PDT) Received: by 10.151.11.21 with HTTP; Sat, 27 Sep 2008 21:04:13 -0700 (PDT) Message-ID: <8cb6106e0809272104s4306368awfdeb1ddf4a5cd7ca@mail.gmail.com> Date: Sun, 28 Sep 2008 00:04:13 -0400 From: "Josh Carroll" To: "Len Conrad" In-Reply-To: <200809280458484.SM01744@TX2.Go2France.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809280458484.SM01744@TX2.Go2France.com> Cc: freebsd-questions@freebsd.org Subject: Re: help with AWk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 04:04:14 -0000 > dig +short -x 1.2.3.4 | awk '{if ( $0 == "" ) {print "PTR_NUL" } else {print $0 } }' If you run the dig command without the pipe, it should give you an idea of why what you're trying is not working. > dig +short -x 1.2.3.4 | wc 0 0 0 Josh From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 04:12:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 882EB1065693 for ; Sun, 28 Sep 2008 04:12:10 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth19.prod.mesa1.secureserver.net (smtpauth19.prod.mesa1.secureserver.net [64.202.165.30]) by mx1.freebsd.org (Postfix) with SMTP id 532A48FC1C for ; Sun, 28 Sep 2008 04:12:10 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: (qmail 11957 invoked from network); 28 Sep 2008 03:45:29 -0000 Received: from unknown (96.226.72.228) by smtpauth19.prod.mesa1.secureserver.net (64.202.165.30) with ESMTP; 28 Sep 2008 03:45:29 -0000 Message-ID: <48DEFDD7.1010908@computer.org> Date: Sat, 27 Sep 2008 22:45:27 -0500 From: Eric Schuele User-Agent: Thunderbird 2.0.0.17 (X11/20080927) MIME-Version: 1.0 To: Len Conrad References: <200809280458484.SM01744@TX2.Go2France.com> In-Reply-To: <200809280458484.SM01744@TX2.Go2France.com> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7CA434B238F4C80407FF238F" Cc: freebsd-questions@freebsd.org Subject: Re: help with AWk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 04:12:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7CA434B238F4C80407FF238F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/27/2008 22:06, Len Conrad wrote: > The logic desired if >=20 > If IP has no PTR, print "PTR_NUL", else print the PTR. >=20 >=20 > dig +short -x 1.2.3.4 | awk '{if ( $0 =3D=3D "" ) {print "PTR_NUL" } el= se {print $0 } }' >=20 > ... works if PTR exist, but if no PTR, PTR_NUL doesn't print. A workaround that does the trick... printf "dug `dig +short -x 1.2.3.4`" | awk '{if ( NF =3D=3D 1 ) {print "PTR_NUL" } else {print $2 } }' >=20 > thanks > Len >=20 >=20 >=20 >=20 >=20 > ______________________________________________ > IMGate OpenSource Mail Firewall www.IMGate.net >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= =2Eorg" >=20 >=20 --=20 Regards, Eric --------------enig7CA434B238F4C80407FF238F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEUEARECAAYFAkje/dcACgkQngSDRM3IXUp9igCguwpQjnhZG2wfdph9s1qKFD6I 77kAmLs/98+ZDYvHaouu2LY8CEPK+EY= =EE91 -----END PGP SIGNATURE----- --------------enig7CA434B238F4C80407FF238F-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 04:29:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A921065686 for ; Sun, 28 Sep 2008 04:29:09 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from mail03.ifxnetworks.com (mail03.ifxnetworks.com [190.61.128.53]) by mx1.freebsd.org (Postfix) with ESMTP id BEF918FC08 for ; Sun, 28 Sep 2008 04:29:08 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 7073 invoked from network); 28 Sep 2008 04:29:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail03.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=RDNS_NONE autolearn=disabled version=3.2.5 Received: from unknown (HELO quake) (dmw@unete.cl@[200.73.29.250]) (envelope-sender ) by mail03.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Sep 2008 04:29:07 -0000 From: Daniel Molina Wegener Organization: DMW To: FreeBSD Questions Date: Sun, 28 Sep 2008 00:29:01 -0400 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809280029.01141.dmw@unete.cl> Subject: strange behavior after update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 04:29:09 -0000 Hello, I have 4GB machine and after updating to 6.4-PRERELEASE using 32bit intel based system. the complete system hangs if I do a "sysctl -a" under X terminal emulators. Also, I get a system hang during entropy harvesting. The "sysctl -a" command freezes while is displaying ACPI information, I can't capture the output and I don't have any core files... I'm running the nvidia-driver port with X11. Best regards and thanks... -- .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD & Linux User | Standards Rocks! From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 05:37:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 725E71065695 for ; Sun, 28 Sep 2008 05:37:26 +0000 (UTC) (envelope-from sasa@stupar.homelinux.net) Received: from avs4.arnes.si (avs4.arnes.si [193.2.1.77]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3AF8FC2A for ; Sun, 28 Sep 2008 05:37:25 +0000 (UTC) (envelope-from sasa@stupar.homelinux.net) Received: from localhost (unknown [193.2.1.77]) by avs4.arnes.si (Postfix) with ESMTP id 6F2312AC05E for ; Sun, 28 Sep 2008 05:37:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at arnes.si Received: from avs4.arnes.si ([193.2.1.77]) by localhost (avs4.arnes.si [10.22.22.4]) (amavisd-new, port 10024) with ESMTP id xlxyJuwoVVcV for ; Sun, 28 Sep 2008 07:37:24 +0200 (CEST) Received: from xmail.homelinux.net (cmb16-74.dial-up.arnes.si [194.249.51.74]) by avs4.arnes.si (Postfix) with ESMTP id 550AC2AC007 for ; Sun, 28 Sep 2008 07:37:24 +0200 (CEST) Received: from [192.168.20.201] (unknown [192.168.20.201]) by xmail.homelinux.net (Postfix) with ESMTPSA id D621E1CC70 for ; Sun, 28 Sep 2008 07:37:23 +0200 (CEST) Message-ID: <48DF181B.8050402@stupar.homelinux.net> Date: Sun, 28 Sep 2008 07:37:31 +0200 From: Sasa Stupar User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=A8A54308 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94/8347/Sun Sep 28 01:35:46 2008 on server.sosedi X-Virus-Status: Clean Subject: Kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 05:37:26 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Runing FBSD 7 amd64. I have noticed in my cron security output: "+rtfree: 0xffffff0001424c30 has 1 refs" There are sometimes only a few lines, but sometimes there are 100 lines or more (all exactly the same). I didn't find anything on the net (google) so I am asking here. Regards, Sasa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjfGBsACgkQNT6IH6ilQwitOQCfdsVRKaVyyhPp67WOcMpk8mxs 1nEAn1GvrTvKp7RabfJLFZj+70mIySgF =sZsQ -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 06:31:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D23851065686 for ; Sun, 28 Sep 2008 06:31:34 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 58E1F8FC0C for ; Sun, 28 Sep 2008 06:31:34 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjEBAL7B3kiWZWdv/2dsb2JhbAAIuHeBZw X-IronPort-AV: E=Sophos;i="4.33,324,1220193000"; d="scan'208";a="216630162" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 28 Sep 2008 16:01:32 +0930 From: Wayne Sierke To: Len Conrad In-Reply-To: <200809280458484.SM01744@TX2.Go2France.com> References: <200809280458484.SM01744@TX2.Go2France.com> Content-Type: text/plain Date: Sun, 28 Sep 2008 16:01:30 +0930 Message-Id: <1222583490.2581.191.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: help with AWk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 06:31:34 -0000 On Sat, 2008-09-27 at 22:06 -0500, Len Conrad wrote: > The logic desired if > > If IP has no PTR, print "PTR_NUL", else print the PTR. > > > dig +short -x 1.2.3.4 | awk '{if ( $0 == "" ) {print "PTR_NUL" } else {print $0 } }' > > ... works if PTR exist, but if no PTR, PTR_NUL doesn't print. > > thanks > Len > dig +short -x 10.0.0.1 | awk '{print $0} END {if(NR==0) print "PTR_NUL"}' PTR_NUL > dig +short -x 69.147.83.33 | awk '{print $0} END {if(NR==0) print "PTR_NUL"}' www.freebsd.org. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 08:00:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB50D106568D for ; Sun, 28 Sep 2008 08:00:46 +0000 (UTC) (envelope-from streambag@streambag.se) Received: from proxy3.bredband.net (proxy3.bredband.net [195.54.101.73]) by mx1.freebsd.org (Postfix) with ESMTP id 88CD88FC1D for ; Sun, 28 Sep 2008 08:00:46 +0000 (UTC) (envelope-from streambag@streambag.se) Received: from ironport.bredband.com (195.54.101.120) by proxy3.bredband.net (7.3.127) id 48DC49FD000818C5 for freebsd-questions@freebsd.org; Sun, 28 Sep 2008 09:40:33 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkctAOrR3khV45NcPGdsb2JhbACTKwEBAQE1pUiBZ4QO Received: from c-5c93e355.08-58-6c6b7013.cust.bredbandsbolaget.se (HELO localhost) ([85.227.147.92]) by ironport1.bredband.com with ESMTP; 28 Sep 2008 09:40:33 +0200 Date: Sun, 28 Sep 2008 09:40:12 +0200 From: Robert Andersson To: freebsd-questions@freebsd.org Message-ID: <20080928094012.1e425612@streambag.se> In-Reply-To: <642250.11535.qm@web56802.mail.re3.yahoo.com> References: <642250.11535.qm@web56802.mail.re3.yahoo.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mdh_lists@yahoo.com Subject: Re: monodevelop compile-time 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: Sun, 28 Sep 2008 08:00:46 -0000 On Sat, 27 Sep 2008 08:13:13 -0700 (PDT) mdh wrote: > Howdy, > When trying to compile monodevelop on FreeBSD 7-STABLE, I get the > following errors: Making all in contrib > Making all in Mono.Cecil > Error expanding embedded variable. > *** Error code 1 > > Stop in /u/root/bld/monodevelop-1.0/contrib. > *** Error code 1 > > Stop in /u/root/bld/monodevelop-1.0. > > This is similar to an error when I tried to compile mono-addins, > however installing mono-addins from ports worked. I'm using the > latest mono/mono-addins/gtksourceview/gtk# from ports. > Unfortunately, there's no monodevelop port. Has anyone successfully > gotten monodevelop working? I looked for patches in the mono-addins > port to see if it changed anything that might fix this error, but > found none. Any help is, of course, much appreciated. > > Thanks, mdh > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > It seems that someone has created a monodevelop port, but it is not in the main ports tree. Have a look at http://www.mono-project.com/Mono:FreeBSD I haven't tried it myself though. Good luck! / Robert From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 09:44:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 887CD1065691 for ; Sun, 28 Sep 2008 09:44:49 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 750EE8FC12 for ; Sun, 28 Sep 2008 09:44:49 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-24-6-210-197.hsd1.ca.comcast.net [24.6.210.197]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m8S9keNL013897; Sun, 28 Sep 2008 02:46:41 -0700 (PDT) Message-ID: <48DF520E.4030800@rawbw.com> Date: Sun, 28 Sep 2008 02:44:46 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: mdh_lists@yahoo.com References: <303017.11834.qm@web56801.mail.re3.yahoo.com> In-Reply-To: <303017.11834.qm@web56801.mail.re3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: MPlayer is broken on 71-PRERELEASE? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 09:44:49 -0000 Actually this problem went away with the update to the more recent version of 71-PRERELEASE. Thank you, Yuri mdh wrote: > Maybe bump the shared memory sysctl's? I've never had a problem with mplayer, and I've got the following in my sysctl.conf: > > kern.ipc.shmmax=67108864 > kern.ipc.shmall=32768 > > The xine install suggests this (which is why I have them set), and mplayer is a similar type of application, so it may help out there as well. > > - mdh > > --- On Sat, 9/27/08, Yuri wrote: > > >> From: Yuri >> Subject: MPlayer is broken on 71-PRERELEASE? >> To: freebsd-questions@freebsd.org >> Date: Saturday, September 27, 2008, 4:07 PM >> When I am trying to play a regular DVD video I am getting a >> messages: >> X11 error: BadShmSeg (invalid shared segment parameter)% >> 11.2% 9 0 >> >> >> Similar messages are printed hen I tried to play some other >> media files. >> >> Seems like something is broken in MPlayer on >> FreeBSD-71-PRERELEASE. >> >> Few months ago it used to work fine. >> >> FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE >> #13: Sat Sep >> 13 22:42:11 PDT 2008 >> yuri@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC i386 >> mplayer-0.99.11_6 >> >> Yuri >> _______________________________________________ >> 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 Sep 28 10:51:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DC03106569E for ; Sun, 28 Sep 2008 10:51:08 +0000 (UTC) (envelope-from danhdo@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id A10E28FC21 for ; Sun, 28 Sep 2008 10:51:07 +0000 (UTC) (envelope-from danhdo@gmail.com) Received: by gxk10 with SMTP id 10so9557528gxk.19 for ; Sun, 28 Sep 2008 03:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:mime-version:content-type:x-mailer:thread-index :content-language; bh=/NYhue9wZ2WG91grF36XVm2LbgQHoNz9rw5J5YbEuAw=; b=jNpvO3jY/1ogZEmFyvohz/3N5Cq5VO78XmxwtDu3KpVe9wgnFUakV0qZl2ms9V4nLK QRLlCz6IgEiqU/9x1ATXFLJV9YPCeo/m08GaMRRAKpbuOTgQy24I1kTAO6qV7/9+MjsX YcPOJwlgDhF1xo+zq7i6yVvFKAxdGNVFJg1Vc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; b=KLGpBviWbWOuEUCK+ipmQysjONXD+dC3T3vxwPIqL7YIr94HCsqVa5Uc2xo6u5WrhM Xynaa4pNY+ao4SwnwVYd/IZVNOtjqx17iqZ/rAsJZQL7uFcggPuZ+RWFvaUBMVnHjq0k YRiO3dOFM5MhMjB5zxcfYuwp5JCtMORSEgDcE= Received: by 10.150.143.5 with SMTP id q5mr5581617ybd.7.1222597537309; Sun, 28 Sep 2008 03:25:37 -0700 (PDT) Received: from Blackhole ([123.20.6.120]) by mx.google.com with ESMTPS id 9sm759015yws.5.2008.09.28.03.25.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Sep 2008 03:25:36 -0700 (PDT) From: "Danny Do" To: Date: Sun, 28 Sep 2008 17:24:14 +0700 Message-ID: <00d101c92154$691f53c0$3b5dfb40$@com> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 thread-index: AckhVFsTHnxF1cNDSkmB38GzEx3A+Q== Content-Language: en-au Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 10:51:08 -0000 Hi guys, I have this problem for years but couldn't find a way to solve it. I have a file server handling large files from 1MByte to 1GByte. Server Info: FreeBSD 6.2 Apache 2.2.9 DELL PowerEdge 1850 2GB RAM (only 184MB is active) 6x300MB SCSI 10K RPM RAID5 Gigabit Ethernet Connection My server can output NO MORE than 60Mbps (read only). The bottle neck is the hard disk. If I use ONE connection to download file from my server, the speed can go up to about 400Mbps. If I let visitors download using multiple connections, the server cannot output more than 60Mbps. My service is similar to rapidshare/megaupload, I am wondering how they configure their servers? If I recall correctly, it doesn't cost much time to read the data from the disk but it does cost a lot of time to seek for the data. Correct me if I am wrong, if I increase the read buffer size, there would be less disk seek (disk access). Let's say the read buffer is 64K, if I increase it to 640K, the disk seek would reduce by 90%. Thus, more data can be read from the hard drive. What should I do now? Any suggestion is appreciated! Danny Do From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 11:11:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB35106568C for ; Sun, 28 Sep 2008 11:11:17 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id A25658FC17 for ; Sun, 28 Sep 2008 11:11:17 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1509844rvf.43 for ; Sun, 28 Sep 2008 04:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=j9cf8q3XWSODcTkd6Uxs+oLMDJS6zx6yM3E0pspQtas=; b=r7YXMdwzjQ6M/aDhMF8A2iHqkwKXN+lJkKuTjsp711RAA+DAr48hVFhjFe6eK6AXM7 u3syiwECM50dcQzs5veMxTqJCI203mXEWzt7LAAv7UJfh70ot9+Iz9QBIFhvrROwH7qm GPjKNmziwDYn7pR7YkmG9ojQ/YULdsEp4YiR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=RQcWppI7/oLEpZAAP/bffd8f4TKPbIlO+94KUdg99elzP43zkpNq4sqXADrMX1M9jm tsiJwjgIIK20pHIYAN3eCi/GiQLWT1R+ouAAIKw1QpX51bIfG/2QsOCc1Ox4xSLG+8oO GKs75re9tCNd2tLXwpS0OV0K7mUuN+GRbWo7o= Received: by 10.141.206.13 with SMTP id i13mr1757689rvq.211.1222598478496; Sun, 28 Sep 2008 03:41:18 -0700 (PDT) Received: by 10.141.128.12 with HTTP; Sun, 28 Sep 2008 03:41:18 -0700 (PDT) Message-ID: Date: Sun, 28 Sep 2008 03:41:18 -0700 From: "Mike Price" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SSH FreeBSD SSH command-line command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 11:11:18 -0000 I am looking for a FreeBSD SSH command-line command that will forward all TCP/UDP traffic through port: 53. Then I need a plink or Cygwin MS-DOS command to tunnel all my XP traffic. please help... From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 11:30:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1011065689 for ; Sun, 28 Sep 2008 11:30:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4ED8FC14 for ; Sun, 28 Sep 2008 11:30:04 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SBTvT9096043; Sun, 28 Sep 2008 13:29:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SBTve2096040; Sun, 28 Sep 2008 13:29:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 13:29:57 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: <00d101c92154$691f53c0$3b5dfb40$@com> Message-ID: <20080928132823.Q96036@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 11:30:06 -0000 > Server Info: > FreeBSD 6.2 > Apache 2.2.9 > > DELL PowerEdge 1850 > 2GB RAM (only 184MB is active) so what's up with other 1.8GB? > 6x300MB SCSI 10K RPM RAID5 300MB disks at 10K? there was such? > Gigabit Ethernet Connection > > My server can output NO MORE than 60Mbps (read only). you mean Mbps or MBps > > The bottle neck is the hard disk. If I use ONE connection to download file > from my server, the speed can go up to about 400Mbps. > > If I let visitors download using multiple connections, the server cannot > output more than 60Mbps. > > My service is similar to rapidshare/megaupload, I am wondering how they > configure their servers? > patch /usr/src/sys/sys/param.h #ifndef DFLTPHYS #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 12:25:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 570D71065687 for ; Sun, 28 Sep 2008 12:25:16 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51106.mail.re2.yahoo.com (web51106.mail.re2.yahoo.com [206.190.38.148]) by mx1.freebsd.org (Postfix) with SMTP id 103DC8FC1D for ; Sun, 28 Sep 2008 12:25:15 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 79179 invoked by uid 60001); 28 Sep 2008 12:25:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=pKep2ZP0JJo8bhVJy7Rg61VAdbloReEfILw2a/dziyf+LaTxIXr4BsuegiTscav1N7UowaFVxQ+H7cKERsECbeBsrpw3eRq5AazmwpDOgc2OXgatwkzdHywGX4iSm8uz1jvj8eln2AcTGnTF8PWVoiRK2IJsogI+mk3Oi05TurQ=; X-YMail-OSG: Armb.XkVM1kmzymM4RRsjyR4IEVMZrIxVZc2DKPWDjPFqbiaa_5qZwb1tiwa8ECox5sBG7u6FoVulv.jvQ6Ul616PL9HuUmY6vLiocXEWWUuyQODqowsT7xKetXU9bfWE7E8_d9hQQFVdCgGUNjkAKNC6NhPJAWJ.8WuazIYmUxusJS7oA-- Received: from [82.136.213.253] by web51106.mail.re2.yahoo.com via HTTP; Sun, 28 Sep 2008 05:25:15 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sun, 28 Sep 2008 05:25:15 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org, gnome@FreeBSD.org MIME-Version: 1.0 Message-ID: <484677.78403.qm@web51106.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: stop in usr/ports/www/firefox3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 12:25:16 -0000 Hi peeps, I want to install firefox3 beside my working firefox2 port on my amd64 syst= em running freebsd 6.3 but the installation fails here: ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13b8): In function `nsACString::SetLength(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x13ea): In function `nsACString::BeginWriting(char**, char**, unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x14f8): In function `nsACString::BeginWriting(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x151d): In function `nsACString::EndWriting()': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1aac): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1b14): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1b68): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1bd0): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1c73): In function `CompressWhitespace(nsAString&)': : undefined reference to `NS_StringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1e13): In function `ToLowerCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1e93): In function `ToUpperCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.= o)(.text+0x14f): In function `NS_strndup(unsigned short const*, unsigned int)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x1d1): In function `NS_strdup(char const*)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsMemory.o)(.text+0x1d): In function `nsMemory::Clone(void const*, unsigned long)': : undefined reference to `NS_Alloc' gmake[5]: *** [libimgicon.so] Error 1 gmake[5]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders/icon' gmake[4]: *** [tools] Error 2 gmake[4]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders' gmake[3]: *** [tools] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n' gmake[2]: *** [tools_tier_gecko] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake[1]: *** [tier_toolkit] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. [root@zouk /usr/ports/www/firefox3]#=20 What is wrong here? uname -a: FreeBSD zouk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20= 21:01:24 CET 2008=A0=A0=A0=A0 root@:/usr/obj/usr/src/sys/MYKERNEL=A0 amd64 Hope somebody can help. Brgds Dino =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 12:28:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BF41065687 for ; Sun, 28 Sep 2008 12:28:07 +0000 (UTC) (envelope-from fbsd06+2G=0b6e6657@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1318FC14 for ; Sun, 28 Sep 2008 12:28:06 +0000 (UTC) (envelope-from fbsd06+2G=0b6e6657@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 4C027163DFE for ; Sun, 28 Sep 2008 08:11:08 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7BFF923E3FB for ; Sun, 28 Sep 2008 08:11:06 -0400 (EDT) Date: Sun, 28 Sep 2008 13:11:03 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080928131103.5eaaf06e@gumby.homeunix.com.> In-Reply-To: <20080928022040.GC36499@shepherd> References: <340a29540809271827r57503ca7o9f8916a7d5fade8@mail.gmail.com> <20080928022040.GC36499@shepherd> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: The consequences of turning off sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 12:28:07 -0000 On Sat, 27 Sep 2008 22:20:40 -0400 Sahil Tandon wrote: > Andrew Falanga wrote: > > You can turn off the Sendmail daemon so that it does not actually > listen for incoming connections or act as an MTA in the conventional > sense. But local utilities like cron can still invoke > the /usr/sbin/sendmail command to send you notifications. > > http://lists.freebsd.org/pipermail/freebsd-questions/2005-December/107610.html > The default for sendmail is: sendmail_enable="NO sendmail_submit_enable="YES" which has the sendmail daemon listening only on localhost. It's fully functional in all respects except that it can't be accessed from outside. You can use localhost:25 as an outgoing mail server if you wish. Turning-off the localhost daemon altogether and having /usr/sbin/sendmail deliver local mail directly is possible, but it's deprecated on security grounds as it needs to run setuid. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 12:30:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 274B0106568F for ; Sun, 28 Sep 2008 12:30:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6A08FC15 for ; Sun, 28 Sep 2008 12:30:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m8SCU2d6076541; Sun, 28 Sep 2008 13:30:03 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m8SCU2d6076541 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222605003; bh=qXWIFIlaPKyC6+ IoUdcajS2yUH80EZlYvRR5u/tf8a8=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48DF78C3.9080401@infracaninophile.co.uk>|Date:=20Sun,=2 028=20Sep=202008=2013:29:55=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.16=20(X11/20080726)|MIME-Version:=201 .0|To:=20Danny=20Do=20|CC:=20freebsd-questions@fr eebsd.org|Subject:=20Re:=20Hard=20disk=20bottle=20neck.|References: =20<00d101c92154$691f53c0$3b5dfb40$@com>|In-Reply-To:=20<00d101c921 54$691f53c0$3b5dfb40$@com>|X-Enigmail-Version:=200.95.6|Content-Typ e:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol= 3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en igECF6016D7D5E6D5C89AE0FDE"; b=qvvHYiB+x9Wh1qHpN3SYQPa+y59k3qa9PPoL ZPsmWYA4JT3ZwpVhEX8+imkehIerwNhmVjP2mC05bjrxyFcOA94CP6SygX0cL3pUUbd E/vcGGdtpiCiSeFieDawp3n4H3xGbqxU9/EKjOyBObcdWXMzePp7MmV8lWSIVVP2aeQ Q= Message-ID: <48DF78C3.9080401@infracaninophile.co.uk> Date: Sun, 28 Sep 2008 13:29:55 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Danny Do References: <00d101c92154$691f53c0$3b5dfb40$@com> In-Reply-To: <00d101c92154$691f53c0$3b5dfb40$@com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigECF6016D7D5E6D5C89AE0FDE" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 28 Sep 2008 13:30:03 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8347/Sun Sep 28 00:35:46 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 12:30:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigECF6016D7D5E6D5C89AE0FDE Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Danny Do wrote: > Hi guys, >=20 > =20 >=20 > I have this problem for years but couldn't find a way to solve it. >=20 > I have a file server handling large files from 1MByte to 1GByte.=20 >=20 > Server Info: > FreeBSD 6.2=20 > Apache 2.2.9 >=20 > DELL PowerEdge 1850 > 2GB RAM (only 184MB is active) > 6x300MB SCSI 10K RPM RAID5 > Gigabit Ethernet Connection >=20 > My server can output NO MORE than 60Mbps (read only).=20 >=20 > The bottle neck is the hard disk. If I use ONE connection to download f= ile > from my server, the speed can go up to about 400Mbps.=20 >=20 > If I let visitors download using multiple connections, the server canno= t > output more than 60Mbps.=20 >=20 > My service is similar to rapidshare/megaupload, I am wondering how they= > configure their servers? >=20 > If I recall correctly, it doesn't cost much time to read the data from = the > disk but it does cost a lot of time to seek for the data. Correct me if= I am > wrong, if I increase the read buffer size, there would be less disk see= k > (disk access). Let's say the read buffer is 64K, if I increase it to 64= 0K, > the disk seek would reduce by 90%. Thus, more data can be read from the= hard > drive. >=20 > What should I do now? Try some different webservers. Apache is great, but it is designed to be maximally flexible and capable of doing anything you can imagine rather than to be absolutely as fast as possible. There are some light-weight servers which have put work into optimizing delivery of static content -- usually spoken of in the context of serving= =20 images but any static files will be suitable material. Personally, I=20 really like nginx for this. Lots of people go for lighttpd and there are= a number of other alternatives in ports. Also, depending on exactly how much content you have to serve and whether= certain items are very much more popular than others, a reverse proxy / m= emory cache (a.k.a http accelerator) may help. varnish is the obvious candidate here, but you'll have to experiment a bit to see what the optim= al settings are and if it actually helps at all. If your website runs using a scripting language such as PHP, then another= possibility is memcached -- although described as a cache for dynamically= generated pages, it can cache just about anything, but you will need some= sort of scripting language to interface to it from your web server. Ther= e are memcached APIs for all popular languages and probably a few you've=20 never heard of... The various caching strategies basically work because they keep recently accessed files in RAM, avoiding an expensive round-trip to the HDD to retrieve the data (memory access takes nano- or micro- seconds: disk=20 accesses take milliseconds). Of course, the OS itself also does exactly = the same thing in a general way, and FreeBSD is already very good in this= =20 respect. Caching software however gives you more control over what gets= =20 cached and for how long, enabling you to tune this specific application = for maximum performance. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigECF6016D7D5E6D5C89AE0FDE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjfeMoACgkQ8Mjk52CukIyrswCfWjuor/UMlEofLjPCMnEkzxqQ N1IAoIIw0Y4Ay48yuXTnwrmvpnXcZ+IE =Ba6b -----END PGP SIGNATURE----- --------------enigECF6016D7D5E6D5C89AE0FDE-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 13:30:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B28C4106568F for ; Sun, 28 Sep 2008 13:30:03 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by mx1.freebsd.org (Postfix) with ESMTP id 21CF08FC0A for ; Sun, 28 Sep 2008 13:30:02 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080928133001.EQID2285.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sun, 28 Sep 2008 14:30:01 +0100 Received: from catflap.slightlystrange.org ([82.21.101.171]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20080928133001.IRSY18637.aamtaout04-winn.ispmail.ntl.com@catflap.slightlystrange.org> for ; Sun, 28 Sep 2008 14:30:01 +0100 Received: by catflap.slightlystrange.org (Postfix, from userid 106) id B7B8D6478; Sun, 28 Sep 2008 14:29:55 +0100 (BST) Received: from torus.slightlystrange.org (torus.slightlystrange.org [10.1.3.50]) by catflap.slightlystrange.org (Postfix) with SMTP id 49B1C646F for ; Sun, 28 Sep 2008 14:29:55 +0100 (BST) Received: by torus.slightlystrange.org (sSMTP sendmail emulation); Sun, 28 Sep 2008 14:29:55 +0100 From: "Daniel Bye" Date: Sun, 28 Sep 2008 14:29:55 +0100 To: freebsd-questions@freebsd.org Message-ID: <20080928132954.GD2945@torus.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <48DD0692.4070006@gmail.com> <20080926184429.GA77364@torus.slightlystrange.org> <48DD5EAD.3030101@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mSxgbZZZvrAyzONB" Content-Disposition: inline In-Reply-To: <48DD5EAD.3030101@gmail.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 7.1-PRERELEASE i386 X-Cloudmark-Analysis: v=1.0 c=1 a=m6K6cMTj36gA:10 a=F0SFK3pZSAgA:10 a=ehNlctqhnw0A:10 a=BTw0EeY6LJJ86KVOtRsA:9 a=8UiPq81U6fdvevXLjLMOKfU-2ZQA:4 a=LY0hPdMaydYA:10 a=yQiYjKQNZqcIbLfphR8A:9 a=zhGNOOUnLirXc2chuX17oogl8GQA:4 a=rPt6xJ-oxjAA:10 Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card 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: Sun, 28 Sep 2008 13:30:03 -0000 --mSxgbZZZvrAyzONB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: > Daniel Bye wrote: > >On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote: > >>Hi all, > >> > >>I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card. > >>Everything was OK sometime before, but after a series updated on ports,= =20 > >>( I am not sure about the time, I have not use OpenGL stuff for long=20 > >>time) running a program with OpenGL will cause the X crashed. > > > >[ -- snip -- ] > > > >>The last crash is when I choose a OpenGL screensaver. > >> > >>The ports is updated nearly daily, and I think this may happen after=20 > >>sometime after I updated the latest nVidia-driver. > >> > >>Any ideas about this problem? > > > >Try reinstalling the nVidia driver port. It installs its own GL libs, > >which may have been replaced by another port, depending on the order in > >which your ports were updated. Reinstalling should ensure you have the > >correct libs in the correct place... > > > >Dan > > >=20 > Thanks for reply Daniel. >=20 > I have re-installed the nvidia-driver and tested OpenGL - Crash again. > So it seems not the case... Rats! Sorry that didn't help. One other thing occurs to me - you mentioned you updated some ports. Have you also updated your system source tree without doing a full buildworld cycle? If so, chances are that your nVidia driver is built against a=20 different version of the kernel source than the running kernel. Although any differences will be minimal, there is a chance that something changed= =20 enough to upset the driver. Failing that, all I can suggest is that you keep an eye on your console and see if the driver emits any messages just before it chokes. Good luck! Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --mSxgbZZZvrAyzONB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjfhtIACgkQixf5fBYiFmqKsACgr/aJMlxInTY5plqY2sFRWfQT 9KAAoJIM94wJxvq+QbpxqUH+wbPR5CIq =Kz2Z -----END PGP SIGNATURE----- --mSxgbZZZvrAyzONB-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 13:32:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E4BE1065692 for ; Sun, 28 Sep 2008 13:32:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 419B58FC14 for ; Sun, 28 Sep 2008 13:32:28 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 43B11AFBC02; Sun, 28 Sep 2008 05:32:27 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Sun, 28 Sep 2008 15:32:07 +0200 User-Agent: KMail/1.9.7 References: <48DF181B.8050402@stupar.homelinux.net> In-Reply-To: <48DF181B.8050402@stupar.homelinux.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809281532.07941.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: Kernel messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 13:32:28 -0000 On Sunday 28 September 2008 07:37:31 Sasa Stupar wrote: > Runing FBSD 7 amd64. I have noticed in my cron security output: > "+rtfree: 0xffffff0001424c30 has 1 refs" > > There are sometimes only a few lines, but sometimes there are 100 lines > or more (all exactly the same). > > I didn't find anything on the net (google) so I am asking here. Really? http://www.google.com/bsd?num=30&hl=en&safe=off&q=rtfree In short it's a driver bug, a driver doesn't use proper macros to manage routing tables and the refcount goes bad. Report the error on -net and/or do a send-pr with netstat -r output. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 13:54:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E7251065677 for ; Sun, 28 Sep 2008 13:54:39 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 025648FC0A for ; Sun, 28 Sep 2008 13:54:38 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id E1129EBC09; Sun, 28 Sep 2008 09:54:37 -0400 (EDT) Date: Sun, 28 Sep 2008 09:54:36 -0400 From: Bill Moran To: "Danny Do" Message-Id: <20080928095436.3c9783c2.wmoran@potentialtech.com> In-Reply-To: <00d101c92154$691f53c0$3b5dfb40$@com> References: <00d101c92154$691f53c0$3b5dfb40$@com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 13:54:39 -0000 "Danny Do" wrote: > > Hi guys, > > I have this problem for years but couldn't find a way to solve it. > > I have a file server handling large files from 1MByte to 1GByte. > > Server Info: > FreeBSD 6.2 > Apache 2.2.9 > > DELL PowerEdge 1850 > 2GB RAM (only 184MB is active) > 6x300MB SCSI 10K RPM RAID5 > Gigabit Ethernet Connection > > My server can output NO MORE than 60Mbps (read only). > > The bottle neck is the hard disk. What evidence do you have that the bottleneck is disk IO? I've seen no evidence, only speculation. In addition to the advice of others, you may be able to just beef up the RAM. 2G isn't much these days. If you've got 200M active, you've got about 1.8G available to cache files. If you have repeated access of the same file, the OS can cache that file data and not even use the disk, but it can only do that if it has enough RAM to work with. You need to get your facts straight, though. According to the specs you've got above, you've only got 1.5G of disk. I expect you meant 300G disks. You could also add disks in a RAID 10, which is generally faster than RAID 5, or move to 15,000 RPM disks. I think you might be surprised how much adding some RAM will help, though, unless your access patterns are very random, RAM should speed up the access of popular data significantly. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 14:21:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFE111065695 for ; Sun, 28 Sep 2008 14:21:38 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id B29048FC2B for ; Sun, 28 Sep 2008 14:21:38 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1668651wfg.7 for ; Sun, 28 Sep 2008 07:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3VEgXlCvuMISi6mnS1onLh9lfBbZhZ7+Xi29dNSOq0M=; b=o70OQSFnWkO7B87FpRLH0Nd/ZaMbaRYm+E2RvMr41BdtriDuzHPnzaQsJFLznqioOn h0SEHINyXc4nx4sHUs9wlXAH/M+dPNisn02mxq8MRveaewTMAmZBFIgR2Ei/nMQzNhat AiJ11Q6Ze+UTpBj2qgWJHX7RyoQxVSf+/Tf24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=g2v5qXjU4BfOrQZFz3u4fSg3NUQguUBj9TaytZRODPXfeSponn2Mpuqj00Dswbq7fR j4bUyoZRKC8+eJE69V/Q5bIwZBJakUwk/yTWy+cfFMbzhw+6dY8/rmt4xhdlD5UfbSAr UnXMlJ3+6pF0zM6OKb3MiG3tchPNs0eUGBbzk= Received: by 10.142.70.11 with SMTP id s11mr1670094wfa.293.1222611698435; Sun, 28 Sep 2008 07:21:38 -0700 (PDT) Received: by 10.142.240.12 with HTTP; Sun, 28 Sep 2008 07:21:38 -0700 (PDT) Message-ID: <3b93bd110809280721g7c4a27afkc39649996c1a3cf8@mail.gmail.com> Date: Sun, 28 Sep 2008 09:21:38 -0500 From: "Diego F. Arias R." To: "Bill Moran" In-Reply-To: <20080928095436.3c9783c2.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00d101c92154$691f53c0$3b5dfb40$@com> <20080928095436.3c9783c2.wmoran@potentialtech.com> Cc: freebsd-questions@freebsd.org, Danny Do Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 14:21:39 -0000 First be shure your bottleneck are the hard drives. On Sun, Sep 28, 2008 at 8:54 AM, Bill Moran wrote: > "Danny Do" wrote: >> >> Hi guys, >> >> I have this problem for years but couldn't find a way to solve it. >> >> I have a file server handling large files from 1MByte to 1GByte. >> >> Server Info: >> FreeBSD 6.2 >> Apache 2.2.9 >> >> DELL PowerEdge 1850 >> 2GB RAM (only 184MB is active) >> 6x300MB SCSI 10K RPM RAID5 >> Gigabit Ethernet Connection >> >> My server can output NO MORE than 60Mbps (read only). >> >> The bottle neck is the hard disk. > > What evidence do you have that the bottleneck is disk IO? I've seen no > evidence, only speculation. > > In addition to the advice of others, you may be able to just beef up the > RAM. 2G isn't much these days. If you've got 200M active, you've got > about 1.8G available to cache files. If you have repeated access of the > same file, the OS can cache that file data and not even use the disk, but > it can only do that if it has enough RAM to work with. You need to get > your facts straight, though. According to the specs you've got above, > you've only got 1.5G of disk. I expect you meant 300G disks. > > You could also add disks in a RAID 10, which is generally faster than > RAID 5, or move to 15,000 RPM disks. I think you might be surprised how > much adding some RAM will help, though, unless your access patterns are > very random, RAM should speed up the access of popular data significantly. > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- mmm, interesante..... From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 14:50:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC2611065690 for ; Sun, 28 Sep 2008 14:50:11 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc3-s7.bay0.hotmail.com (bay0-omc3-s7.bay0.hotmail.com [65.54.246.207]) by mx1.freebsd.org (Postfix) with ESMTP id AF5398FC1F for ; Sun, 28 Sep 2008 14:50:11 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.19]) by bay0-omc3-s7.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 28 Sep 2008 07:33:06 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 28 Sep 2008 07:33:05 -0700 Message-ID: Received: from 123.20.6.120 by BAY139-DAV9.phx.gbl with DAV; Sun, 28 Sep 2008 14:33:04 +0000 X-Originating-IP: [123.20.6.120] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Matthew Seaman'" References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> In-Reply-To: <48DF78C3.9080401@infracaninophile.co.uk> Date: Sun, 28 Sep 2008 21:32:03 +0700 Message-ID: <011d01c92176$f9cba460$ed62ed20$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AckhZgKNTLCGsnMqQ9iDdNrg254KHgADeRhQ Content-Language: en-au X-OriginalArrivalTime: 28 Sep 2008 14:33:05.0329 (UTC) FILETIME=[1E7FDA10:01C92177] Cc: freebsd-questions@freebsd.org Subject: RE: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 14:50:12 -0000 Hi Matthew & Wojciech Puchar and others, First of all, I'd like to correct one mistyped: - I got 6x300GB SCSI 10K RPM hard drive. - Most of my files are about 100MB, many as big as 1GB. - Caching is not an option. Thanks for the advices but caching is not an option for me as most of my files are about 100MB, many files are as big as 1GB. I tried Lighty a few years ago but it doesn't help. The problem I think is disk seek. If I can reduce disk seek by increasing read buffer, I think problem would be solved. I am thinking of trying Wojciech Puchar method by patching the kernel with the following code: patch /usr/src/sys/sys/param.h #ifndef DFLTPHYS #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS I'll update the result. I'll tell you how I go. Maybe sometimes in the next fortnight. Thanks everyone, thanks Wojciech Puchar, Danny -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Matthew Seaman Sent: Sunday, 28 September 2008 7:30 PM To: Danny Do Cc: freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. Danny Do wrote: > Hi guys, > > > > I have this problem for years but couldn't find a way to solve it. > > I have a file server handling large files from 1MByte to 1GByte. > > Server Info: > FreeBSD 6.2 > Apache 2.2.9 > > DELL PowerEdge 1850 > 2GB RAM (only 184MB is active) > 6x300MB SCSI 10K RPM RAID5 > Gigabit Ethernet Connection > > My server can output NO MORE than 60Mbps (read only). > > The bottle neck is the hard disk. If I use ONE connection to download > file from my server, the speed can go up to about 400Mbps. > > If I let visitors download using multiple connections, the server > cannot output more than 60Mbps. > > My service is similar to rapidshare/megaupload, I am wondering how > they configure their servers? > > If I recall correctly, it doesn't cost much time to read the data from > the disk but it does cost a lot of time to seek for the data. Correct > me if I am wrong, if I increase the read buffer size, there would be > less disk seek (disk access). Let's say the read buffer is 64K, if I > increase it to 640K, the disk seek would reduce by 90%. Thus, more > data can be read from the hard drive. > > What should I do now? Try some different webservers. Apache is great, but it is designed to be maximally flexible and capable of doing anything you can imagine rather than to be absolutely as fast as possible. There are some light-weight servers which have put work into optimizing delivery of static content -- usually spoken of in the context of serving images but any static files will be suitable material. Personally, I really like nginx for this. Lots of people go for lighttpd and there are a number of other alternatives in ports. Also, depending on exactly how much content you have to serve and whether certain items are very much more popular than others, a reverse proxy / memory cache (a.k.a http accelerator) may help. varnish is the obvious candidate here, but you'll have to experiment a bit to see what the optimal settings are and if it actually helps at all. If your website runs using a scripting language such as PHP, then another possibility is memcached -- although described as a cache for dynamically generated pages, it can cache just about anything, but you will need some sort of scripting language to interface to it from your web server. There are memcached APIs for all popular languages and probably a few you've never heard of... The various caching strategies basically work because they keep recently accessed files in RAM, avoiding an expensive round-trip to the HDD to retrieve the data (memory access takes nano- or micro- seconds: disk accesses take milliseconds). Of course, the OS itself also does exactly the same thing in a general way, and FreeBSD is already very good in this respect. Caching software however gives you more control over what gets cached and for how long, enabling you to tune this specific application for maximum performance. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 15:00:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DCB1106568B for ; Sun, 28 Sep 2008 15:00:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id F04C48FC12 for ; Sun, 28 Sep 2008 15:00:02 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SExsOn096915; Sun, 28 Sep 2008 16:59:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SExr1c096912; Sun, 28 Sep 2008 16:59:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 16:59:53 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20080928165534.X96877@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: RE: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 15:00:05 -0000 > the following code: > > patch /usr/src/sys/sys/param.h > > #ifndef DFLTPHYS > #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size > */ > #endif > #ifndef MAXPHYS > #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ > #endif > #ifndef MAXDUMPPGS > > I'll update the result. I'll tell you how I go. Maybe sometimes in the next > fortnight. > > Thanks everyone, thanks Wojciech Puchar, after you recompile the kernel with that patch, check your disk performance in some directory consisting of many large files cd that_dir for x in *;do (cat $x >/dev/null &);done while running systat,:vmstat on another console i've just did this on one of my systems, with ONE 500GB SATA drive and with geli encryption. got 48MB/s and about 50% CPU load with core2 duo. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 15:01:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C6CD1065687 for ; Sun, 28 Sep 2008 15:01:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9E88FC14 for ; Sun, 28 Sep 2008 15:01:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SF1KEh096943; Sun, 28 Sep 2008 17:01:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SF1Kq4096940; Sun, 28 Sep 2008 17:01:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 17:01:20 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20080928170001.E96919@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: RE: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 15:01:28 -0000 > #ifndef MAXDUMPPGS > > I'll update the result. I'll tell you how I go. Maybe sometimes in the next > fortnight. > > Thanks everyone, thanks Wojciech Puchar, > > Danny anyway - how your RAID5 is configured? didn't you selected SMALL stripe sizes? this way - every large read uses 3 disks in parallel, instead of spreading multiple reads on multiple disks. RAID5 performance is high on reads, when configured properly, and when the RAID solution is right. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:17:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91797106575F for ; Sun, 28 Sep 2008 16:17:15 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 637618FC15 for ; Sun, 28 Sep 2008 16:17:15 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from working (pool-72-95-226-5.pitbpa.ftas.verizon.net [72.95.226.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 53051EBC09; Sun, 28 Sep 2008 12:17:14 -0400 (EDT) Date: Sun, 28 Sep 2008 12:17:13 -0400 From: Bill Moran To: Wojciech Puchar Message-Id: <20080928121713.5c905a40.wmoran@potentialtech.com> In-Reply-To: <20080928165534.X96877@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> <20080928165534.X96877@wojtek.tensor.gdynia.pl> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Danny Do , freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 16:17:15 -0000 Wojciech Puchar wrote: > > after you recompile the kernel with that patch, check your disk > performance in some directory consisting of many large files > > cd that_dir > for x in *;do (cat $x >/dev/null &);done > > while running systat,:vmstat on another console More specifically, do this before and after you make the change, to demonstrate whether or not you actually fixed the problem. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:25:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5D40106568E for ; Sun, 28 Sep 2008 16:25:22 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id A55BA8FC0A for ; Sun, 28 Sep 2008 16:25:22 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1573037rvf.43 for ; Sun, 28 Sep 2008 09:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=mdXiNpV3M+neEoKiGbQcfg3wTqeqOZ3dL0z2S9GC0co=; b=UsYkWysCBpEU8uEF4TiPjMJWuXlVHAW8rLxP4FcnXNb7Eqre7hvdir4UWSankgZ6qq fXLtIvmRVwojHnq/Ez3Ij7tm80phA4+J9q94lfTbQcLBruqNnSaWWqKEk2oOc8fh2P9b SACy8VmLW3FMlTFtdZNIVYj+AQpdocSpArrS0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RytPldMDSO5YCuGPxIIBFJj7s4ZviXL+4YbwztJ3pWjChXhwOhSUOmYGkhR2/ipcLW k18jI5iDbtWkUh+f9NXQFTdjLFJNF1BCMxPyVVDVKr60cdHYAtcVBzcGwQuCj/jDkzPA C7guHaGLJzbO42YwFzU6Kfnm1m61+/Tw7DdJA= Received: by 10.142.179.12 with SMTP id b12mr1717942wff.282.1222619122505; Sun, 28 Sep 2008 09:25:22 -0700 (PDT) Received: by 10.142.240.12 with HTTP; Sun, 28 Sep 2008 09:25:17 -0700 (PDT) Message-ID: <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> Date: Sun, 28 Sep 2008 11:25:17 -0500 From: "Diego F. Arias R." To: "Bill Moran" In-Reply-To: <20080928121713.5c905a40.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> <20080928165534.X96877@wojtek.tensor.gdynia.pl> <20080928121713.5c905a40.wmoran@potentialtech.com> Cc: Wojciech Puchar , Danny Do , freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 16:25:22 -0000 On Sun, Sep 28, 2008 at 11:17 AM, Bill Moran wrote: > Wojciech Puchar wrote: >> >> after you recompile the kernel with that patch, check your disk >> performance in some directory consisting of many large files >> >> cd that_dir >> for x in *;do (cat $x >/dev/null &);done >> >> while running systat,:vmstat on another console > > More specifically, do this before and after you make the change, to > demonstrate whether or not you actually fixed the problem. > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > do you check gstat? If the patch dont works, maybe yoy may try to split the raid (2 raid 5) or better use a raid 10. The raid 5 isnt a top performance raid. -- mmm, interesante..... From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:35:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97B6C106568E for ; Sun, 28 Sep 2008 16:35:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7978FC12 for ; Sun, 28 Sep 2008 16:35:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SGYxau097346; Sun, 28 Sep 2008 18:34:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SGYwIZ097343; Sun, 28 Sep 2008 18:34:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 18:34:58 +0200 (CEST) From: Wojciech Puchar To: "Diego F. Arias R." In-Reply-To: <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> Message-ID: <20080928183445.X97342@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> <20080928165534.X96877@wojtek.tensor.gdynia.pl> <20080928121713.5c905a40.wmoran@potentialtech.com> <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Danny Do , Bill Moran , freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 16:35:06 -0000 > > If the patch dont works, maybe yoy may try to split the raid (2 raid > 5) or better use a raid 10. The raid 5 isnt a top performance raid. properly configured RAID5 is top performing on reads From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:36:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B26210656A6 for ; Sun, 28 Sep 2008 16:36:30 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from mail06.ifxnetworks.com (mail06.ifxnetworks.com [190.61.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0B28FC19 for ; Sun, 28 Sep 2008 16:36:29 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 28203 invoked from network); 28 Sep 2008 16:36:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail06.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=RDNS_NONE autolearn=disabled version=3.2.5 Received: from unknown (HELO quake) (dmw@unete.cl@[200.73.29.2]) (envelope-sender ) by mail06.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Sep 2008 16:36:28 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-questions@freebsd.org, Daniel Bye Date: Sun, 28 Sep 2008 12:36:17 -0400 User-Agent: KMail/1.9.7 References: <48DD0692.4070006@gmail.com> <48DD5EAD.3030101@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> In-Reply-To: <20080928132954.GD2945@torus.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1951751.3HjXvZ2P5M"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200809281236.21968.dmw@unete.cl> Cc: Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 16:36:30 -0000 --nextPart1951751.3HjXvZ2P5M Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 28 September 2008 09:29:55 Daniel Bye wrote: > On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: > > Daniel Bye wrote: > > >On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang=20 wrote: > > >>Hi all, > > >> > > >>I have a FreeBSD 7 Stable box with a nVidia 6150 Go > > >> Graphic Card. Everything was OK sometime before, but > > >> after a series updated on ports, ( I am not sure about > > >> the time, I have not use OpenGL stuff for long time) > > >> running a program with OpenGL will cause the X crashed. > > > > > >[ -- snip -- ] > > > > > >>The last crash is when I choose a OpenGL screensaver. > > >> > > >>The ports is updated nearly daily, and I think this may > > >> happen after sometime after I updated the latest > > >> nVidia-driver. > > >> > > >>Any ideas about this problem? > > > > > >Try reinstalling the nVidia driver port. It installs its > > > own GL libs, which may have been replaced by another > > > port, depending on the order in which your ports were > > > updated. Reinstalling should ensure you have the correct > > > libs in the correct place... > > > > > >Dan > > > > Thanks for reply Daniel. > > > > I have re-installed the nvidia-driver and tested OpenGL - > > Crash again. So it seems not the case... > > Rats! Sorry that didn't help. > > One other thing occurs to me - you mentioned you updated some > ports. Have you also updated your system source tree without > doing a full buildworld cycle? If so, chances are that your > nVidia driver is built against a different version of the > kernel source than the running kernel. Although any > differences will be minimal, there is a chance that something > changed enough to upset the driver. I was having similar problems with the nvidia driver on my 6.4-PRERELEASE machine. The solution was to remove agp and drm related drivers from the kernel configuration and setting: hw.nvidia.registry.EnableAGPFW=3D1 hw.nvidia.registry.EnableAGPSBA=3D1 In my sysctl.conf, and also setting: Option "NvAGP" "3" In my xorg.conf in the Screen section... The concrete problem -- not related with GL failures -- was system freezing with /sysctl -a/ command on terminal emulators=20 from X server. I hope it would help. > > Failing that, all I can suggest is that you keep an eye on > your console and see if the driver emits any messages just > before it chokes. > > Good luck! > > Dan Best regards, =2D-=20 .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD & Linux User | Standards Rocks! --nextPart1951751.3HjXvZ2P5M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkjfsoEACgkQbvV0HEsGCMSLMACggydJaXZ6yiHjrvgkFrH/AHHZ 1LoAnjpHHXb/LpcfeHpmfxntgs5qwPPd =9l88 -----END PGP SIGNATURE----- --nextPart1951751.3HjXvZ2P5M-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:38:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2812B106568B for ; Sun, 28 Sep 2008 16:38:34 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from mail07.ifxnetworks.com (mail07.ifxnetworks.com [190.61.128.57]) by mx1.freebsd.org (Postfix) with ESMTP id BBA238FC16 for ; Sun, 28 Sep 2008 16:38:33 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 24136 invoked from network); 28 Sep 2008 16:38:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail07.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=RDNS_NONE autolearn=disabled version=3.2.5 Received: from unknown (HELO quake) (dmw@unete.cl@[200.73.29.2]) (envelope-sender ) by mail07.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 28 Sep 2008 16:38:32 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-questions@freebsd.org Date: Sun, 28 Sep 2008 12:38:17 -0400 User-Agent: KMail/1.9.7 References: <200809280029.01141.dmw@unete.cl> In-Reply-To: <200809280029.01141.dmw@unete.cl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1332180.WNySHQXG0U"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200809281238.26706.dmw@unete.cl> Subject: Re: strange behavior after update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 16:38:34 -0000 --nextPart1332180.WNySHQXG0U Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 28 September 2008 00:29:01 Daniel Molina Wegener=20 wrote: > Hello, > > I have 4GB machine and after updating to 6.4-PRERELEASE using > 32bit intel based system. the complete system hangs if I do > a "sysctl -a" under X terminal emulators. Also, I get a > system hang during entropy harvesting. > > The "sysctl -a" command freezes while is displaying ACPI > information, I can't capture the output and I don't have any > core files... > > I'm running the nvidia-driver port with X11. > > Best regards and thanks... I reply to my self (in other similar thread): =2D----8<----------8<----------8<----------8<----- I was having similar problems with the nvidia driver on my 6.4-PRERELEASE machine. The solution was to remove agp and drm related drivers from the kernel configuration and setting: hw.nvidia.registry.EnableAGPFW=3D1 hw.nvidia.registry.EnableAGPSBA=3D1 In my sysctl.conf, and also setting: Option "NvAGP" "3" In my xorg.conf in the Screen section... The concrete problem -- not related with GL failures -- was system freezing with /sysctl -a/ command on terminal emulators=20 from X server. =2D----8<----------8<----------8<----------8<----- I hope it would help others... Regards to the list... =2D-=20 .O. | Daniel Molina Wegener | C/C++ Developer ..O | dmw [at] unete [dot] cl | FOSS Coding Adict OOO | FreeBSD & Linux User | Standards Rocks! --nextPart1332180.WNySHQXG0U Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkjfsvkACgkQbvV0HEsGCMSCuQCgsSCLQsUHdPzbCqujIdJ9bpVp 1SoAn0o6fzOVIV+pMIeHOiPiAN6E6ZyJ =Tgvs -----END PGP SIGNATURE----- --nextPart1332180.WNySHQXG0U-- From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 16:59:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15A4C1065697 for ; Sun, 28 Sep 2008 16:59:34 +0000 (UTC) (envelope-from Lokadamus@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 551EB8FC3C for ; Sun, 28 Sep 2008 16:59:33 +0000 (UTC) (envelope-from Lokadamus@gmx.de) Received: (qmail invoked by alias); 28 Sep 2008 16:59:31 -0000 Received: from c162146.adsl.hansenet.de (EHLO [213.39.162.146]) [213.39.162.146] by mail.gmx.net (mp039) with SMTP; 28 Sep 2008 18:59:31 +0200 X-Authenticated: #3333826 X-Provags-ID: V01U2FsdGVkX1/uMfgjrqruyaaS0b2/rE/KEvm+a1NlLMRCfVZ1bD 4bPhCqnjXC9cie Message-ID: <48DFB805.9050906@gmx.de> Date: Sun, 28 Sep 2008 18:59:49 +0200 From: Lokadamus User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Mike Price References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 Cc: freebsd-questions@freebsd.org Subject: Re: SSH FreeBSD SSH command-line command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 16:59:34 -0000 Mike Price wrote: > I am looking for a FreeBSD SSH command-line command that will forward all > TCP/UDP traffic through port: 53. > Then I need a plink or Cygwin MS-DOS command to tunnel all my XP traffic. > > please help... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > What will you do? VPN with SSH? OpenVPN is easy and you can use it with XP and Linux/*BSD and all TCP/ UDP traffic is going from one host to other host/ subnet. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 17:03:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E427A106568B for ; Sun, 28 Sep 2008 17:03:00 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc2-s35.bay0.hotmail.com (bay0-omc2-s35.bay0.hotmail.com [65.54.246.171]) by mx1.freebsd.org (Postfix) with ESMTP id C45C08FC17 for ; Sun, 28 Sep 2008 17:03:00 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.16]) by bay0-omc2-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 28 Sep 2008 10:03:00 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 28 Sep 2008 10:03:00 -0700 Message-ID: Received: from 123.20.6.120 by BAY139-DAV6.phx.gbl with DAV; Sun, 28 Sep 2008 17:02:56 +0000 X-Originating-IP: [123.20.6.120] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Diego F. Arias R.'" , "'Bill Moran'" References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> <20080928165534.X96877@wojtek.tensor.gdynia.pl> <20080928121713.5c905a40.wmoran@potentialtech.com> <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> In-Reply-To: <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> Date: Mon, 29 Sep 2008 00:01:51 +0700 Message-ID: <015201c9218b$e72df7d0$b589e770$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 thread-index: AckhhuUdnuVV4v6XTuyWeKYzd5qFCgAA/wPQ Content-Language: en-au X-OriginalArrivalTime: 28 Sep 2008 17:03:00.0580 (UTC) FILETIME=[10163A40:01C9218C] Cc: 'Wojciech Puchar' , freebsd-questions@freebsd.org Subject: RE: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 17:03:01 -0000 Hi Diego, The reason I use RAID5 because I don't want to waste too much space on = redundancy whilst taking the advantage of read. Over 99% of disk access = are expected to be reading.=20 I could split to 2xRAID5 but I will have difficulty with file management = later. Furthermore, the system would use 2 disks for parity. I don't = want to lose too much space. 300GB@10K SCSI disks are still very = expensive. :( -----Original Message----- From: owner-freebsd-questions@freebsd.org = [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Diego F. Arias = R. Sent: Sunday, 28 September 2008 11:25 PM To: Bill Moran Cc: Wojciech Puchar; Danny Do; freebsd-questions@freebsd.org Subject: Re: Hard disk bottle neck. On Sun, Sep 28, 2008 at 11:17 AM, Bill Moran = wrote: > Wojciech Puchar wrote: >> >> after you recompile the kernel with that patch, check your disk >> performance in some directory consisting of many large files >> >> cd that_dir >> for x in *;do (cat $x >/dev/null &);done >> >> while running systat,:vmstat on another console > > More specifically, do this before and after you make the change, to > demonstrate whether or not you actually fixed the problem. > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" > do you check gstat? If the patch dont works, maybe yoy may try to split the raid (2 raid 5) or better use a raid 10. The raid 5 isnt a top performance raid. --=20 mmm, interesante..... _______________________________________________ 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 Sep 28 17:14:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0138C1065686 for ; Sun, 28 Sep 2008 17:14:07 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BD6D18FC17 for ; Sun, 28 Sep 2008 17:14:06 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id AC677AFBC02; Sun, 28 Sep 2008 09:14:05 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, dmw@unete.cl Date: Sun, 28 Sep 2008 19:14:03 +0200 User-Agent: KMail/1.9.7 References: <48DD0692.4070006@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> <200809281236.21968.dmw@unete.cl> In-Reply-To: <200809281236.21968.dmw@unete.cl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809281914.04000.fbsd.questions@rachie.is-a-geek.net> Cc: Daniel Bye Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 17:14:07 -0000 On Sunday 28 September 2008 18:36:17 Daniel Molina Wegener wrote: > On Sunday 28 September 2008 09:29:55 Daniel Bye wrote: > > On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: > > > Daniel Bye wrote: > > > >On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang > > wrote: > > > >>Hi all, > > > >> > > > >>I have a FreeBSD 7 Stable box with a nVidia 6150 Go > > > >> Graphic Card. Everything was OK sometime before, but > > > >> after a series updated on ports, ( I am not sure about > > > >> the time, I have not use OpenGL stuff for long time) > > > >> running a program with OpenGL will cause the X crashed. > > > > > > > >[ -- snip -- ] > > > > > > > >>The last crash is when I choose a OpenGL screensaver. > > > >> > > > >>The ports is updated nearly daily, and I think this may > > > >> happen after sometime after I updated the latest > > > >> nVidia-driver. > > > >> > > > >>Any ideas about this problem? > > > > > > > >Try reinstalling the nVidia driver port. It installs its > > > > own GL libs, which may have been replaced by another > > > > port, depending on the order in which your ports were > > > > updated. Reinstalling should ensure you have the correct > > > > libs in the correct place... > > > > > > > >Dan > > > > > > Thanks for reply Daniel. > > > > > > I have re-installed the nvidia-driver and tested OpenGL - > > > Crash again. So it seems not the case... > > > > Rats! Sorry that didn't help. > > > > One other thing occurs to me - you mentioned you updated some > > ports. Have you also updated your system source tree without > > doing a full buildworld cycle? If so, chances are that your > > nVidia driver is built against a different version of the > > kernel source than the running kernel. Although any > > differences will be minimal, there is a chance that something > > changed enough to upset the driver. > > I was having similar problems with the nvidia driver on my > 6.4-PRERELEASE machine. > > The solution was to remove agp and drm related drivers from > the kernel configuration and setting: > > hw.nvidia.registry.EnableAGPFW=1 > hw.nvidia.registry.EnableAGPSBA=1 > > In my sysctl.conf, and also setting: > > Option "NvAGP" "3" > > In my xorg.conf in the Screen section... > > The concrete problem -- not related with GL failures -- was > system freezing with /sysctl -a/ command on terminal emulators > from X server. I'm interested to see if this helps, since he has a 'Go' card, meaning laptop, most likely no AGP. These OpenGL apps, are they native or linux? Try games/apoolGL, for a lightweight native OpenGL app. I have very bad performance (fps <10) with linux games, under fc6, that run fine under fc4. No crashes, though. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 17:30:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 273611065686 for ; Sun, 28 Sep 2008 17:30:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3F2298FC14 for ; Sun, 28 Sep 2008 17:30:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8SHUb7Z097517; Sun, 28 Sep 2008 19:30:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8SHUZ1E097514; Sun, 28 Sep 2008 19:30:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 28 Sep 2008 19:30:35 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20080928193017.P97512@wojtek.tensor.gdynia.pl> References: <00d101c92154$691f53c0$3b5dfb40$@com> <48DF78C3.9080401@infracaninophile.co.uk> <20080928165534.X96877@wojtek.tensor.gdynia.pl> <20080928121713.5c905a40.wmoran@potentialtech.com> <3b93bd110809280925i2a99efd7qf733658d7c23fd74@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "'Diego F. Arias R.'" , 'Bill Moran' , freebsd-questions@freebsd.org Subject: RE: Hard disk bottle neck. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 28 Sep 2008 17:30:44 -0000 > The reason I use RAID5 because I don't want to waste too much space on redundancy whilst taking the advantage of read. Over 99% of disk access are expected to be reading. in that case - RAID5 is perfect, just properly set up. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 20:30:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 708D11065692 for ; Sun, 28 Sep 2008 20:30:04 +0000 (UTC) (envelope-from fbsd.kdang@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id F2F478FC21 for ; Sun, 28 Sep 2008 20:30:03 +0000 (UTC) (envelope-from fbsd.kdang@googlemail.com) Received: by ug-out-1314.google.com with SMTP id m2so237655uge.39 for ; Sun, 28 Sep 2008 13:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=UXQJdREbmnQvyKpoPHYkSbG8zR3ja9ZKGP07j4K7sbk=; b=Ykc00yjUA4XDvTcu3030iePj67u6YSecH4p8fDxgCJ6xnTE18aYr6ykTJ38zHKcWj3 i1/jlV7Tk+b3f2x6kMYmSxSvG6ljfSo3SsJH628U3BCv9DJSX/x+vYhIf2MPpicX/Rhy 1t8GOfyT72CU2DhqzPlGoX+r6rm0U7mdixcFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=Ufl/BxrkX2gxnYISusXaoM9uySuShBzzi2BKfVhcJ9Rrig5SKgoLmLbbxEMvvrwrBF drWmSxi9NtBrlinZ28qWTV6C5Rsxwan7a2YeeS2blUWwwjth6XlvsjudKkHjY6jaIaJt xvy7lQ7m8oSh6qhuxnif49l/T2YVglRqf+CJE= Received: by 10.66.222.6 with SMTP id u6mr614572ugg.21.1222633802681; Sun, 28 Sep 2008 13:30:02 -0700 (PDT) Received: from kemian.inf.ed.ac.uk (87-194-156-73.bethere.co.uk [87.194.156.73]) by mx.google.com with ESMTPS id b35sm2121840ugd.52.2008.09.28.13.30.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Sep 2008 13:30:01 -0700 (PDT) Message-ID: <48DFE94E.9010703@gmail.com> Date: Sun, 28 Sep 2008 21:30:06 +0100 User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48DD0692.4070006@gmail.com> <20080926184429.GA77364@torus.slightlystrange.org> <48DD5EAD.3030101@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> In-Reply-To: <20080928132954.GD2945@torus.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Kemian Dang Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 20:30:04 -0000 Daniel Bye wrote: > On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: >> Daniel Bye wrote: >>> On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang wrote: >>>> Hi all, >>>> >>>> I have a FreeBSD 7 Stable box with a nVidia 6150 Go Graphic Card. >>>> Everything was OK sometime before, but after a series updated on ports, >>>> ( I am not sure about the time, I have not use OpenGL stuff for long >>>> time) running a program with OpenGL will cause the X crashed. >>> [ -- snip -- ] >>> >>>> The last crash is when I choose a OpenGL screensaver. >>>> >>>> The ports is updated nearly daily, and I think this may happen after >>>> sometime after I updated the latest nVidia-driver. >>>> >>>> Any ideas about this problem? >>> Try reinstalling the nVidia driver port. It installs its own GL libs, >>> which may have been replaced by another port, depending on the order in >>> which your ports were updated. Reinstalling should ensure you have the >>> correct libs in the correct place... >>> >>> Dan >>> >> Thanks for reply Daniel. >> >> I have re-installed the nvidia-driver and tested OpenGL - Crash again. >> So it seems not the case... > > Rats! Sorry that didn't help. > > One other thing occurs to me - you mentioned you updated some ports. Have > you also updated your system source tree without doing a full buildworld > cycle? If so, chances are that your nVidia driver is built against a > different version of the kernel source than the running kernel. Although > any differences will be minimal, there is a chance that something changed > enough to upset the driver. > > Failing that, all I can suggest is that you keep an eye on your console > and see if the driver emits any messages just before it chokes. > > Good luck! > > Dan > I csuped and re-built the world before sending the question. And there is nothing in the console... Thanks, Kemian From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 20:46:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625CC106568F for ; Sun, 28 Sep 2008 20:46:39 +0000 (UTC) (envelope-from divers@lecuire.eu) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id EB5698FC25 for ; Sun, 28 Sep 2008 20:46:38 +0000 (UTC) (envelope-from divers@lecuire.eu) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by postfix1-g20.free.fr (Postfix) with ESMTP id BC74E2B58BCF for ; Sun, 28 Sep 2008 22:17:19 +0200 (CEST) Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 1012517B5AB for ; Sun, 28 Sep 2008 22:17:18 +0200 (CEST) Received: from [192.168.0.52] (mlr78-1-82-232-211-4.fbx.proxad.net [82.232.211.4]) by smtp3-g19.free.fr (Postfix) with ESMTP id D50A617B53E for ; Sun, 28 Sep 2008 22:17:17 +0200 (CEST) Message-ID: <48DFE650.2060002@lecuire.eu> Date: Sun, 28 Sep 2008 22:17:20 +0200 From: Bernard Lecuire User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freeBSD References: <48A4A3B5.5040207@lecuire.eu> <1218753350.18585.14.camel@localhost> In-Reply-To: <1218753350.18585.14.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Another No disks found during 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: Sun, 28 Sep 2008 20:46:39 -0000 sergio lenzi a écrit : > Em Qui, 2008-08-14 às 23:29 +0200, Bernard Lecuire escreveu: >> Hello, >> I have a problem with the installation. >> I choose country, keyboard and then I can not continue installation, >> because it says "No disks found! Please verify that your disk controller is being..." >> >> Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeForce 7050, sata-500 >> >> Here is what i get during boot sequence: >> >> (...cut...) >> hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) >> (...cut...) >> atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 >> ata0: on atapci0 >> ata0: [ITHREAD] >> ata1: on atapci0 >> ata1: [ITHREAD] >> (...cut...) >> >> I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, and 4-5 Linux distros. >> Anyone an idea? >> Bernard >> >> > In my country (Brazil) you could go to the shop > before 7 days passed after you bought this "*%$$@" and > change for a TRUE notebook .... HP, Asus, toshiba, LG.. with no > questions asked... > > I think that ACER makes their hardware to work only for windows vista.... > and works very bad indeed... > please stay away from those "&#%###" > I do not see any good thing in ACER..... > 1) they do not care about customers, > 2) the main board is stripped down to a minimum > 3) the bios is "unique" totally out of any convension and > always buggy.... > 4) the battery has fewer cells... > 5) the wireless is poor... > > Only the price is good... but compare it with a good notebook, > you will see that those 200 dollars less that you pay for an acer > is TOO expensive... > Even using windows, you will spend that more by the time you > will need an anti-virus + an office pack... > > In 6 more months, acer will drop down that line and you will > not find any replacement part of it... Like many things done > in asia, it is only a "toy".... > Want a good notebook??? buy an apple book... in an apple > store you can buy a good one for about 1200 dollars.... > 13 inches, dual core, 1gb of memory 120gb of disk.... > everything works... even Leopard.... > > > > Sergio > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org " >> Good diagnosis. I changed the motherboard (to Asus), and now it works! Bye Bernard From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 21:49:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B3C41065687 for ; Sun, 28 Sep 2008 21:49:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 53E808FC08 for ; Sun, 28 Sep 2008 21:49:05 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kk48W-0006w3-0f for freebsd-questions@freebsd.org; Sun, 28 Sep 2008 14:49:04 -0700 Message-ID: <19715853.post@talk.nabble.com> Date: Sun, 28 Sep 2008 14:49:04 -0700 (PDT) From: zill To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: yahn15@hotmail.com Subject: Mouse not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 21:49:05 -0000 Moused recognizes my mouse and the Xorg -configure test also recognizes my mouse, but when I run startx it does not recognize my mouse. I have a Microsoft wireless optical mouse that plugs into a USB port. Does anyone know how to work around this? -- View this message in context: http://www.nabble.com/Mouse-not-working-tp19715853p19715853.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 22:07:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBF391065686 for ; Sun, 28 Sep 2008 22:07:27 +0000 (UTC) (envelope-from fbsd.kdang@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 444C28FC1E for ; Sun, 28 Sep 2008 22:07:26 +0000 (UTC) (envelope-from fbsd.kdang@googlemail.com) Received: by ug-out-1314.google.com with SMTP id m2so245744uge.39 for ; Sun, 28 Sep 2008 15:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding:from; bh=AI1mivP+rzFVWaK5SFCrhRbRsmnCDAbH+V271GiNyAo=; b=shiFNVpTU9Rl8ru6OfvIjSOILqqhBUXn7D+4QWXobQR0Pqif7j2VH1CYrCuy4C9Oc7 VA3z/yweIrAuVdeW1h8Z5rVgJntTjo5qa6aUHbiS3iag2obAMdXYER5fxPyXZ71IWZcV MTVPHnUJMqY1+dSID4qyqTpX9TXIKfRTfDWzM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding:from; b=nVtjEeYKwBMvHp/DaLELBp1AIDA2MdHaDnFpp/VkRRoZStvHDbWu9CNxP22QP/+sNy /ehbiF6bdNZVmyl3zyeopcR7UG9udOetYf5lTTms1DXDKBPdo/O0irRjySEmPGcrXAOy bhM55UYcE2Vrc5vMhgUvBpDBNCC5WAjWk8Ejs= Received: by 10.66.245.2 with SMTP id s2mr662578ugh.80.1222639645785; Sun, 28 Sep 2008 15:07:25 -0700 (PDT) Received: from kemian.inf.ed.ac.uk (87-194-156-73.bethere.co.uk [87.194.156.73]) by mx.google.com with ESMTPS id 27sm2315208ugp.19.2008.09.28.15.07.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Sep 2008 15:07:24 -0700 (PDT) Message-ID: <48E00021.8010603@gmail.com> Date: Sun, 28 Sep 2008 23:07:29 +0100 User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: dmw@unete.cl References: <48DD0692.4070006@gmail.com> <48DD5EAD.3030101@gmail.com> <20080928132954.GD2945@torus.slightlystrange.org> <200809281236.21968.dmw@unete.cl> In-Reply-To: <200809281236.21968.dmw@unete.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Kemian Dang Cc: Daniel Bye , freebsd-questions@freebsd.org Subject: Re: OpenGL things crash X in FB7-Stable, nVidia Card X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 22:07:27 -0000 Daniel Molina Wegener wrote: > On Sunday 28 September 2008 09:29:55 Daniel Bye wrote: >> On Fri, Sep 26, 2008 at 11:14:05PM +0100, Kemian Dang wrote: >>> Daniel Bye wrote: >>>> On Fri, Sep 26, 2008 at 04:58:10PM +0100, Kemian Dang > wrote: >>>>> Hi all, >>>>> >>>>> I have a FreeBSD 7 Stable box with a nVidia 6150 Go >>>>> Graphic Card. Everything was OK sometime before, but >>>>> after a series updated on ports, ( I am not sure about >>>>> the time, I have not use OpenGL stuff for long time) >>>>> running a program with OpenGL will cause the X crashed. >>>> [ -- snip -- ] >>>> >>>>> The last crash is when I choose a OpenGL screensaver. >>>>> >>>>> The ports is updated nearly daily, and I think this may >>>>> happen after sometime after I updated the latest >>>>> nVidia-driver. >>>>> >>>>> Any ideas about this problem? >>>> Try reinstalling the nVidia driver port. It installs its >>>> own GL libs, which may have been replaced by another >>>> port, depending on the order in which your ports were >>>> updated. Reinstalling should ensure you have the correct >>>> libs in the correct place... >>>> >>>> Dan >>> Thanks for reply Daniel. >>> >>> I have re-installed the nvidia-driver and tested OpenGL - >>> Crash again. So it seems not the case... >> Rats! Sorry that didn't help. >> >> One other thing occurs to me - you mentioned you updated some >> ports. Have you also updated your system source tree without >> doing a full buildworld cycle? If so, chances are that your >> nVidia driver is built against a different version of the >> kernel source than the running kernel. Although any >> differences will be minimal, there is a chance that something >> changed enough to upset the driver. > > I was having similar problems with the nvidia driver on my > 6.4-PRERELEASE machine. > > The solution was to remove agp and drm related drivers from > the kernel configuration and setting: > > hw.nvidia.registry.EnableAGPFW=1 > hw.nvidia.registry.EnableAGPSBA=1 > > In my sysctl.conf, and also setting: > > Option "NvAGP" "3" > > In my xorg.conf in the Screen section... > > The concrete problem -- not related with GL failures -- was > system freezing with /sysctl -a/ command on terminal emulators > from X server. > > I hope it would help. > >> Failing that, all I can suggest is that you keep an eye on >> your console and see if the driver emits any messages just >> before it chokes. >> >> Good luck! >> >> Dan > > > Best regards, Does not work. I have removed the agp in kernel(there is no drm in my kernel), set the sysctl.conf and the xorg.conf. Recompiled and restarted my laptop. Xorg still crashed when I selecting the OpenGL Screen Saver. I can use sysctl -a, here is the result: 11:05pm kemian ~> sysctl -a |grep nvidia hw.nvidia.version: NVIDIA UNIX x86 Kernel Module 173.14.12 Thu Jul 17 18:06:02 PDT 2008 hw.nvidia.registry.EnableVia4x: 0 hw.nvidia.registry.EnableALiAGP: 0 hw.nvidia.registry.NvAGP: 1 hw.nvidia.registry.ReqAGPRate: 15 hw.nvidia.registry.EnableAGPSBA: 1 hw.nvidia.registry.EnableAGPFW: 1 hw.nvidia.registry.Mobile: 4294967295 hw.nvidia.registry.ResmanDebugLevel: 4294967295 hw.nvidia.registry.RmLogonRC: 1 hw.nvidia.registry.ModifyDeviceFiles: 1 hw.nvidia.registry.DeviceFileUID: 0 hw.nvidia.registry.DeviceFileGID: 0 hw.nvidia.registry.DeviceFileMode: 438 hw.nvidia.registry.RemapLimit: 0 hw.nvidia.registry.UpdateMemoryTypes: 4294967295 hw.nvidia.registry.UseVBios: 1 hw.nvidia.registry.RMEdgeIntrCheck: 1 hw.nvidia.registry.UsePageAttributeTable: 4294967295 hw.nvidia.registry.dwords: hw.nvidia.cards.0.model: GeForce Go 6150 hw.nvidia.cards.0.irq: 21 hw.nvidia.cards.0.vbios: 05.51.28.52.25 hw.nvidia.cards.0.type: PCI dev.nvidia.0.%desc: GeForce Go 6150 dev.nvidia.0.%driver: nvidia dev.nvidia.0.%parent: vgapci0 BTW, I have tried games/apoolGL, crashed as it started. Thanks, Kemian From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 23:07:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 769D61065688 for ; Sun, 28 Sep 2008 23:07:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0DFC08FC08 for ; Sun, 28 Sep 2008 23:07:25 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m8SN7O6G022742; Mon, 29 Sep 2008 01:07:25 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A75C1B8E7; Mon, 29 Sep 2008 01:07:21 +0200 (CEST) Date: Mon, 29 Sep 2008 01:07:21 +0200 From: Roland Smith To: zill Message-ID: <20080928230721.GA50049@slackbox.xs4all.nl> References: <19715853.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline In-Reply-To: <19715853.post@talk.nabble.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Mouse not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 23:07:26 -0000 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 28, 2008 at 02:49:04PM -0700, zill wrote: >=20 > Moused recognizes my mouse and the Xorg -configure test also recognizes my > mouse, but when I run startx it does not recognize my mouse. >=20 > I have a Microsoft wireless optical mouse that plugs into a USB port. >=20 > Does anyone know how to work around this? Disable moused, or use /dev/sysmouse as the mouse device in X11. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjgDikACgkQEnfvsMMhpyWJlQCfcsj+yBtnGQxpOrJ4bZg4RmCF VQEAoJLIqPBZnLMu3kERmYLjFaa5IsAf =C2Mn -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 00:20:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52FE21065688 for ; Mon, 29 Sep 2008 00:20:05 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 217278FC13 for ; Mon, 29 Sep 2008 00:20:04 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1789695wfg.7 for ; Sun, 28 Sep 2008 17:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=xn3+LyxJP9Bgt+m/tfsUwgjAa9mr2MLtLdDZA3eXkbc=; b=roFpXYN7TeSrvouNZLtRqVDkAqVtawJzdkMnnKIhDoI3oS88Ark279DY0uSQ7r+BoU +DyyEIcE2NkypKNMrzr7ORwNY/rCeKt3D0PWFEacRsBvRB/5qq6W1EXCFa/JvXZ7P3FA LM4rANipMF2eo+9jEnX0/q/EgMdyUu77QfzCI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=K5OhxUO33ALcv3/YultMqM/ePQodW1KpngVmtaXV37lRaoXPjt5RZwyqqWJwulSnyh /MSl/HRQWW7MmMkBniviGJdgu1pyi5AYJuhY4+8Yl1cVkQJ1donLfEZyca0rXf8w82X+ tjX918L1NTMW+tNYR0rcmJiKdHZOgmmtuQdPA= Received: by 10.142.225.11 with SMTP id x11mr1901958wfg.156.1222647604616; Sun, 28 Sep 2008 17:20:04 -0700 (PDT) Received: by 10.142.185.6 with HTTP; Sun, 28 Sep 2008 17:20:04 -0700 (PDT) Message-ID: <28283d910809281720o3c50ba2atb2805534f184ab@mail.gmail.com> Date: Sun, 28 Sep 2008 20:20:04 -0400 From: "matt donovan" To: "Bernard Lecuire" In-Reply-To: <48DFE650.2060002@lecuire.eu> MIME-Version: 1.0 References: <48A4A3B5.5040207@lecuire.eu> <1218753350.18585.14.camel@localhost> <48DFE650.2060002@lecuire.eu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freeBSD Subject: Re: Another No disks found during 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: Mon, 29 Sep 2008 00:20:05 -0000 On Sun, Sep 28, 2008 at 4:17 PM, Bernard Lecuire wrote: > > sergio lenzi a =E9crit : > >> Em Qui, 2008-08-14 =E0s 23:29 +0200, Bernard Lecuire escreveu: >> >>> Hello, >>> I have a problem with the installation. >>> I choose country, keyboard and then I can not continue installation, >>> because it says "No disks found! Please verify that your disk controlle= r >>> is being..." >>> >>> Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeFor= ce >>> 7050, sata-500 >>> Here is what i get during boot sequence: >>> >>> (...cut...) >>> hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) >>> (...cut...) >>> atapci0: port >>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 >>> ata0: on atapci0 >>> ata0: [ITHREAD] >>> ata1: on atapci0 >>> ata1: [ITHREAD] >>> (...cut...) >>> >>> I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, a= nd >>> 4-5 Linux distros. >>> Anyone an idea? >>> Bernard >>> >>> >>> >> In my country (Brazil) you could go to the shop >> before 7 days passed after you bought this "*%$$@" and >> change for a TRUE notebook .... HP, Asus, toshiba, LG.. with no >> questions asked... >> >> I think that ACER makes their hardware to work only for windows vista...= . >> and works very bad indeed... >> please stay away from those "&#%###" >> I do not see any good thing in ACER..... >> 1) they do not care about customers, >> 2) the main board is stripped down to a minimum >> 3) the bios is "unique" totally out of any convension and >> always buggy.... >> 4) the battery has fewer cells... >> 5) the wireless is poor... >> >> Only the price is good... but compare it with a good notebook, >> you will see that those 200 dollars less that you pay for an acer >> is TOO expensive... Even using windows, you will spend that more by the >> time you >> will need an anti-virus + an office pack... >> >> In 6 more months, acer will drop down that line and you will >> not find any replacement part of it... Like many things done >> in asia, it is only a "toy".... >> Want a good notebook??? buy an apple book... in an apple >> store you can buy a good one for about 1200 dollars.... >> 13 inches, dual core, 1gb of memory 120gb of disk.... >> everything works... even Leopard.... >> >> >> >> Sergio >> >> _______________________________________________ >>> 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-unsubscribe@freebsd.org>" >>> >>> >> Good diagnosis. I changed the motherboard (to Asus), and now it works! > Bye > Bernard > _______________________________________________ > 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" Well some nForce boards FreeBSD doesn't like so that is why the error came up From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 06:09:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBD7B106568A for ; Mon, 29 Sep 2008 06:09:02 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51102.mail.re2.yahoo.com (web51102.mail.re2.yahoo.com [206.190.38.144]) by mx1.freebsd.org (Postfix) with SMTP id 798F68FC1D for ; Mon, 29 Sep 2008 06:09:02 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 29601 invoked by uid 60001); 29 Sep 2008 06:09:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=eze3gBpyPmhBWRVZXYp+SZqcnd/HhtBN8Zcd4mnrQk6qFzk1iF0MjgIsrYKxAVPVwsng53/eL87Jv3vB2WNjVsUTWZwEuLO4TkTw5vv3/VXYyFnVGIL++KMmsV069/kpMVxrmDWT9RhKbEFbJ4fjytHYJjSrKPpztoxuhMGoruI=; Received: from [82.136.213.253] by web51102.mail.re2.yahoo.com via HTTP; Sun, 28 Sep 2008 23:09:01 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sun, 28 Sep 2008 23:09:01 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <790826.29163.qm@web51102.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: error compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 06:09:02 -0000 Hi all, In an effort to compile a new kernel on my amd64 system running freebsd 6.3 I get the following error message after the make buildkernel KERNCONF=MYKERNEL step. The error I get is: /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' *** 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 My kernel configuration called MYKERNEL looks like this: # # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.6.2.1 2005/10/28 19:22:41 jhb Exp $ machine amd64 cpu HAMMER ident MYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler #options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options NTFS # NT File System options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Needed by COMPAT_LINUX32 options COMPAT_IA32 # Compatible with i386 binaries options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_LINUX32 # Compatible with i386 linux binaries #options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. # Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150) device atpic # 8259A compatability # Linux 32-bit ABI support options LINPROCFS # Cannot be a module yet. options EXT2FS # Linux ext2 filesystem support # Bus support. device acpi device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atapicam device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to the sio and/or ppc drivers): #device puc # PCI Ethernet NICs. # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes # ISA Ethernet NICs. pccard NICs included. # 'device ed' requires 'device miibus' # XXX kvtop brokenness, pointer/int warnings # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # SCSI peripherals device scbus device da device pass device cd # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface #device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Ethernet, requires miibus # FireWire support device firewire # FireWire bus code #device sbp # SCSI over FireWire (Requires scbus and da) What is causing this error? Brgds Dino device fwe # Ethernet over FireWire (non-standard!) From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 09:30:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B7B81065696 for ; Mon, 29 Sep 2008 09:30:27 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 38E1E8FC2D for ; Mon, 29 Sep 2008 09:30:27 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 38D80142066; Mon, 29 Sep 2008 12:14:48 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from iris.teledomenet.local (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 2821714203A; Mon, 29 Sep 2008 12:14:45 +0300 (EEST) From: Nikos Vassiliadis To: freebsd-questions@freebsd.org, stevefranks@ieee.org Date: Mon, 29 Sep 2008 12:17:54 +0300 User-Agent: KMail/1.9.7 References: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> In-Reply-To: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809291217.54790.nvass@teledomenet.gr> Cc: Subject: Re: can't add interfaces to bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 09:30:27 -0000 On Saturday 27 September 2008 20:52:43 Steve Franks wrote: > I'm getting the following error - ifconfig: BRDGADD ath0: Invalid > argument > > Given the following commands (which work for my tap interface with > qemu on 7.1, but apparently not with two regular network cards on > 6.3): > > sudo kldload if_bridge > sudo ifconfig ath0 down > sudo ifconfig rl0 down > sudo ifconfig bridge0 destroy > sudo ifconfig bridge0 create > sudo ifconfig bridge0 addm ath0 > sudo ifconfig bridge0 addm rl0 > sudo ifconfig bridge0 up > sudo ifconfig ath0 up > sudo ifconfig rl0 up > sudo dhclient bridge0 > ifconfig > > I get the following output: > > [steve@aire /usr/home/steve]$ bridge > kldload: can't load if_bridge: File exists > net.link.tap.user_open: 1 -> 1 > net.link.tap.devfs_cloning: 1 -> 1 > net.link.tap.up_on_open: 1 -> 1 I don't see any sysctl related commands in the script above. ? > ifconfig: BRDGADD ath0: Invalid argument > ifconfig: BRDGADD rl0: Invalid argument > DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8 > ath0: flags=8843 mtu 1500 > inet 192.168.2.69 netmask 0xffffff00 broadcast 192.168.2.255 > ether 00:13:f7:4a:0f:a8 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) > status: no carrier > ssid "" channel 3 > authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39 > bmiss 7 protmode CTS burst bintval 100 > rl0: flags=8843 mtu 1500 > options=8 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:01:6c:16:44:6f > media: Ethernet autoselect (none) > status: no carrier > plip0: flags=108810 mtu 1500 > lo0: flags=8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > bridge0: flags=8802 mtu 1500 > ether ea:57:36:3c:28:0c > priority 32768 hellotime 2 fwddelay 15 maxage 20 > [steve@aire /usr/home/steve]$ (I think that) Your wireless card doesn't seem to be in AP mode and if_bridge can only bridge 802.11 interfaces in AP mode with ethernet inter- faces. Two things though: 1) I am not sure if it complains about it as it does above ifconfig: BRDGADD ath0: Invalid argument 2) I do not undestand why it complains about rl0. What are you trying to achieve? Maybe there is some other way... Nikos From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 09:56:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE2231065693 for ; Mon, 29 Sep 2008 09:56:50 +0000 (UTC) (envelope-from move@inbox.lv) Received: from shark2.inbox.lv (shark2.inbox.lv [89.111.3.82]) by mx1.freebsd.org (Postfix) with ESMTP id 388DF8FC1F for ; Mon, 29 Sep 2008 09:56:50 +0000 (UTC) (envelope-from move@inbox.lv) Received: by shark2.inbox.lv (Postfix, from userid 1000) id 318303C3B; Mon, 29 Sep 2008 12:39:41 +0300 (EEST) Received: from localhost (w3 [10.0.1.13]) by shark2-plain-b64d2.inbox.lv (Postfix) with ESMTP id E5E9D3C3B for ; Mon, 29 Sep 2008 12:39:40 +0300 (EEST) Received: from 91.193.65.67 ( [91.193.65.67]) as user move@10.0.1.1 by www.inbox.lv with HTTP; Mon, 29 Sep 2008 12:39:41 +0300 X-LOCAL: 1 X-Compose: web=www.inbox.lv, node=w3, l=lv, prefs=HTML, sess=unset, fck=Compatible, compose=HTML X-REMOTE-ADDR: 91.193.65.67 X-HTTP-USER-AGENT: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Message-ID: <1222681181.48e0a25d094c3@www.inbox.lv> Date: Mon, 29 Sep 2008 12:39:41 +0300 From: Matiss To: freebsd-questions@freebsd.org User-Agent: Inbox.lv Webmail 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 Subject: Drive Geometry fail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 09:56:50 -0000 Hey all,=0A=0AInstalling FreeBSD 7.0 on Intel Server Board S3200, WD HDDs 7= 50 GB,=0Ait gives me this "A geometry of yadayadayada is incorrect, using a= =0Amore likely geometry" error.=0A=0AOf course, in the past I usually just = pressed ok and all=0Ainstallations were fine. Till today.=0A=0AIt gets to i= nstall and then starts to complain that it doesn't have=0Aany inodes free. = =0A=0ANow, my bios on this motherboard doesn't give out what IT thinks the= =0Ageometry is, so I'm hosed there. =0A=0ABasically I have no idea how to g= et FreeBSD moving on that box. =0A=0AAny advice? :)=0AMatiss From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 11:47:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE38106568B for ; Mon, 29 Sep 2008 11:47:54 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1E98FC22 for ; Mon, 29 Sep 2008 11:47:54 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id BE34C244C76 for ; Mon, 29 Sep 2008 13:47:50 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.387 X-Spam-Level: ** X-Spam-Status: No, score=2.387 tagged_above=-999 required=4.2 tests=[AWL=-0.782, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MHoSKSzdXNPl for ; Mon, 29 Sep 2008 13:47:43 +0200 (CEST) Received: from bljbsd01.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id 3B59C244C53 for ; Mon, 29 Sep 2008 13:47:43 +0200 (CEST) Message-ID: <48E0C061.9010200@eskk.nu> Date: Mon, 29 Sep 2008 13:47:45 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 11:47:54 -0000 I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when it's updated so that I can upgrade. I'm on the freebsd-announce list but I'm not sure if it's the right list to follow for this purpose. /Leslie From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 12:14:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B1CC1065697 for ; Mon, 29 Sep 2008 12:14:23 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30801.mail.mud.yahoo.com (web30801.mail.mud.yahoo.com [68.142.200.144]) by mx1.freebsd.org (Postfix) with SMTP id 687EB8FC15 for ; Mon, 29 Sep 2008 12:14:23 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: (qmail 57077 invoked by uid 60001); 29 Sep 2008 12:14:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Wpr10uIRBPAR+8mZHjp/S/PjX5yVUOL0E+Ah/VxNb4oCtUImZNfJvynoQnP9g4JLwIcaVv1ius3/7kIaG2bVgr2ohMdWTjCF59cU21Qyc+e8bxG89h/Uh800xuCiyoGfow15mw5orGukmUH70sCOyj7Pku9JwlEd9P3JX5ARlwE=; X-YMail-OSG: 5hGyXZoVM1kFqfarCpFdXo7I4ZriHgRJ7xbOsVJGCfp9zQWIR5ecSP4rqElCthhJGg8U0Pz0fgHoYA19sTzjOtiOBzqWmM45h7OJO3MorBmrbn9Z_IIFTIw_9WhjQADNASwXXB.xZLUhM_D8JLfay0rA.4LchqOgDxDK8KoisJcD._ttVsY- Received: from [213.157.180.252] by web30801.mail.mud.yahoo.com via HTTP; Mon, 29 Sep 2008 05:14:22 PDT X-Mailer: YahooMailRC/1096.28 YahooMailWebService/0.7.218.2 Date: Mon, 29 Sep 2008 05:14:22 -0700 (PDT) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: dino_vliet@yahoo.com, freebsd-questions@freebsd.org, gnome@FreeBSD.org MIME-Version: 1.0 Message-ID: <842318.56498.qm@web30801.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: stop in usr/ports/www/firefox3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 12:14:23 -0000 Hi,=0A=0ADo you cvsup-ed your system?=0A=0ALaci=0A=0A=0A=0A----- Original M= essage ----=0AFrom: Dino Vliet =0ATo: freebsd-questio= ns@freebsd.org; gnome@FreeBSD.org=0ASent: Sunday, September 28, 2008 2:25:1= 5 PM=0ASubject: stop in usr/ports/www/firefox3=0A=0AHi peeps,=0A=0AI want t= o install firefox3 beside my working firefox2 port on my amd64 system runni= ng freebsd 6.3 but the installation fails here:=0A=0A../../../../dist/lib/l= ibxpcomglue_s.a(nsStringAPI.o)(.text+0x13b8): In=0Afunction `nsACString::Se= tLength(unsigned int)': : undefined reference=0Ato=0A`NS_CStringGetMutableD= ata' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13ea):=0A= In function `nsACString::BeginWriting(char**, char**, unsigned int)': :=0Au= ndefined reference to=0A`NS_CStringGetMutableData' ../../../../dist/lib/lib= xpcomglue_s.a(nsStringAPI.o)(.text+0x14f8):=0AIn function `nsACString::Begi= nWriting(unsigned int)': : undefined=0Areference to=0A`NS_CStringGetMutable= Data' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x151d):= =0AIn function `nsACString::EndWriting()': : undefined reference to=0A`NS_C= StringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(= .text+0x1aac):=0AIn function=0A`nsDependentSubstring_external::nsDependentS= ubstring_external(nsAString=0Aconst&, unsigned int)': : undefined reference= to=0A`NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStr= ingAPI.o)(.text+0x1b14):=0AIn function=0A`nsDependentSubstring_external::ns= DependentSubstring_external(nsAString=0Aconst&, unsigned int, unsigned int)= ': : undefined reference to=0A`NS_StringContainerInit2' ../../../../dist/li= b/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1b68):=0AIn function=0A`nsDepende= ntCSubstring_external::nsDependentCSubstring_external(nsACString=0Aconst&, = unsigned int)': : undefined reference to=0A`NS_CStringContainerInit2' ../..= /../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1bd0):=0AIn functio= n=0A`nsDependentCSubstring_external::nsDependentCSubstring_external(nsACStr= ing=0Aconst&, unsigned int, unsigned int)': : undefined reference to=0A`NS_= CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)= (.text+0x1c73):=0AIn function `CompressWhitespace(nsAString&)': : undefined= reference to=0A`NS_StringGetMutableData' ../../../../dist/lib/libxpcomglue= _s.a(nsStringAPI.o)(.text+0x1e13):=0AIn function `ToLowerCase(nsACString co= nst&, nsACString&)': : undefined=0Areference to=0A`NS_CStringGetMutableData= ' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x1e93):=0AIn = function `ToUpperCase(nsACString const&, nsACString&)': : undefined=0Arefer= ence to=0A`NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(= nsCRTGlue.o)(.text+0x14f):=0AIn function `NS_strndup(unsigned short const*,= unsigned int)': :=0Aundefined reference to=0A`NS_Alloc' ../../../../dist/l= ib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x1d1):=0AIn function `NS_strdup(cha= r const*)': : undefined reference to=0A`NS_Alloc' ../../../../dist/lib/libx= pcomglue_s.a(nsMemory.o)(.text+0x1d):=0AIn function `nsMemory::Clone(void c= onst*, unsigned long)': : undefined=0Areference to `NS_Alloc' gmake[5]: ***= [libimgicon.so] Error 1 gmake[5]:=0ALeaving directory=0A`/usr/ports/www/fi= refox3/work/mozilla/modules/libpr0n/decoders/icon'=0Agmake[4]: *** [tools] = Error 2 gmake[4]: Leaving directory=0A`/usr/ports/www/firefox3/work/mozilla= /modules/libpr0n/decoders'=0Agmake[3]: *** [tools] Error 2 gmake[3]: Leavin= g directory=0A`/usr/ports/www/firefox3/work/mozilla/modules/libpr0n' gmake[= 2]: ***=0A[tools_tier_gecko] Error 2 gmake[2]: Leaving directory=0A`/usr/po= rts/www/firefox3/work/mozilla' gmake[1]: *** [tier_toolkit]=0AError 2 gmake= [1]: Leaving directory=0A`/usr/ports/www/firefox3/work/mozilla' gmake: *** = [default] Error 2 ***=0AError code 2=0A=0AStop in /usr/ports/www/firefox3.= =0A*** Error code 1=0A=0AStop in /usr/ports/www/firefox3.=0A[root@zouk /usr= /ports/www/firefox3]# =0A=0AWhat is wrong here?=0A=0Auname -a:=0AFreeBSD zo= uk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20 21:01:24 = CET 2008 root@:/usr/obj/usr/src/sys/MYKERNEL amd64=0A=0A=0AHope somebo= dy can help.=0A=0ABrgds=0ADino=0A=0A=0A=0A=0A______________________________= _________________=0Afreebsd-questions@freebsd.org mailing list=0Ahttp://lis= ts.freebsd.org/mailman/listinfo/freebsd-questions=0ATo unsubscribe, send an= y mail to "freebsd-questions-unsubscribe@freebsd.org"=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 12:31:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F671065687 for ; Mon, 29 Sep 2008 12:31:45 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 134DD8FC19 for ; Mon, 29 Sep 2008 12:31:44 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KkHud-0003Iy-Kn; Mon, 29 Sep 2008 13:31:39 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m8TCVcDB026337; Mon, 29 Sep 2008 13:31:39 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id E83C8FCA4AD; Mon, 29 Sep 2008 13:31:32 +0100 (BST) Date: Mon, 29 Sep 2008 13:31:32 +0100 From: Frank Shute To: Dino Vliet Message-ID: <20080929123132.GA59725@melon.esperance-linux.co.uk> Mail-Followup-To: Dino Vliet , freebsd-questions@freebsd.org References: <790826.29163.qm@web51102.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790826.29163.qm@web51102.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Mon, 29 Sep 2008 13:31:39 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: error compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 12:31:45 -0000 On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: > > Hi all, > > In an effort to compile a new kernel on my amd64 system running > freebsd 6.3 I get the following error message after the make > buildkernel KERNCONF=MYKERNEL step. > > The error I get is: > > /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' > > *** 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 > > My kernel configuration called MYKERNEL looks like this: > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 > # > > options SCHED_ULE # ULE scheduler > #options SCHED_4BSD # 4BSD scheduler > What is causing this error? > > Brgds > Dino > device fwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 12:54:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B8F1065687 for ; Mon, 29 Sep 2008 12:54:21 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51108.mail.re2.yahoo.com (web51108.mail.re2.yahoo.com [206.190.38.150]) by mx1.freebsd.org (Postfix) with SMTP id 252898FC1E for ; Mon, 29 Sep 2008 12:54:21 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 97230 invoked by uid 60001); 29 Sep 2008 12:54:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=B7QAONBAoLiBJ+F+VtlBKaalyWNY/aYQFpHWeq6wLud6QdRFRxVx5X60lPov4CX9v7sfscU03TdqmsbT64iiAS4sd0jQKZ0WP4DbmHb2ORy2YKgfgH0B2vUbvIzvKYU8XlQooBKKs9ME5NnL/2BFvvTo58roc+oMQm1KIn6iUHY=; X-YMail-OSG: 1F5YWI0VM1ke5Jm1GbAjGQp3q6TvybXvZBKN.48zYGPDW7lddB9w13fNQzFMlNJD4o.3otn6hRqmBW3ETLelw22HulimJoDjnUePhZoWq.KoVUgHamOoXJDlGWoW_GNO6LprZ.T6RuV_wtbGX5vVOGC4aImPA6zGC578IXO33nTHkwilEw-- Received: from [167.202.222.228] by web51108.mail.re2.yahoo.com via HTTP; Mon, 29 Sep 2008 05:54:20 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 29 Sep 2008 05:54:20 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org, gnome@FreeBSD.org, =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= In-Reply-To: <842318.56498.qm@web30801.mail.mud.yahoo.com> MIME-Version: 1.0 Message-ID: <450128.93840.qm@web51108.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: stop in usr/ports/www/firefox3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 12:54:21 -0000 Hi Laci, =A0 I did "portsnap fetch update" so I guess that should do the trick. =A0 Or not? =A0 Brgds Dino --- On Mon, 9/29/08, D=E1nielisz L=E1szl=F3 wr= ote: From: D=E1nielisz L=E1szl=F3 Subject: Re: stop in usr/ports/www/firefox3 To: dino_vliet@yahoo.com, freebsd-questions@freebsd.org, gnome@FreeBSD.org Date: Monday, September 29, 2008, 2:14 PM Hi, Do you cvsup-ed your system? Laci ----- Original Message ---- From: Dino Vliet To: freebsd-questions@freebsd.org; gnome@FreeBSD.org Sent: Sunday, September 28, 2008 2:25:15 PM Subject: stop in usr/ports/www/firefox3 Hi peeps, I want to install firefox3 beside my working firefox2 port on my amd64 syst= em running freebsd 6.3 but the installation fails here: ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI.o)(.text+0x13b8): In function `nsACString::SetLength(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x13ea): In function `nsACString::BeginWriting(char**, char**, unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x14f8): In function `nsACString::BeginWriting(unsigned int)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x151d): In function `nsACString::EndWriting()': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1aac): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1b14): In function `nsDependentSubstring_external::nsDependentSubstring_external(nsAString const&, unsigned int, unsigned int)': : undefined reference to `NS_StringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1b68): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1bd0): In function `nsDependentCSubstring_external::nsDependentCSubstring_external(nsACString const&, unsigned int, unsigned int)': : undefined reference to `NS_CStringContainerInit2' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1c73): In function `CompressWhitespace(nsAString&)': : undefined reference to `NS_StringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAPI= .o)(.text+0x1e13): In function `ToLowerCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsStringAP= I.o)(.text+0x1e93): In function `ToUpperCase(nsACString const&, nsACString&)': : undefined reference to `NS_CStringGetMutableData' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.= o)(.text+0x14f): In function `NS_strndup(unsigned short const*, unsigned int)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsCRTGlue.o)(.text+0x1d1): In function `NS_strdup(char const*)': : undefined reference to `NS_Alloc' ../../../../dist/lib/libxpcomglue_s.a(nsMemory.o)(.text+0x1d): In function `nsMemory::Clone(void const*, unsigned long)': : undefined reference to `NS_Alloc' gmake[5]: *** [libimgicon.so] Error 1 gmake[5]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders/icon' gmake[4]: *** [tools] Error 2 gmake[4]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n/decoders' gmake[3]: *** [tools] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/modules/libpr0n' gmake[2]: *** [tools_tier_gecko] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake[1]: *** [tier_toolkit] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox3/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/firefox3. *** Error code 1 Stop in /usr/ports/www/firefox3. [root@zouk /usr/ports/www/firefox3]#=20 What is wrong here? uname -a: FreeBSD zouk.alice.nl 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #18: Thu Mar 20= 21:01:24 CET 2008=A0=A0=A0=A0 root@:/usr/obj/usr/src/sys/MYKERNEL=A0 amd64 Hope somebody can help. Brgds Dino _______________________________________________ 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= " =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 12:56:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BD031065695 for ; Mon, 29 Sep 2008 12:56:52 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web110501.mail.gq1.yahoo.com (web110501.mail.gq1.yahoo.com [67.195.8.249]) by mx1.freebsd.org (Postfix) with SMTP id 5F4698FC22 for ; Mon, 29 Sep 2008 12:56:52 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 26255 invoked by uid 60001); 29 Sep 2008 12:56:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=VrrfRN5UZvRclVZXpoJMFE8+yFjLANNwR0WllyVcUGb2K1No7WFrkXgtG6DLxA9xrbslIv8cOWPZPaOIvlozbwj3I7b2l8qHKcxbdz5O/y3iWN97SK6+y26WEjmSR0BqXgssiof5Ck6jAH2e3arUHOlUxKbHssfFc3VBggF8v+4=; Received: from [77.122.205.244] by web110501.mail.gq1.yahoo.com via HTTP; Mon, 29 Sep 2008 05:56:51 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Mon, 29 Sep 2008 05:56:51 -0700 (PDT) From: Nash Nipples To: freebsd-questions@freebsd.org In-Reply-To: <48E0C061.9010200@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <991728.25784.qm@web110501.mail.gq1.yahoo.com> Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: trashy_bumper@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 12:56:52 -0000 > I'm running FreeBSD 7.1-PRERELEASE and I want to keep > track on when > it's updated so that I can upgrade. I'm on the > freebsd-announce list but > I'm not sure if it's the right list to follow for > this purpose. > /Leslie > > > you will be surprised how often the code is getting modified and becomes instantly available for updating over cvs and svn routines. sending notifications to freebsd-current@freebsd.org in my opinion would be nice but speaking in terms of data management very inappropriate since it is already there available for you in updated applications change log as well as planned in the todo list bundled with the source code. if there is something missing that only you could have expected i think it doesnt worth a while discussing it with someone who isnt actually doing it From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 13:15:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18BBE1065686 for ; Mon, 29 Sep 2008 13:15:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFFF8FC2F for ; Mon, 29 Sep 2008 13:15:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m8TDFXoj032217; Mon, 29 Sep 2008 14:15:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m8TDFXoj032217 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222694140; bh=MTuKh1ZiGicCkX Tpx/YjhEumfpNW9RUclAfNqbr5JM8=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E0D4EF.3080107@infracaninophile.co.uk>|Date:=20Mon,=2 029=20Sep=202008=2014:15:27=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Leslie=20Jensen=20|CC:=20freebsd-questions @freebsd.org|Subject:=20Re:=20Which=20mailing=20list?|References:=2 0<48E0C061.9010200@eskk.nu>|In-Reply-To:=20<48E0C061.9010200@eskk.n u>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B =20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signa ture"=3B=0D=0A=20boundary=3D"------------enig42FB4023FADD797CE01D54 70"; b=r1pLKL6MuCiXtBoBvCJfSY8DPJT5mWpvkBwv5hgrbdxK3vcnJKg7V82hGE2e TbfKVG6ssUZd7IG4pnI60hHLptvKtatpd0M+5+RJ7MMCEiIjegoOZpXxJMwiFabBZJh oDANjBJiOmZdrRRt/jN8UO8Doqr2paPJBm51Q0jZ2VqY= Message-ID: <48E0D4EF.3080107@infracaninophile.co.uk> Date: Mon, 29 Sep 2008 14:15:27 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Leslie Jensen References: <48E0C061.9010200@eskk.nu> In-Reply-To: <48E0C061.9010200@eskk.nu> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig42FB4023FADD797CE01D5470" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 29 Sep 2008 14:15:40 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8353/Mon Sep 29 10:57:09 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 13:15:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig42FB4023FADD797CE01D5470 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Leslie Jensen wrote: >=20 > I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when=20 > it's updated so that I can upgrade. I'm on the freebsd-announce list bu= t=20 > I'm not sure if it's the right list to follow for this purpose. > /Leslie At the moment there hasn't been a RELENG_7_1 tag laid down, so anything labelled 7.1 is from the RELENG_7 branch. Technically both of RELENG_7 and any RELENG_7_x are covered by the freebsd-stable@ mailing list, although there is not usually any great amount of traffic to do with the = progress of new releases there. Also, RELENG_7 is a development branch: patches and updates are added to it all the time without any special fanfare or announcements; although right now as we're in the middle of a release process, that's being=20 controlled by the Release Engineering team and is limited to bug fixes and release preparations. If you really want to track all the activity on RELENG_7 then you can join one of the lists that distributes CVS e-mails. This is the most appropriate one for your purposes: http://lists.freebsd.org/mailman/listinfo/cvs-src Even so, that contains all the messages about all the commits to all the = branches of the src collection, not just to RELENG_7. You'll need to filter it pretty stringently to pull out just the stuff you're intereste= d=20 in. I believe there is an internal FreeBSD service somewhere which provi= des=20 quite fine grained filtering, but it may only be available to people with= =20 @freebsd.org accounts. (I saw it mentioned on a mailing list many years = ago=20 but I've mostly forgotten what I knew about it.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig42FB4023FADD797CE01D5470 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjg1PUACgkQ8Mjk52CukIyKDACfVaOF1Z4yUcoe0slbABE5cDGm xh4AoJAQEdvmr1B9WcfVxgpgMA8WqX+j =n7Ru -----END PGP SIGNATURE----- --------------enig42FB4023FADD797CE01D5470-- From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 14:17:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 280C6106568F for ; Mon, 29 Sep 2008 14:17:29 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from tomts24-srv.bellnexxia.net (tomts24-srv.bellnexxia.net [209.226.175.187]) by mx1.freebsd.org (Postfix) with ESMTP id B77FE8FC0C for ; Mon, 29 Sep 2008 14:17:28 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from toip37-bus.srvr.bell.ca ([67.69.240.38]) by tomts24-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20080929141717.RAJT1580.tomts24-srv.bellnexxia.net@toip37-bus.srvr.bell.ca>; Mon, 29 Sep 2008 10:17:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAEF94EhKD7BS/2dsb2JhbAC2RBmFJoFn Received: from mtrlpq02-1242542162.sdsl.bell.ca (HELO [69.69.69.183]) ([74.15.176.82]) by toip37-bus.srvr.bell.ca with ESMTP; 29 Sep 2008 10:17:02 -0400 Message-ID: <48E0E366.2050005@optiksecurite.com> Date: Mon, 29 Sep 2008 10:17:10 -0400 From: FreeBSD User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Jacob Yocom-Piatt References: <48DBEDD0.3000506@fixedpointgroup.com> <48DCF182.1020908@optiksecurite.com> <48DE439A.5000102@fixedpointgroup.com> In-Reply-To: <48DE439A.5000102@fixedpointgroup.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: installing 7.0-release from .isos: endless mfi status msgs on console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 14:17:29 -0000 Jacob Yocom-Piatt a écrit : > FreeBSD wrote: >> Jacob Yocom-Piatt a écrit : >>> am setting up a new fileserver on a poweredge 1950 and installing >>> from the freebsd 7.0-release .isos but can't read anything on the >>> console since the PERC 5/i or 5/e card(s) are dumping status messages >>> to the console non-stop (~1000 lines / minute). >>> > >> What are exactly those messages? I have the same server with FreeBSD >> 7.0-Release too and I don't get any annoying messages. I would be >> tempted to say that there is something wrong... >> > > > martin, > > they are status messages of some sort that are coming from the two PERC > cards installed in the machine, a 5/i for the SAS disks inside it and a > 5/e for the MD1000 disk array attached to it via a SAS cable. since i > don't have a console attached at this machine's location, i can't easily > dump the messages here. suffice it to say that i get similar messages on > my other freebsd fileserver running on essentially the same hardware > (amd64 on poweredge 1950 + MD1000 enclosure). if you really want to see > them, i can acquire them from the console whenever i reboot the machine > but only after i have the console reading out. > Jake, Maybe you're getting those messages because you have 2 cards installed but I still don't think it's normal that you get that much messages from good working cards. I think it would be interesting to see those messages. Martin > if i wait 5-10 minutes, the messages 'settle' and the installer gets > further along, but the amd64 installer seizes whereas the i386 one gets > to the usual install menu, i.e. 'choose your country', etc. if the amd64 > installer is seizing up, can anyone recommend a workaround? i'm not > about to install a 32-bit arch onto this machine since it needs to do > ZFS which is known to have additional problems with 32-bit arches. > > cheers, > jake > > >> Martin >>> is there any way to disable these status messages so that i can get >>> freebsd installed? AFAICT there is nothing broken with the battery on >>> either of the PERC 5/i or 5/e cards installed. >>> >>> cheers, >>> jake >> > From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 14:54:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA66F1065692 for ; Mon, 29 Sep 2008 14:54:38 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 805908FC2F for ; Mon, 29 Sep 2008 14:54:38 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 66D33AFBC02; Mon, 29 Sep 2008 06:54:37 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 29 Sep 2008 16:54:05 +0200 User-Agent: KMail/1.9.7 References: <48E0C061.9010200@eskk.nu> In-Reply-To: <48E0C061.9010200@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809291654.05881.fbsd.questions@rachie.is-a-geek.net> Cc: Leslie Jensen Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 14:54:38 -0000 On Monday 29 September 2008 13:47:45 Leslie Jensen wrote: > I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when > it's updated so that I can upgrade. I'm on the freebsd-announce list but > I'm not sure if it's the right list to follow for this purpose. > /Leslie If your intention is to know when 7.1-RELEASE is available and possibly track security advisories afterwards, it is the correct list: http://lists.freebsd.org/pipermail/freebsd-announce/2008-February/001172.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 15:07:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0B801065692 for ; Mon, 29 Sep 2008 15:07:04 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id AF4B18FC15 for ; Mon, 29 Sep 2008 15:07:04 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id 54490244C03; Mon, 29 Sep 2008 17:07:00 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.387 X-Spam-Level: ** X-Spam-Status: No, score=2.387 tagged_above=-999 required=4.2 tests=[AWL=-0.782, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TLCESzcTSMMe; Mon, 29 Sep 2008 17:06:54 +0200 (CEST) Received: from bljbsd01.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id 1A63421B93D; Mon, 29 Sep 2008 17:06:54 +0200 (CEST) Message-ID: <48E0EF10.6020702@eskk.nu> Date: Mon, 29 Sep 2008 17:06:56 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: Mel References: <48E0C061.9010200@eskk.nu> <200809291654.05881.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200809291654.05881.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:07:05 -0000 Mel skrev: > On Monday 29 September 2008 13:47:45 Leslie Jensen wrote: >> I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when >> it's updated so that I can upgrade. I'm on the freebsd-announce list but >> I'm not sure if it's the right list to follow for this purpose. >> /Leslie > If your intention is to know when 7.1-RELEASE is available and possibly track > security advisories afterwards, it is the correct list: > http://lists.freebsd.org/pipermail/freebsd-announce/2008-February/001172.html > Well, my intention is to be updated even on the prerelease. As I understand from the answers, it might be somewhat ambiguous. Do you recommend that I update once a week for example. I understand that not all modifications will affect me, some will of course others will not Thanks /Leslie From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 15:42:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0567F1065689 for ; Mon, 29 Sep 2008 15:42:38 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id C64938FC14 for ; Mon, 29 Sep 2008 15:42:37 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 3490DAFBC02; Mon, 29 Sep 2008 07:42:36 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 29 Sep 2008 17:42:35 +0200 User-Agent: KMail/1.9.7 References: <48E0C061.9010200@eskk.nu> <200809291654.05881.fbsd.questions@rachie.is-a-geek.net> <48E0EF10.6020702@eskk.nu> In-Reply-To: <48E0EF10.6020702@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809291742.35226.fbsd.questions@rachie.is-a-geek.net> Cc: Leslie Jensen Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:42:38 -0000 On Monday 29 September 2008 17:06:56 Leslie Jensen wrote: > Mel skrev: > > On Monday 29 September 2008 13:47:45 Leslie Jensen wrote: > >> I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when > >> it's updated so that I can upgrade. I'm on the freebsd-announce list but > >> I'm not sure if it's the right list to follow for this purpose. > >> /Leslie > > > > If your intention is to know when 7.1-RELEASE is available and possibly > > track security advisories afterwards, it is the correct list: > > http://lists.freebsd.org/pipermail/freebsd-announce/2008-February/001172. > >html > > Well, my intention is to be updated even on the prerelease. As I > understand from the answers, it might be somewhat ambiguous. Do you > recommend that I update once a week for example. I understand that not > all modifications will affect me, some will of course others will not Depends what you want. Everything that goes on RELENG_7 branch currently, is a bug fix. Each bug fix, has the risk of introducing a regression bug. If you want to part of the process that tests this PRERELEASE and report any bugs, confirming bugfixes etc, then you should track RELENG_7. Best way to do that is to csup your system in the daily periodic(7). Then you can see if any fixes have been comitted, and rebuild your system. If you simply want to know if your system still works, subscribe to announce to know when to stop testing and to build the final release, and build whenever you have time. The script below my sig, adds csup to daily, when adding daily_csup_enable="YES" to /etc/periodic.conf and putting the proper csup file in the proper loc and/or setting the variables in /etc/periodic.conf. -- Mel $ cat /usr/local/etc/periodic/daily/340.csup #!/bin/sh # if [ -r /etc/defaults/periodic.conf ] then . /etc/defaults/periodic.conf source_periodic_confs fi # Set defaults daily_csup_enable=${daily_csup_enable:-"NO"} daily_csup_files=${daily_csup_files:-"/etc/stable-supfile"} daily_csup_flags=${daily_csup_flags:-"-L2"} case "$daily_csup_enable" in [Yy][Ee][Ss]) echo '' echo 'Running csup:' for file in ${daily_csup_files}; do /usr/bin/csup ${daily_csup_flags} ${file} rc=$((${rc} + $?)) done echo '' ;; *) rc=0;; esac From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 15:49:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22E611065689 for ; Mon, 29 Sep 2008 15:49:22 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id D2CF68FC15 for ; Mon, 29 Sep 2008 15:49:21 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id BB56021B6DF for ; Mon, 29 Sep 2008 17:49:17 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.386 X-Spam-Level: ** X-Spam-Status: No, score=2.386 tagged_above=-999 required=4.2 tests=[AWL=-0.783, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3LlubLwDsldZ for ; Mon, 29 Sep 2008 17:49:12 +0200 (CEST) Received: from bljbsd01.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id 9528B21B25E for ; Mon, 29 Sep 2008 17:49:12 +0200 (CEST) Message-ID: <48E0F8FB.1000906@eskk.nu> Date: Mon, 29 Sep 2008 17:49:15 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20080928) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E0C061.9010200@eskk.nu> <200809291654.05881.fbsd.questions@rachie.is-a-geek.net> <48E0EF10.6020702@eskk.nu> <200809291742.35226.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200809291742.35226.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Which mailing list? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:49:22 -0000 Mel skrev: > On Monday 29 September 2008 17:06:56 Leslie Jensen wrote: >> Mel skrev: >>> On Monday 29 September 2008 13:47:45 Leslie Jensen wrote: >>>> I'm running FreeBSD 7.1-PRERELEASE and I want to keep track on when >>>> it's updated so that I can upgrade. I'm on the freebsd-announce list but >>>> I'm not sure if it's the right list to follow for this purpose. >>>> /Leslie >>> If your intention is to know when 7.1-RELEASE is available and possibly >>> track security advisories afterwards, it is the correct list: >>> http://lists.freebsd.org/pipermail/freebsd-announce/2008-February/001172. >>> html >> Well, my intention is to be updated even on the prerelease. As I >> understand from the answers, it might be somewhat ambiguous. Do you >> recommend that I update once a week for example. I understand that not >> all modifications will affect me, some will of course others will not > > Depends what you want. Everything that goes on RELENG_7 branch currently, is a > bug fix. Each bug fix, has the risk of introducing a regression bug. > If you want to part of the process that tests this PRERELEASE and report any > bugs, confirming bugfixes etc, then you should track RELENG_7. Best way to do > that is to csup your system in the daily periodic(7). Then you can see if any > fixes have been comitted, and rebuild your system. > > If you simply want to know if your system still works, subscribe to announce > to know when to stop testing and to build the final release, and build > whenever you have time. > > The script below my sig, adds csup to daily, when adding > daily_csup_enable="YES" to /etc/periodic.conf and putting the proper csup > file in the proper loc and/or setting the variables in /etc/periodic.conf. > Thanks! I'll try it out. /Leslie From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 15:58:46 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25835106568C for ; Mon, 29 Sep 2008 15:58:46 +0000 (UTC) (envelope-from mostafa.nickpour@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id EF9A28FC17 for ; Mon, 29 Sep 2008 15:58:45 +0000 (UTC) (envelope-from mostafa.nickpour@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2083418wfg.7 for ; Mon, 29 Sep 2008 08:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Jfk1PvRa/Jt7f+hzGgDFCPnGn4ih/2YCnQ0GjwkV0zI=; b=cDp5u+WrS6tFgkWismtTuSioynIm5hMKyh9Hr6s3mbmVtOSRTOBJSEGQ1aCxGEzUXi NclbNjId0NFy7lZXxrgz9VduNFskbm98sjS1YRlGEor39lOI4Mt3ym9OyY9KqMjOwL2g OHooZAv3zpM6kXcx307cc4WsSzKktjLtO9y5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Q1CiGt2q4vHKpFVId19fDNcS12BeKBokwwt2vGFplrfP0W4n62vKqd74pHm8jkuGp1 hA4DrglpaMP38+JPj6vxMfogtd0xMIdxHUmn+fna9TCZfa0QogK0B7fl//ThinfayDQv Crn8l6/WXzONfCuShuEEyVGqKYAJ8Z88lGnK8= Received: by 10.114.185.8 with SMTP id i8mr5952344waf.28.1222702565359; Mon, 29 Sep 2008 08:36:05 -0700 (PDT) Received: by 10.110.21.19 with HTTP; Mon, 29 Sep 2008 08:36:05 -0700 (PDT) Message-ID: Date: Mon, 29 Sep 2008 23:36:05 +0800 From: "mostafa nickpour" To: freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 29 Sep 2008 16:18:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: (no subject) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:58:46 -0000 Dear Madam/Sir. Sorry for disturbing you. Would u pleae tell me the maximum number of CPUs which are supported by FreeBSD v7? Thanks. -- B.R Mostafa Nikpour H/P:+60-17-334-6796 From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 16:40:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7323106569B for ; Mon, 29 Sep 2008 16:40:58 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.241]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3E18FC32 for ; Mon, 29 Sep 2008 16:40:58 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so535662hsz.11 for ; Mon, 29 Sep 2008 09:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=dBqYJIuU8UA4T00B/q/y1YruyeXm31w7im2YWPiXNoY=; b=tCLbpwqI/1Be2MCmp+MpnzOGMEFvYbOKK2Yp5PbHKOLa+k3KdcW5u0SdXnSlQ3/xFn 6yP1Ej7k0oKiukjPXgn0w1wQAz8/2ZrNAKkQGvrog7bJeXxjL7hWuudJWpNia1mEJbeV E2uLpOLFuJyla7LiQs/Gp06X+qIX+GTH/yWBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=Asqf2k3+KK3qnzvZiAFROFTkF9uVkeh8aB8EVYGXnVbNwM3nUr9cY1mWphuCKKNtKt s8VsmnwOsC/4QdU6PdoZl0IEYBZp6ns5Nu3yrPWAyXeO5nZa+7E0xhS4GaFtyGC1dYZi 2lW3psV4oa8Cxn09oSIx8DnNjaIejuJHhklXM= Received: by 10.143.17.13 with SMTP id u13mr2308885wfi.18.1222706456960; Mon, 29 Sep 2008 09:40:56 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Mon, 29 Sep 2008 09:40:56 -0700 (PDT) Message-ID: <539c60b90809290940v6921300er4ee357401266bd1@mail.gmail.com> Date: Mon, 29 Sep 2008 09:40:56 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "Nikos Vassiliadis" In-Reply-To: <200809291217.54790.nvass@teledomenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> <200809291217.54790.nvass@teledomenet.gr> X-Google-Sender-Auth: 6690440c11464499 Cc: freebsd-questions@freebsd.org Subject: Re: can't add interfaces to bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 16:40:58 -0000 On Mon, Sep 29, 2008 at 2:17 AM, Nikos Vassiliadis wrote: > On Saturday 27 September 2008 20:52:43 Steve Franks wrote: >> I'm getting the following error - ifconfig: BRDGADD ath0: Invalid >> argument >> >> Given the following commands (which work for my tap interface with >> qemu on 7.1, but apparently not with two regular network cards on >> 6.3): >> >> sudo kldload if_bridge >> sudo ifconfig ath0 down >> sudo ifconfig rl0 down >> sudo ifconfig bridge0 destroy >> sudo ifconfig bridge0 create >> sudo ifconfig bridge0 addm ath0 >> sudo ifconfig bridge0 addm rl0 >> sudo ifconfig bridge0 up >> sudo ifconfig ath0 up >> sudo ifconfig rl0 up >> sudo dhclient bridge0 >> ifconfig >> >> I get the following output: >> >> [steve@aire /usr/home/steve]$ bridge >> kldload: can't load if_bridge: File exists > >> net.link.tap.user_open: 1 -> 1 >> net.link.tap.devfs_cloning: 1 -> 1 >> net.link.tap.up_on_open: 1 -> 1 > > I don't see any sysctl related commands in the script above. > ? > >> ifconfig: BRDGADD ath0: Invalid argument >> ifconfig: BRDGADD rl0: Invalid argument >> DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8 >> ath0: flags=8843 mtu 1500 >> inet 192.168.2.69 netmask 0xffffff00 broadcast 192.168.2.255 >> ether 00:13:f7:4a:0f:a8 >> media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) >> status: no carrier >> ssid "" channel 3 >> authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39 >> bmiss 7 protmode CTS burst bintval 100 >> rl0: flags=8843 mtu 1500 >> options=8 >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 >> ether 00:01:6c:16:44:6f >> media: Ethernet autoselect (none) >> status: no carrier >> plip0: flags=108810 mtu 1500 >> lo0: flags=8049 mtu 16384 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 >> inet6 ::1 prefixlen 128 >> inet 127.0.0.1 netmask 0xff000000 >> bridge0: flags=8802 mtu 1500 >> ether ea:57:36:3c:28:0c >> priority 32768 hellotime 2 fwddelay 15 maxage 20 >> [steve@aire /usr/home/steve]$ > > (I think that) > Your wireless card doesn't seem to be in AP mode and if_bridge > can only bridge 802.11 interfaces in AP mode with ethernet inter- > faces. Two things though: > 1) I am not sure if it complains about it as it does above > ifconfig: BRDGADD ath0: Invalid argument > 2) I do not undestand why it complains about rl0. > > What are you trying to achieve? Maybe there is some other way... > Just trying to string some old printers & the like off my rl0 and get them onto the local wifi net via ath0. ath0 is connected to an AP. Steve From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 16:52:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCE451065689 for ; Mon, 29 Sep 2008 16:52:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 748B58FC20 for ; Mon, 29 Sep 2008 16:52:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 49B38AFBC02; Mon, 29 Sep 2008 08:52:50 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org, stevefranks@ieee.org Date: Mon, 29 Sep 2008 18:52:48 +0200 User-Agent: KMail/1.9.7 References: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> <200809291217.54790.nvass@teledomenet.gr> <539c60b90809290940v6921300er4ee357401266bd1@mail.gmail.com> In-Reply-To: <539c60b90809290940v6921300er4ee357401266bd1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809291852.49139.fbsd.questions@rachie.is-a-geek.net> Cc: Nikos Vassiliadis Subject: Re: can't add interfaces to bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 16:52:51 -0000 On Monday 29 September 2008 18:40:56 Steve Franks wrote: > On Mon, Sep 29, 2008 at 2:17 AM, Nikos Vassiliadis wrote: > > On Saturday 27 September 2008 20:52:43 Steve Franks wrote: > >> I'm getting the following error - ifconfig: BRDGADD ath0: Invalid > >> argument > >> > >> Given the following commands (which work for my tap interface with > >> qemu on 7.1, but apparently not with two regular network cards on > >> 6.3): > >> > >> sudo kldload if_bridge > >> sudo ifconfig ath0 down > >> sudo ifconfig rl0 down > >> sudo ifconfig bridge0 destroy > >> sudo ifconfig bridge0 create > >> sudo ifconfig bridge0 addm ath0 > >> sudo ifconfig bridge0 addm rl0 > >> sudo ifconfig bridge0 up > >> sudo ifconfig ath0 up > >> sudo ifconfig rl0 up > >> sudo dhclient bridge0 > >> ifconfig > >> > >> I get the following output: > >> > >> [steve@aire /usr/home/steve]$ bridge > >> kldload: can't load if_bridge: File exists > >> > >> net.link.tap.user_open: 1 -> 1 > >> net.link.tap.devfs_cloning: 1 -> 1 > >> net.link.tap.up_on_open: 1 -> 1 > > > > I don't see any sysctl related commands in the script above. > > ? > > > >> ifconfig: BRDGADD ath0: Invalid argument > >> ifconfig: BRDGADD rl0: Invalid argument > >> DHCPDISCOVER on bridge0 to 255.255.255.255 port 67 interval 8 > >> ath0: flags=8843 mtu 1500 > >> inet 192.168.2.69 netmask 0xffffff00 broadcast 192.168.2.255 > >> ether 00:13:f7:4a:0f:a8 > >> media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) > >> status: no carrier > >> ssid "" channel 3 > >> authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 39 > >> bmiss 7 protmode CTS burst bintval 100 > >> rl0: flags=8843 mtu 1500 > >> options=8 > >> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > >> ether 00:01:6c:16:44:6f > >> media: Ethernet autoselect (none) > >> status: no carrier > >> plip0: flags=108810 mtu 1500 > >> lo0: flags=8049 mtu 16384 > >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > >> inet6 ::1 prefixlen 128 > >> inet 127.0.0.1 netmask 0xff000000 > >> bridge0: flags=8802 mtu 1500 > >> ether ea:57:36:3c:28:0c > >> priority 32768 hellotime 2 fwddelay 15 maxage 20 > >> [steve@aire /usr/home/steve]$ > > > > (I think that) > > Your wireless card doesn't seem to be in AP mode and if_bridge > > can only bridge 802.11 interfaces in AP mode with ethernet inter- > > faces. Two things though: > > 1) I am not sure if it complains about it as it does above > > ifconfig: BRDGADD ath0: Invalid argument > > 2) I do not undestand why it complains about rl0. > > > > What are you trying to achieve? Maybe there is some other way... > > Just trying to string some old printers & the like off my rl0 and get > them onto the local wifi net via ath0. ath0 is connected to an AP. Unless you have 506 devices on those networks, consider using lagg(4). It has a warning for WPA, but since you use WEP, it should theoretically work. Now if it would work with WPA and ap mode on any 802.11 device, we can finally have 'real wireless routers'. ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 17:00:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB3C11065696 for ; Mon, 29 Sep 2008 17:00:11 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B7BB18FC1D for ; Mon, 29 Sep 2008 17:00:11 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.14] (adsl-75-4-150-29.dsl.emhril.sbcglobal.net [75.4.150.29]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id F070611C7E; Mon, 29 Sep 2008 13:00:10 -0400 (EDT) Message-ID: <48E10999.9070005@cyberleo.net> Date: Mon, 29 Sep 2008 12:00:09 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Fraser Tweedale References: <20080928040152.GA7159@bacardi.frase.id.au> In-Reply-To: <20080928040152.GA7159@bacardi.frase.id.au> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [OT] Apache SSL certificate authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 17:00:12 -0000 Fraser Tweedale wrote: > - Create my CA key and a CSR, and have CACert sign it. Are you sure it's signed as an intermediary CA? cacert.org's website suggests they will only sign leaf certificates. http://wiki.cacert.org/wiki/SubRoot Fortunately, your client certs need not be signed by the same CA as your server cert, and it's probably somewhat pointless to have a client cert (which will be used for your infrastructure alone) vetted by a third party. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 17:52:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEBFA1065689 for ; Mon, 29 Sep 2008 17:52:06 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 1BF168FC15 for ; Mon, 29 Sep 2008 17:52:03 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: (qmail invoked by alias); 29 Sep 2008 17:25:20 -0000 Received: from host-194126238033.net-serwis.pl (EHLO bobcat.edu) [194.126.238.33] by mail.gmx.net (mp058) with SMTP; 29 Sep 2008 19:25:20 +0200 X-Authenticated: #18511094 X-Provags-ID: V01U2FsdGVkX18G+8l4Xx0GB/lz7BYVWSf5xH2ShbWNK7xntbUCTa VVMggRiWb3pKxP Date: Mon, 29 Sep 2008 19:33:56 +0200 From: herbert langhans To: freebsd-questions@freebsd.org Message-Id: <20080929193356.ca608fbf.herbert.raimund@gmx.net> Organization: private X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Subject: Midnight Commander's subshell gone.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 17:52:06 -0000 Hi Daemons, I have just updated /usr/ports/misc/mc to Mignight Commander 4.6.1. As root I can switch with CTRL+O to the shell prompt, all fine. But as a normal user the shell prompt disappears when I hit CTRL+O. Both xterm and without X I have the same symptoms. So I have set all mc-related files in /usr/local/share/mc to 777 to check. I use both in /root/ as well in /home/herbs/ the same .profile and ./mc files -- still not working.. The previous mc-version ran just fine. What am I doing wrong?? Thanks for ideas! herbs From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 18:01:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 269881065688 for ; Mon, 29 Sep 2008 18:01:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 400848FC08 for ; Mon, 29 Sep 2008 18:01:24 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8TI1F5N003572; Mon, 29 Sep 2008 20:01:15 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8TI1EnY003569; Mon, 29 Sep 2008 20:01:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 29 Sep 2008 20:01:14 +0200 (CEST) From: Wojciech Puchar To: herbert langhans In-Reply-To: <20080929193356.ca608fbf.herbert.raimund@gmx.net> Message-ID: <20080929200058.V3562@wojtek.tensor.gdynia.pl> References: <20080929193356.ca608fbf.herbert.raimund@gmx.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Midnight Commander's subshell gone.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 18:01:26 -0000 > Both xterm and without X I have the same symptoms. So I have set all mc-related files in /usr/local/share/mc to 777 to check. I use both in /root/ as well in /home/herbs/ the same .profile and ./mc files -- still not working.. > > The previous mc-version ran just fine. > What am I doing wrong?? using new versions.. install mc-light from ports. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 19:56:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EE371065697 for ; Mon, 29 Sep 2008 19:56:27 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from mx01.hdsnet.hu (mx01.hdsnet.hu [193.110.57.2]) by mx1.freebsd.org (Postfix) with ESMTP id F326F8FC1D for ; Mon, 29 Sep 2008 19:56:26 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from [92.249.232.5] (helo=Picasso.Zahemszky.HU) by mx01.hdsnet.hu with esmtpa (HDSNet mail 1.1} #1) id 1KkOOv-0007Gd-Rr for freebsd-questions@freebsd.org; Mon, 29 Sep 2008 21:27:21 +0200 Date: Mon, 29 Sep 2008 21:27:36 +0200 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= To: freebsd-questions@freebsd.org Message-ID: <20080929212736.70634956@Picasso.Zahemszky.HU> Organization: Zahemszky Bt. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Subject: Writing hald .fdi files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 19:56:27 -0000 Hi! I've bought an external disk. I can mount it by hand, with mount -t msdosfs -o large /dev/xxx /mnt command. (I have to use the "-o large" option.) I use XFCE4, with Thunar-volman-plugin. When I plug my new disk in, I got a message box: Cannot mount, try with "-o large" option. So I'd like to say to the "automounter" of Thunar, to use the mount_msdosfs command with that "-o large" option. After some googling, I found HAL specification on http://webcvs.freedesktop.org/hal/hal/doc/spec/hal-spec.html?view=3Dco&path= rev=3DHEAD and wrote that .fdi file: =3D=3D /usr/local/share/hal/fdi/policy/30user/10-add-mount-option-for-Verba= tim.fdi =3D=3D true= =3D=3D=3D=3D My problem is: after plugging my disk in, in lshal output, I can see the ne= w key: volume.policy.mount_option.large ( =3D true) , but got the same error messa= ge about the mounting problem. I tried it with Linux (+GNOME). Linux can mount my disk, so I tried to mount with read-only flag. The same problem: I can see my new key, but it hasn't got any effect (well, it has. without my .fdi file, it can mount = with rw, but with my .fdi file, it cannot mount. Neither rw, nor ro.) So my question: how can I make an .fdi file, which tells to these "automoun= ters": if this is device X from vendor Y, mount it with mount option XY! Thanks, G=E1bor --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!';IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "= $j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';s= et -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j" From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 20:13:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4B90106568E for ; Mon, 29 Sep 2008 20:13:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 967848FC0C for ; Mon, 29 Sep 2008 20:13:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 7FAF8AFBC02; Mon, 29 Sep 2008 12:13:11 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 29 Sep 2008 22:13:09 +0200 User-Agent: KMail/1.9.7 References: <20080929212736.70634956@Picasso.Zahemszky.HU> In-Reply-To: <20080929212736.70634956@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809292213.09877.fbsd.questions@rachie.is-a-geek.net> Cc: Zahemszky =?iso-8859-2?q?G=E1bor?= Subject: Re: Writing hald .fdi files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 20:13:12 -0000 On Monday 29 September 2008 21:27:36 Zahemszky G=E1bor wrote: > So my question: how can I make an .fdi file, which tells to these > "automounters": > > if this is device X from vendor Y, mount it with mount option XY! Add a noauto mountpoint to /etc/fstab, with all the correct options. Though, hal is one of those projects that sparked my sig - too many ways to= =20 possibly do it, not enough straight ways to really do it. So, maybe check this too: http://www.freebsd.org/gnome/docs/halfaq.html#q3 =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 20:33:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9651106569E for ; Mon, 29 Sep 2008 20:33:24 +0000 (UTC) (envelope-from chris@upnix.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id 712908FC0A for ; Mon, 29 Sep 2008 20:33:24 +0000 (UTC) (envelope-from chris@upnix.com) Received: by gxk10 with SMTP id 10so10918800gxk.19 for ; Mon, 29 Sep 2008 13:33:23 -0700 (PDT) Received: by 10.142.230.11 with SMTP id c11mr2371333wfh.302.1222718417127; Mon, 29 Sep 2008 13:00:17 -0700 (PDT) Received: by 10.142.216.14 with HTTP; Mon, 29 Sep 2008 13:00:17 -0700 (PDT) Message-ID: <7fd868cc0809291300r10f1856du2f9fb71e7985b98d@mail.gmail.com> Date: Mon, 29 Sep 2008 14:00:17 -0600 From: "Chris Cameron" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: AuthPF not updating rules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 20:33:24 -0000 I have /etc/authpf created, with an empty authpf.conf inside. Also inside is users/'username'/authpf.rules, which is not writable by anyone but root. Also, my AuthPF user has authpf as a shell. I've also jumped through 2 undocumented hoops of creating and permission-ing /var/authpf and mounting fdescfs. All that aside, I can log in and get my Hello. However, not only does my rule not work, but doing "pfctl -s rules | grep 'client-ip-address'" brings back nothing. Can anyone tell me something I may have missed? If I make a syntax error, I see pfctl complain, so I'm sure that the file is being read. Appreciate any help, Chris From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 21:21:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BDE106568F for ; Mon, 29 Sep 2008 21:21:31 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 573418FC17 for ; Mon, 29 Sep 2008 21:21:31 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 95490F25BE06 for ; Mon, 29 Sep 2008 23:21:29 +0200 (CEST) Received: from [88.134.86.218] (helo=sushi.pseudo.local) by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1KkQBN-00032V-00 for freebsd-questions@freebsd.org; Mon, 29 Sep 2008 23:21:29 +0200 Received: from sushi.pseudo.local (localhost [127.0.0.1]) by sushi.pseudo.local (8.14.3/8.14.3) with ESMTP id m8TLLQnw004628 for ; Mon, 29 Sep 2008 23:21:26 +0200 (CEST) (envelope-from tobi@sushi.pseudo.local) Received: (from tobi@localhost) by sushi.pseudo.local (8.14.3/8.14.3/Submit) id m8TLLQMY004627 for freebsd-questions@freebsd.org; Mon, 29 Sep 2008 23:21:26 +0200 (CEST) (envelope-from tobi) Date: Mon, 29 Sep 2008 23:21:26 +0200 From: Tobias Rehbein To: freebsd-questions@freebsd.org Message-ID: <20080929212126.GA4093@sushi.pseudo.local> Mail-Followup-To: freebsd-questions@freebsd.org References: <20080911174721.GA10261@sushi.pseudo.local> <20080913173102.GA84554@sushi.pseudo.local> <61786698@bs1.sp34.ru> <20080918182023.GA2827@sushi.pseudo.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080918182023.GA2827@sushi.pseudo.local> User-Agent: Mutt/1.4.2.3i Sender: tobias.rehbein@web.de X-Sender: tobias.rehbein@web.de X-Provags-ID: V01U2FsdGVkX1/7jNFj/8OcDDuvtJBZ3e04RfsdLoAqCCk6+E2M jarg8eNfqtiK9Tb9GjV/ENGINwPUn3P+Zolqs9xcBiUIxUt/wq hRJgmWsewcj04h2ZV7+w== Subject: Re: Jailing net/skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 21:21:31 -0000 For the archive: I finally got skype working in a jailed environment. The hardest part was to define the ports needed using trial and error. Here are the leaf ports installed in my jail: ===>>> skype-2.0.0.72,1 ===>>> xauth-1.0.2 ===>>> xorg-fonts-100dpi-7.3 ===>>> xorg-fonts-75dpi-7.3 ===>>> xorg-fonts-cyrillic-7.3 ===>>> xorg-fonts-miscbitmaps-7.3 ===>>> xorg-fonts-truetype-7.3 ===>>> xorg-fonts-type1-7.3 ===>>> 8 leaf ports xauth is needed to enable X-forwarding in ssh. The fonts are needed to avoid the core dumps mentioned earlier in this thread. I hope somenone finds this useful. Regards Tobias -- Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314 From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 21:43:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C124F1065690; Mon, 29 Sep 2008 21:43:58 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id A3B838FC34; Mon, 29 Sep 2008 21:43:58 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [127.0.0.1] (localhost [127.0.0.1]) by a.cs.okstate.edu (Postfix) with ESMTP id 9A8EC155250; Mon, 29 Sep 2008 16:19:26 -0500 (CDT) Message-ID: <48E1465A.5040903@cs.okstate.edu> Date: Mon, 29 Sep 2008 16:19:22 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.12 (X11/20080414) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 21:43:58 -0000 I've seen a number of people having DMA troubles with SATA disks on FreeBSD6 and FreeBSD7, and I'm in the same boat. A while back I posted looking for help but none could really be found. Today I finally got to the bottom of things (at least so far). Hardware incompatibility. According to http://en.wikipedia.org/wiki/SATA#SATA_1.5_Gbit.2Fs_and_SATA_3_Gbit.2Fs there is an upward compatibility problem between a number of VIA and SiS chipsets and SATA300 disks. I happen to have one of those controllers (SiS964) and a pair of WD1600AAJS disks, which are SATA300 disks. I ripped apart my machine, and sure enough I had a jumper on each disk labelled 'OPT1', which is documented to force SATA150 operation. I've since cold booted, warm booted, and booted after a power interruption with no READ_DMA timeouts on these disks. I think this solved the problem in my case. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 02:53:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E34A106568A for ; Tue, 30 Sep 2008 02:53:38 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 614758FC2E for ; Tue, 30 Sep 2008 02:53:38 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.emeryville.ca.mail.comcast.net ([76.96.30.36]) by QMTA10.emeryville.ca.mail.comcast.net with comcast id Ln4Z1a01B0mlR8UAAqddcH; Tue, 30 Sep 2008 02:37:37 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA11.emeryville.ca.mail.comcast.net with comcast id Lqdc1a0064v8bD78Xqdct4; Tue, 30 Sep 2008 02:37:37 +0000 X-Authority-Analysis: v=1.0 c=1 a=OnME0ldVxRYA:10 a=21ZTrG9WxEAA:10 a=QycZ5dHgAAAA:8 a=8pif782wAAAA:8 a=h5Oh2V-OyvkqBDEYoSYA:9 a=wNJTJ1FNFNAkGXCPbnYA:7 a=6i4lQWvGzZq3h6O9232IqtAWX88A:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=ab-cVblaaOsA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 24426C9432; Mon, 29 Sep 2008 19:37:36 -0700 (PDT) Date: Mon, 29 Sep 2008 19:37:36 -0700 From: Jeremy Chadwick To: Reid Linnemann Message-ID: <20080930023736.GA22907@icarus.home.lan> References: <48E1465A.5040903@cs.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E1465A.5040903@cs.okstate.edu> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 02:53:38 -0000 (I'm not subscribed to freebsd-questions, so please CC me on replies. I'm also not sure how I ended up getting this mail in the first place; it looks like someone BCC'd my koitsu@freebsd.org address). Reid, The Wikipedia article you refer to documents a very well-known topic: the SATA150-limiting jumpers on hard disks. Drive vendors have this jumper enabled (capped) by default due to incompatibilities with certain chipsets (VIA, SiS, and nVidia -- who isn't mentioned). The jumper in question is available on Western Digital and Seagate disks; I have not checked to see if Maxtor, Samsung, or Fujitsu disks offer this capability. Maxtor disks also have further incompatibilities with nVidia chipsets, specifically with regards to broken NCQ support (the disk will literally lock up/hang, causing Windows or other operating systems to blue screen or crash). A disk firmware update from Maxtor is available to fix this problem, but you have to go through Tier 1 support hell to get the patch. Additionally, the patch does not increment/change the f/w version string, so there's no way to tell if your drive already has the patch or not. (I do have the patch laying around, but I can't remember which models of Maxtor disk it affects.) Furthermore, one of the most common reports on the FreeBSD lists is the exact opposite -- users complaining that "their disks are SATA300 but only operate at SATA150" (caused by that jumper). Users are told to remove the jumper, and are reminded that the reason the jumper is enabled by default is said chipset incompatibilities. That said, your mail confuses me for one reason: Were you receiving DMA errors with the jumper REMOVED (e.g. SATA300 operation), or with the jumper ENABLED (SATA150 operation)? Your below description does not state what exactly you did with the jumper to make your drives work reliably, only "that the jumper capability on your disks was available". -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | On Mon, Sep 29, 2008 at 04:19:22PM -0500, Reid Linnemann wrote: > I've seen a number of people having DMA troubles with SATA disks on > FreeBSD6 and FreeBSD7, and I'm in the same boat. A while back I posted > looking for help but none could really be found. Today I finally got to > the bottom of things (at least so far). > > Hardware incompatibility. > > According to > http://en.wikipedia.org/wiki/SATA#SATA_1.5_Gbit.2Fs_and_SATA_3_Gbit.2Fs > there is an upward compatibility problem between a number of VIA and SiS > chipsets and SATA300 disks. I happen to have one of those controllers > (SiS964) and a pair of WD1600AAJS disks, which are SATA300 disks. > > I ripped apart my machine, and sure enough I had a jumper on each disk > labelled 'OPT1', which is documented to force SATA150 operation. > > I've since cold booted, warm booted, and booted after a power > interruption with no READ_DMA timeouts on these disks. I think this > solved the problem in my case. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 06:55:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 409E5106568C for ; Tue, 30 Sep 2008 06:55:07 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (203-219-142-174.static.tpgi.com.au [203.219.142.174]) by mx1.freebsd.org (Postfix) with ESMTP id AAD2A8FC17 for ; Tue, 30 Sep 2008 06:55:06 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (localhost [127.0.0.1]) by bacardi.frase.id.au (8.14.2/8.14.2) with ESMTP id m8U6t4WW000105 for ; Tue, 30 Sep 2008 16:55:04 +1000 (EST) (envelope-from Fraser@bacardi.frase.id.au) Received: (from Fraser@localhost) by bacardi.frase.id.au (8.14.2/8.14.2/Submit) id m8U6t4cm000104 for freebsd-questions@freebsd.org; Tue, 30 Sep 2008 16:55:04 +1000 (EST) (envelope-from Fraser) Date: Tue, 30 Sep 2008 16:55:04 +1000 From: Fraser Tweedale To: freebsd-questions@freebsd.org Message-ID: <20080930065503.GA89763@bacardi.frase.id.au> References: <20080928040152.GA7159@bacardi.frase.id.au> <48E10999.9070005@cyberleo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <48E10999.9070005@cyberleo.net> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [OT] Apache SSL certificate authentication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 06:55:07 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 29, 2008 at 12:00:09PM -0500, CyberLeo Kitsana wrote: > Fraser Tweedale wrote: > > - Create my CA key and a CSR, and have CACert sign it. >=20 > Are you sure it's signed as an intermediary CA? cacert.org's website > suggests they will only sign leaf certificates. > http://wiki.cacert.org/wiki/SubRoot >=20 > Fortunately, your client certs need not be signed by the same CA as your > server cert, and it's probably somewhat pointless to have a client cert > (which will be used for your infrastructure alone) vetted by a third part= y. >=20 > --=20 > Fuzzy love, > -CyberLeo > Technical Administrator > CyberLeo.Net Webhosting > http://www.CyberLeo.Net > >=20 > Furry Peace! - http://wwww.fur.com/peace/ > Thanks for the clarification. I hadn't picked up on the fact that you need a special intermediary cert for the server cert to validate up the chain. Well, nevermind. It's just for personal use anyway... if only X.509 could be simple like OpenPGP :) frase --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjhzUcACgkQPw/2FZbemTW+cwCfWJkAGb0Msurn7KdQdV9HkvHn P20AnAs6lRGWUXfX1KN84jmQlCVKAm9+ =AogY -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 07:03:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A082106568B for ; Tue, 30 Sep 2008 07:03:46 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51107.mail.re2.yahoo.com (web51107.mail.re2.yahoo.com [206.190.38.149]) by mx1.freebsd.org (Postfix) with SMTP id 09E398FC29 for ; Tue, 30 Sep 2008 07:03:45 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 86059 invoked by uid 60001); 30 Sep 2008 07:03:45 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=u8HFw1Cydk6stlTbvRHSxgBDdSZNhXthOXDR/X9VhJJWp82bEEHA0SqmoBzeFUkQQOXBmpaErzYjrYNjI8KwzAubteEKohkrE9b6iUeopfoITY1UfLYMGUFKmTvU8wjZoXBC09REtK0yUPaflV//5HXfhaNZe6dBb5kXYeZysKc=; X-YMail-OSG: kmkU5eYVM1kvoctgROaoEHPb3RIE5MujphlwIUU_SObtDfbfVmoIa1XSbsWpi7MC0ECw79cdXmpYV2_igJfIqWlMGQ4p30PfcNouGsTOpB.CXeYMbvx8te79FWYYFMfqq9MX0xV0wBOzlRKvDvEkIMP00Wb_PpfiLY.f..6rCOu5mIar7w-- Received: from [82.136.213.253] by web51107.mail.re2.yahoo.com via HTTP; Tue, 30 Sep 2008 00:03:44 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Tue, 30 Sep 2008 00:03:44 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <19726.85435.qm@web51107.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problems installing package gnucash & dependecies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 07:03:46 -0000 Hi all, I try to install this gnucash package on my amd64 system running freebsd 6.= 3 and get the following output: =A0pkg_add -r gnucash Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /Latest/gnucash.tbz... Done. Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/cdrtools-2.01_6.tbz... Done. pkg_add: package 'cdrtools-2.01_6' conflicts with cjk-cdrtools-2.01.2004122= 7_2 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f= to force installation pkg_add: pkg_add of dependency 'cdrtools-2.01_6' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/gamin-0.1.9.tbz... Done. pkg_add: package 'gamin-0.1.9' conflicts with fam-2.6.10_3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f= to force installation pkg_add: pkg_add of dependency 'gamin-0.1.9' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/libgsf-gnome-1.14.7.tbz... Done. pkg_add: could not find package cdrtools-2.01_6 ! pkg_add: could not find package gamin-0.1.9 ! pkg_add: pkg_add of dependency 'libgsf-gnome-1.14.7' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/goffice-0.4.3_1.tbz... Done. pkg_add: could not find package cdrtools-2.01_6 ! pkg_add: could not find package gamin-0.1.9 ! pkg_add: could not find package libgsf-gnome-1.14.7 ! pkg_add: pkg_add of dependency 'goffice-0.4.3_1' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/yelp-2.20.0.tbz... Done. pkg_add: could not find package cdrtools-2.01_6 ! pkg_add: could not find package gamin-0.1.9 ! pkg_add: pkg_add of dependency 'yelp-2.20.0' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/gnucash-docs-2.2.0_2.tbz... Done. pkg_add: could not find package cdrtools-2.01_6 ! pkg_add: could not find package gamin-0.1.9 ! pkg_add: could not find package yelp-2.20.0 ! pkg_add: pkg_add of dependency 'gnucash-docs-2.2.0_2' failed! Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-6.3-release= /All/gtkhtml3-3.12.3_2.tbz... Done. pkg_add: could not find package cdrtools-2.01_6 ! pkg_add: could not find package gamin-0.1.9 ! pkg_add: pkg_add of dependency 'gtkhtml3-3.12.3_2' failed! # pkg_info | grep -e cdrtools gives=20 =A0=A0 =20 cjk-cdrtools-2.01.20041227_2 CD/CD-R[W] and ISO-9660 image creation and ext= raction tools /etc/make.conf gives: WITH_FAM_SYSTEM=3Dfam X11BASE=3D${LOCALBASE} #WITH_GHOSTSCRIPT_GNU=3Dyes # added by use.perl 2008-09-16 09:45:34 PERL_VER=3D5.8.8 PERL_VERSION=3D5.8.8 WITH_CUPS=3DYES CUPS_OVERWRITE_BASE=3DYES WITHOUT_LPR=3DYES I think I added fam because of the fact that I have built openoffice.org on= numerous occasions. Hope somebody can help. Brgds Dino =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 07:37:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581CA1065694 for ; Tue, 30 Sep 2008 07:37:14 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from correo.cdmon.com (correo.cdmon.com [212.36.74.112]) by mx1.freebsd.org (Postfix) with ESMTP id 127018FC21 for ; Tue, 30 Sep 2008 07:37:14 +0000 (UTC) (envelope-from jordi@cdmon.com) Received: from localhost (localhost.cdmon.com [127.0.0.1]) by correo.cdmon.com (Postfix) with ESMTP id BB67C130E66 for ; Tue, 30 Sep 2008 09:37:12 +0200 (CEST) X-Spam-Flag: NO X-Spam-Score: 0.757 X-Spam-Level: X-Spam-Status: No, score=0.757 required=5.9 tests=[AWL=-1.132, BAYES_50=0.001, MISSING_HEADERS=1.292, SPF_SOFTFAIL=0.596] Received: from correo.cdmon.com ([127.0.0.1]) by localhost (correo.cdmon.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sik1mhimUtlV for ; Tue, 30 Sep 2008 09:37:10 +0200 (CEST) Received: from [192.168.0.174] (62.Red-217-126-43.staticIP.rima-tde.net [217.126.43.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by correo.cdmon.com (Postfix) with ESMTP id 61FDF130CD8 for ; Tue, 30 Sep 2008 09:37:10 +0200 (CEST) Message-ID: <48E1D725.1090205@cdmon.com> Date: Tue, 30 Sep 2008 09:37:09 +0200 From: Jordi Moles Blanco User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <19726.85435.qm@web51107.mail.re2.yahoo.com> In-Reply-To: <19726.85435.qm@web51107.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: postfix-pipe complains: no such file or directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jordi@cdmon.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 07:37:14 -0000 Hi everyone, i was wondering if someone has experienced this problem i've been having for 2 weeks now. I'm running Freebsd 7.0 and postfix-2.5.1. The thing is that i've set up a filter written in C using postfix's "pipe" feature. The filter works great most of the times.... but every 2-3 days.... mainly depending on the amount of load... FreeBSD hangs completely(or almost completely) and leaves this message behind: ************ pipe[44634]: fatal: pipe_command: execvp /usr/local/etc/postfix/quota_postfix: No such file or directory. ************* This file is never touched, i mean, it's still there even when the system says it can't find the file. I've tried to change permissions of the file, just in case. Right now the owner is root:wheel, but i've tried "postfix", also "filter", and so on. in the master.cf, i've got this: ************ # quota_postfix quota_postfix unix - n n - 20 pipe flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix "localhost" "10028" "${sender}" "${recipient}" "${domain}" ************ has anyone experienced that? it's a very strange thing that only gets fixed when you restart postfix. Sometimes i even have to reboot the machine. This started happening some weeks after i upgraded from 6.3 to 7.0, i had had this script working for over a year without any problem at all. i would be very pleased if someone can throw some light on this issue. Thanks in advance!!!! From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 08:21:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB91B106568E; Tue, 30 Sep 2008 08:21:07 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 176798FC16; Tue, 30 Sep 2008 08:21:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8U8Ktw1015510; Tue, 30 Sep 2008 10:20:55 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8U8KrWd015507; Tue, 30 Sep 2008 10:20:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 30 Sep 2008 10:20:53 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20080930023736.GA22907@icarus.home.lan> Message-ID: <20080930102004.B15506@wojtek.tensor.gdynia.pl> References: <48E1465A.5040903@cs.okstate.edu> <20080930023736.GA22907@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Reid Linnemann , freebsd-questions@freebsd.org Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 08:21:08 -0000 > The Wikipedia article you refer to documents a very well-known topic: > the SATA150-limiting jumpers on hard disks. Drive vendors have this > jumper enabled (capped) by default due to incompatibilities with certain in friday i bought 2 new 750GB disks, connected it and got SATA-300, one was samsung other seagate. so not all vendors From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 09:40:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81665106568D; Tue, 30 Sep 2008 09:40:33 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 08EF88FC21; Tue, 30 Sep 2008 09:40:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KkbiM-0000mG-JB; Tue, 30 Sep 2008 10:40:32 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KkbiK-0003Rj-KA; Tue, 30 Sep 2008 10:40:17 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m8U9eFW7004219; Tue, 30 Sep 2008 10:40:16 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m8U9eDDt004197; Tue, 30 Sep 2008 10:40:13 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 30 Sep 2008 10:40:13 +0100 From: Anton Shterenlikht To: Dino Vliet Message-ID: <20080930094013.GA2679@mech-cluster238.men.bris.ac.uk> References: <842318.56498.qm@web30801.mail.mud.yahoo.com> <450128.93840.qm@web51108.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <450128.93840.qm@web51108.mail.re2.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Cc: gnome@freebsd.org, D?nielisz L?szl? , freebsd-questions@freebsd.org Subject: Re: stop in usr/ports/www/firefox3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 09:40:33 -0000 On Mon, Sep 29, 2008 at 05:54:20AM -0700, Dino Vliet wrote: > Hi Laci, >   > I did "portsnap fetch update" so I guess that should do the trick. >   > Or not? also see [Bug 449373] firefox3 FreeBSD Alpha build fails on bugzilla.mozilla.org I gave up on firefox3 on FBSD Alpha, use kazehakase instead. regards -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 09:50:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18E481065694; Tue, 30 Sep 2008 09:50:12 +0000 (UTC) (envelope-from ray@one.com.au) Received: from smtp1.dnsmadeeasy.com (smtp1.dnsmadeeasy.com [205.234.170.134]) by mx1.freebsd.org (Postfix) with ESMTP id E2FEB8FC22; Tue, 30 Sep 2008 09:50:11 +0000 (UTC) (envelope-from ray@one.com.au) Received: from smtp1.dnsmadeeasy.com (localhost [127.0.0.1]) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP id 04D68321806; Tue, 30 Sep 2008 09:50:16 +0000 (UTC) X-Authenticated-Name: raynewman X-Transit-System: In case of SPAM please contact abuse@dnsmadeeasy.com Received: from [10.10.10.13] (CPE-121-210-192-140.qld.bigpond.net.au [121.210.192.140]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp1.dnsmadeeasy.com (Postfix) with ESMTP; Tue, 30 Sep 2008 09:50:15 +0000 (UTC) Message-Id: <49116C4C-B153-405A-A1D8-9B4B45606982@one.com.au> From: Ray Newman To: John Hein In-Reply-To: <18615.61491.957269.935152@gromit.timing.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 30 Sep 2008 19:49:52 +1000 References: <7FD401C4-3F70-4B91-9235-0EEA290C3967@one.com.au> <18615.61491.957269.935152@gromit.timing.com> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-x11@freebsd.org, freebsd-questions@freebsd.org, xorg@lists.freedesktop.org Subject: Re: Dual (zaphod) head on Intel i810 does not work for FreeBSD V7.0 Release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 09:50:12 -0000 I've now spent a month trying to make this work. Sure it "sort of" works until we try to do consistent graphics work with wish under kde; then we CANNOT get consistent results with and without the second screen. IS THERE ANY WAY TO START THIS MESS LOOKING LIKE ONE SCREEN. IT JUST DOESN'T WORK. Ray Newman On 29/08/2008, at 10:48 PM, John Hein wrote: > Ray Newman wrote at 17:56 +1000 on Aug 29, 2008: >> Under FreeBSD V6.2 Release (X 6.9.0 and i810 1.4.1) with this >> xorg.conf, this log file >> is produced and the dual screen config works. > . > . >> Under FreeBSD V7.0 Release (X 1.4.0 and i810 1.6.5) with this >> xorg.conf which is nearly >> identical with the previous one, this log file is produced and the >> dual screen doesn't work. >> It seems to get the primary and secondary screens totally confused. > > What if you try x11-drivers/xf86-video-intel instead of > x11-drivers/xf86-video-i810? > From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 09:54:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87221065695 for ; Tue, 30 Sep 2008 09:54:25 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc3-s21.bay0.hotmail.com (bay0-omc3-s21.bay0.hotmail.com [65.54.246.221]) by mx1.freebsd.org (Postfix) with ESMTP id D19D08FC1E for ; Tue, 30 Sep 2008 09:54:25 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.23]) by bay0-omc3-s21.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 02:54:25 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 02:54:25 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV13.phx.gbl with DAV; Tue, 30 Sep 2008 09:54:21 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: References: <1222681181.48e0a25d094c3@www.inbox.lv> In-Reply-To: <1222681181.48e0a25d094c3@www.inbox.lv> Date: Tue, 30 Sep 2008 16:53:37 +0700 Message-ID: <008b01c922e2$69192a60$3b4b7f20$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckiGeGGxyJe38lFSH+nyWCJX3hlggAidSuw Content-Language: en-au X-OriginalArrivalTime: 30 Sep 2008 09:54:25.0449 (UTC) FILETIME=[85802190:01C922E2] Subject: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 09:54:26 -0000 Hello, I am building a 6x500GB SATA HARDWARE RAID5 storage server to - Store large files, 10BM~1GB/file - Handling 500+ concurrent connections - Transfer rate around 100~200Mbit/s I am thinking of using the patch from Wojciech Puchar to reduce hard drive data seek in order to handle large number of concurrent connections whilst outputting 100~200Mbit/s. patch /usr/src/sys/sys/param.h #ifndef DFLTPHYS #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size */ #endif #ifndef MAXPHYS #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ #endif #ifndef MAXDUMPPGS To store files greater than 10MB, I come up with the following proposal for my File System: - UFS2 - Soft Update Enable - block-size 1,048,576 I am not completely sure what advantage I got from this configuration but I am pretty sure that FSCK is much quicker with 1M file system block-size. Is there any other thing I need to consider in term of performance and reliability? I hope that this system will perform much better than my current 6x300GB SCSI 10K RPM system. Appreciate any advice, Danny From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 10:01:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7779106568B for ; Tue, 30 Sep 2008 10:01:03 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id 70EDF8FC1F for ; Tue, 30 Sep 2008 10:01:03 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2368831rvf.43 for ; Tue, 30 Sep 2008 03:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ozc8rm+RTK3TRlz7SElxM1FTf4+1sPYg7MvLxOV/Ztc=; b=a1jav65zPpIe/yqVCvRr2+T/3AkoZJoFAkSTaNNIVzL0Z309ACUlSEhqPcLU1WL5x7 SNdED8SEotMYYKCIym8Uls8OpBv/fkvrwJ7TJc0cDEK8AJh2YmWra52gtKnXxMONrkwm fPzrDWyCRvxtmMHfLX/fMnSQWJkz2pgSU+rLU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=mE1b2NwETj5ExIpDH7apxTuMx7/zsvTTYRIK74P0Fe4IlA8umEq8VZd8dz8sbb/x4O 3FcYZQx6rIYfst7thCD9oeGY7J9BWCJP4Hh8UH9O9zLq6kKyXyz7Ei93QYbkWrJNtbUI lcs9kmPR2cyUY/3oFyMirncPRQ+12ozyXQ8mY= Received: by 10.141.79.12 with SMTP id g12mr3241588rvl.126.1222768862270; Tue, 30 Sep 2008 03:01:02 -0700 (PDT) Received: by 10.141.128.12 with HTTP; Tue, 30 Sep 2008 03:01:02 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 03:01:02 -0700 From: "Mike Price" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Command to rechown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 10:01:03 -0000 I had to ( chown -R /etc/ ) I to edit the ( pf.conf ), how do I rechowm or restore ( /etc ) ? Can you please send me the command. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 10:58:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22ADD106568A for ; Tue, 30 Sep 2008 10:58:51 +0000 (UTC) (envelope-from mohsen@pahlevanzadeh.org) Received: from smtp.hosting.parsonline.net (smtp.hosting.parsonline.net [213.217.60.12]) by mx1.freebsd.org (Postfix) with SMTP id 68A7C8FC1D for ; Tue, 30 Sep 2008 10:58:49 +0000 (UTC) (envelope-from mohsen@pahlevanzadeh.org) Received: (qmail 85219 invoked from network); 30 Sep 2008 14:03:29 +0330 Received: from unknown (HELO ?192.168.249.126?) (mohsen@pahlevanzadeh.org@192.168.249.126) by 0 with SMTP; 30 Sep 2008 14:03:29 +0330 From: Mohsen Pahlevanzadeh To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Tue, 30 Sep 2008 14:02:00 +0330 Message-Id: <1222770721.3363.16.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: SPP & qmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mohsen@pahlevanzadeh.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 10:58:51 -0000 Dear all, I installed freebsd 7.0 & install qmail from /usr/ports/mail/qmail & instal courier & vpopmail. Now i wanna use spp & i don't know to how to patch it. Please help me..... Yours, Mohsen From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 11:02:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E662B106568A for ; Tue, 30 Sep 2008 11:02:07 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9B2A18FC1F for ; Tue, 30 Sep 2008 11:02:07 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 6C74D142025; Tue, 30 Sep 2008 14:02:06 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from iris.teledomenet.local (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id 804A4142119; Tue, 30 Sep 2008 14:02:00 +0300 (EEST) From: Nikos Vassiliadis To: stevefranks@ieee.org, nvass@teledomenet.gr Date: Tue, 30 Sep 2008 14:05:04 +0300 User-Agent: KMail/1.9.7 References: <539c60b90809271052q4acc58c0g8595eaf6f37f2287@mail.gmail.com> <200809291217.54790.nvass@teledomenet.gr> <539c60b90809290940v6921300er4ee357401266bd1@mail.gmail.com> In-Reply-To: <539c60b90809290940v6921300er4ee357401266bd1@mail.gmail.com> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200809301405.05173.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: can't add interfaces to bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 11:02:08 -0000 On Monday 29 September 2008 19:40:56 Steve Franks wrote: > Just trying to string some old printers & the like off my rl0 and get > them onto the local wifi net via ath0. ath0 is connected to an AP. Well, currently, you can't bridge rl0 and ath0. If I understood correctly, you want to make the printers available to others computers living on the wifi net, right? 1) Isn't plain IP forwarding enough? You can add a static route to the AP and it will redirect every request for the ethernet_segment to your FreeBSD box, which will forward them to the printers, etc. 2) You can use 1:1 NAT to map each IP address attached to rl0 ethernet segment to another IP on the wifi Is this helping? Nikos From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 11:03:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0BF1065689 for ; Tue, 30 Sep 2008 11:03:33 +0000 (UTC) (envelope-from mohsen@pahlevanzadeh.org) Received: from smtp.hosting.parsonline.net (smtp.hosting.parsonline.net [213.217.60.12]) by mx1.freebsd.org (Postfix) with SMTP id 4DCC98FC12 for ; Tue, 30 Sep 2008 11:03:31 +0000 (UTC) (envelope-from mohsen@pahlevanzadeh.org) Received: (qmail 87794 invoked from network); 30 Sep 2008 14:34:53 +0330 Received: from unknown (HELO ?192.168.249.126?) (mohsen@pahlevanzadeh.org@192.168.249.126) by 0 with SMTP; 30 Sep 2008 14:34:53 +0330 From: Mohsen Pahlevanzadeh To: freebsd-questions@freebsd.org In-Reply-To: <1222770721.3363.16.camel@debian> References: <1222770721.3363.16.camel@debian> Content-Type: text/plain Date: Tue, 30 Sep 2008 14:33:28 +0330 Message-Id: <1222772610.3363.26.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: Re: SPP & qmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mohsen@pahlevanzadeh.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 11:03:33 -0000 Of course, i need to know which patch is build in to qmail now. On Tue, 2008-09-30 at 14:02 +0330, Mohsen Pahlevanzadeh wrote: > Dear all, > > I installed freebsd 7.0 & install qmail from /usr/ports/mail/qmail & > instal courier & vpopmail. > Now i wanna use spp & i don't know to how to patch it. > Please help me..... > > Yours, > Mohsen > > _______________________________________________ > 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 Sep 30 11:51:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C82C106568D for ; Tue, 30 Sep 2008 11:51:52 +0000 (UTC) (envelope-from sgeorge.ml@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id EB2418FC19 for ; Tue, 30 Sep 2008 11:51:51 +0000 (UTC) (envelope-from sgeorge.ml@gmail.com) Received: by gxk10 with SMTP id 10so11434066gxk.19 for ; Tue, 30 Sep 2008 04:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=bbiti8erHb6WyYtSa1I7YXMRmZO4VX/BuWSJWL0unmY=; b=SanwlJ76155Tg0p/IUyy+RSUZT+Fzf8s6bApMXQkfBOA/W9xT4zwfPuv+3P6kaL4wv gZIrgPDt9ssT49u2P+eZAbNDfIFvzQd8+KvLRs+Py6NovXvzSLSZO5qPoptCM6mXguqx jKZ/rGSiLhE2134wU2YtfbpiZI8i1HWilDiNU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ODuOWyVh9YjCsCQANqjpQW50Xq//L5JEU1D7QjH8eEDKZwVSFwr9MJNUyFfmYanXDk Q8g69br4zvJdIqEZ4y4hk5loQIutdqNI64Xo5iS8mxl8amNZvdK9BJRtlhpcHLVpvlTl /4X8axc+mAh/oI1a+7oDZEXPmP9cvvzhT+1Xw= Received: by 10.90.32.14 with SMTP id f14mr7174364agf.48.1222774307953; Tue, 30 Sep 2008 04:31:47 -0700 (PDT) Received: by 10.90.116.19 with HTTP; Tue, 30 Sep 2008 04:31:47 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 17:01:47 +0530 From: "Siju George" To: "freebsd list" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: error installing smb4k with cups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 11:51:52 -0000 Hi, Below is the error message. How do I trouble shoot it? Thanks Siju ===> Patching for cups-base-1.3.5_2 ===> Applying FreeBSD patches for cups-base-1.3.5_2 Ignoring previously applied (or reversed) patch. 10 out of 10 hunks ignored--saving rejects to cups/ipp.c.rej => Patch patch-CVE-2007-4351 failed to apply cleanly. *** Error code 1 Stop in /usr/ports/print/cups-base. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/x11-toolkits/qt33. *** Error code 1 Stop in /usr/ports/net/smb4k. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 12:58:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D21B106568D for ; Tue, 30 Sep 2008 12:58:01 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE7E8FC1A for ; Tue, 30 Sep 2008 12:58:00 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 8E00878DF; Tue, 30 Sep 2008 07:33:28 -0500 (CDT) Received: from [192.168.1.143] (c-76-17-219-196.hsd1.mn.comcast.net [76.17.219.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 915604A6761; Tue, 30 Sep 2008 07:33:27 -0500 (CDT) Message-ID: <48E21C66.8080407@FreeBSD.org> Date: Tue, 30 Sep 2008 07:32:38 -0500 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Danny Do References: <1222681181.48e0a25d094c3@www.inbox.lv> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 12:58:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Danny Do wrote: > Hello, > > I am building a 6x500GB SATA HARDWARE RAID5 storage server to > - Store large files, 10BM~1GB/file > - Handling 500+ concurrent connections > - Transfer rate around 100~200Mbit/s > > I am thinking of using the patch from Wojciech Puchar to reduce hard drive > data seek in order to handle large number of concurrent connections whilst > outputting 100~200Mbit/s. > > patch /usr/src/sys/sys/param.h > #ifndef DFLTPHYS > #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size > */ > #endif > #ifndef MAXPHYS > #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ > #endif > #ifndef MAXDUMPPGS > > > To store files greater than 10MB, I come up with the following proposal for > my File System: > - UFS2 > - Soft Update Enable > - block-size 1,048,576 > > I am not completely sure what advantage I got from this configuration but I > am pretty sure that FSCK is much quicker with 1M file system block-size. > > Is there any other thing I need to consider in term of performance and > reliability? > > I hope that this system will perform much better than my current 6x300GB > SCSI 10K RPM system. > > Appreciate any advice, > > Danny Why do you think slower drives using an interface that has known problems handling concurrent connections will be faster than faster drives using an interface designed for concurrency? Based on my experiences with SATA vs. U160/U320 SCSI or SAS your likely outcome is to see a marked decrease in performance. I'd be interested to hear your results. - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI4hxmJvkB8SevrssRAqErAJ0Tt9WPT25RhkUfGVLxEzSykEMvtwCeKXRV jdgJ/whLeeAQ3E97i7FkB4w= =UyD6 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 13:00:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 860AB10656AF for ; Tue, 30 Sep 2008 13:00:51 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 31F4F8FC1E for ; Tue, 30 Sep 2008 13:00:50 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.13.8) with ESMTP id m8UD0nuZ033335; Tue, 30 Sep 2008 08:00:49 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fW3gORbuCnam; Tue, 30 Sep 2008 08:00:46 -0500 (CDT) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.14.2/8.13.8) with ESMTP id m8UD0g7U033327; Tue, 30 Sep 2008 08:00:42 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <48E222F4.1030307@daleco.biz> Date: Tue, 30 Sep 2008 08:00:36 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: freebsd-questions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mike Price Subject: Re: Command to rechown X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 13:00:51 -0000 Mike Price wrote: > I had to ( chown -R /etc/ ) I to edit the ( pf.conf ), how do I rechowm or > restore ( /etc ) ? > > Can you please send me the command. Hmm, why did you have to chown an entire directory to edit one file? su(1), and, perhaps even better, sudo(8) are meant for such things AFAIK. As for restoring permissions on /etc/, mtree(8) is your friend ... I'd recommend taking a look at the manpage, however, because IANAE. However, all disclaimers included, I *think* you want % cd / % mtree -U -f /etc/mtree/BSD.root.dist Kevin Kinsey -- It is now pitch dark. If you proceed, you will likely fall into a pit. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 13:07:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 293581065686 for ; Tue, 30 Sep 2008 13:07:50 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id E81EC8FC15 for ; Tue, 30 Sep 2008 13:07:49 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so7898wfg.7 for ; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=FJkVtaM/PX2y/ezS4C4tGl5sLyvbMSMshRcst/VGYhI=; b=wOnc4wr3X8ftirArKQKdUCtJ4UkwWWevUacRg+KSBpBCWoUR3vWy4z+Weup5v8SvZ3 6MB4UV8eIxomzXZLa6jYqafKaXD720j8g3GsSAu649fHpSftjhlLOUPxl9bsjTOITSvB MftJjmzjlcZnZ2+QMz5+SpjsIytjCq8Ggx/08= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=mwUJoYeZrqfWq3KuifQfBkHa2rYsa/8HNZokBPT3Cl50MW1Ld+O4HRV87wMeG8NtCJ OpH+VenjqwIKb9476Rz3L2raTMaMAKqtejU/5TECodCuWsonnP/FR84TPl+YUw7Tc5ES FfGHRNgfgmV/XllNoXG8zBVNd7nx+4keGIyKo= Received: by 10.142.188.4 with SMTP id l4mr2786710wff.151.1222780069347; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) Received: by 10.142.240.12 with HTTP; Tue, 30 Sep 2008 06:07:49 -0700 (PDT) Message-ID: <3b93bd110809300607i34b26e2cy4648ab1c21bc6ec8@mail.gmail.com> Date: Tue, 30 Sep 2008 08:07:49 -0500 From: "Diego F. Arias R." To: "Josh Paetzel" In-Reply-To: <48E21C66.8080407@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> Cc: Danny Do , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 13:07:50 -0000 On Tue, Sep 30, 2008 at 7:32 AM, Josh Paetzel wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Danny Do wrote: >> Hello, >> >> I am building a 6x500GB SATA HARDWARE RAID5 storage server to >> - Store large files, 10BM~1GB/file >> - Handling 500+ concurrent connections >> - Transfer rate around 100~200Mbit/s >> >> I am thinking of using the patch from Wojciech Puchar to reduce hard drive >> data seek in order to handle large number of concurrent connections whilst >> outputting 100~200Mbit/s. >> >> patch /usr/src/sys/sys/param.h >> #ifndef DFLTPHYS >> #define DFLTPHYS (1024 * 1024) /* default max raw I/O transfer size >> */ >> #endif >> #ifndef MAXPHYS >> #define MAXPHYS (1024 * 1024) /* max raw I/O transfer size */ >> #endif >> #ifndef MAXDUMPPGS >> >> >> To store files greater than 10MB, I come up with the following proposal for >> my File System: >> - UFS2 >> - Soft Update Enable >> - block-size 1,048,576 >> >> I am not completely sure what advantage I got from this configuration but I >> am pretty sure that FSCK is much quicker with 1M file system block-size. >> >> Is there any other thing I need to consider in term of performance and >> reliability? >> >> I hope that this system will perform much better than my current 6x300GB >> SCSI 10K RPM system. >> >> Appreciate any advice, >> >> Danny > > Why do you think slower drives using an interface that has known > problems handling concurrent connections will be faster than faster > drives using an interface designed for concurrency? > > Based on my experiences with SATA vs. U160/U320 SCSI or SAS your likely > outcome is to see a marked decrease in performance. I'd be interested > to hear your results. > > > - -- > Thanks, > > Josh Paetzel > > PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI4hxmJvkB8SevrssRAqErAJ0Tt9WPT25RhkUfGVLxEzSykEMvtwCeKXRV > jdgJ/whLeeAQ3E97i7FkB4w= > =UyD6 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Interface concurrent connection problems?, do you have a link or something? actually i recommend again the RAID 10, if you want performance for heavy I/O (multiple reading,not only one file lineal reading) for storage intensive apps its the way to go. -- mmm, interesante..... From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 13:37:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7EB1065689 for ; Tue, 30 Sep 2008 13:37:20 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc2-s11.bay0.hotmail.com (bay0-omc2-s11.bay0.hotmail.com [65.54.246.147]) by mx1.freebsd.org (Postfix) with ESMTP id CF3768FC20 for ; Tue, 30 Sep 2008 13:37:20 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.15]) by bay0-omc2-s11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 06:37:20 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 06:37:20 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV5.phx.gbl with DAV; Tue, 30 Sep 2008 13:37:16 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Josh Paetzel'" References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> In-Reply-To: <48E21C66.8080407@FreeBSD.org> Date: Tue, 30 Sep 2008 20:36:28 +0700 Message-ID: <00b301c92301$8ab5a7b0$a020f710$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acki+L1ND24edaYxRS+F7FNc7/AlCAAACDgQ Content-Language: en-au X-OriginalArrivalTime: 30 Sep 2008 13:37:20.0412 (UTC) FILETIME=[A99985C0:01C92301] Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 13:37:21 -0000 >Why do you think slower drives using an interface that has known >problems handling concurrent connections will be faster than faster >drives using an interface designed for concurrency? My current 6x300GB SCSI system using the FreeBSD "default max raw I/O transfer size" (64KB). Assume that all reads are random. In order to read 1MB from the hard drive, it would cost: -> 1024/64 * (seek time + time to read 64K) -> 16 * (8ms + <1ms) [average seek time on SATA 7200RPM is 8ms, make it 0ms for read time] -> 128ms to read 1MB If I change the "default max raw I/O transfer size" to 1MB it would only cost (8ms seek time + 2.6ms read 1MB using SATA300). So, the time to read 1MB is only about 10.6ms. As we can see here reading 1MB from the hard disk is at least 10 times better if we increase the "default max raw I/O transfer size" to 1MB. This is mainly because the main cost for reading random data from hard disk is seek time. I think the drawback from such configuration is that our server will consume at least: - n concurrent connections * "default max raw I/O transfer size" of memory just for reading the data from hard disk. RAM quite cheap these days, I think it's ok. >Based on my experiences with SATA vs. U160/U320 SCSI or SAS your likely >outcome is to see a marked decrease in performance. I'd be interested >to hear your results. If both SATA and SCSI system using the same configuration, the end result should be obvious. However, If SCSI system using 64K IO transfer size whilst SATA using 1MB IO transfer size, I don't know! I think the SATA system will outperform the SCSI system. I'll let you know when I get the new SATA system from my ISP. Cheers, Danny From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 14:15:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53B041065688; Tue, 30 Sep 2008 14:15:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 661458FC13; Tue, 30 Sep 2008 14:15:45 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8UEFajW016768; Tue, 30 Sep 2008 16:15:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8UEFZf2016765; Tue, 30 Sep 2008 16:15:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 30 Sep 2008 16:15:35 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20080930161407.E16761@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: 'Josh Paetzel' , freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 14:15:47 -0000 > SATA using 1MB IO transfer size, I don't know! I think the SATA system will SATA drives aren't much slower than SCSI. simply make this 1MB IO transfer size. as you still want "hardware" RAID5 it looks you simply read maybe every second word from my mails we exchanged privately. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 14:48:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDAE1065689 for ; Tue, 30 Sep 2008 14:48:27 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF538FC38 for ; Tue, 30 Sep 2008 14:48:27 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so7553wra.27 for ; Tue, 30 Sep 2008 07:48:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=knyLCfg7Rarcvy48xuZ7ZDpvq8iTubdVX7DJ4Pl+6/U=; b=YTwhS6m4kkapWsp8b6fFrGOKoDjBJ0FBVejg2jxKz3VIANWKZ1MBft7CzLXCD3I6rc huJuBfPFJeyW2bfcAoQXAbwReoieUfzlq3KXjUVKGUt4zO+uHd480BjnBjoBZ/mcKwCb 3zm3gc0qyGYDKgo1eErNaj1F/cFJ2eGxCNlOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dShTxN2fUtmBqz50LMRCL8VjBNMDntTr3ukkd4RSFVF0b7B4dDNzB5/S1WQR3BGjt9 G1sOyZGL2DTyujGIJRyLWRshiJon4ORr/OY2Uo1k2wOj9jhzuyPsaFlLQ0f2OGc3b6BW V8wAN4ZzkM5DCuiwQbvd080ECMUEfzbNLgGNs= Received: by 10.150.57.5 with SMTP id f5mr10131814yba.60.1222786106521; Tue, 30 Sep 2008 07:48:26 -0700 (PDT) Received: by 10.150.149.12 with HTTP; Tue, 30 Sep 2008 07:48:26 -0700 (PDT) Message-ID: <92bcbda50809300748s427f88f9ubefb40a942bb0ab0@mail.gmail.com> Date: Tue, 30 Sep 2008 16:48:26 +0200 From: "n j" To: "FreeBSD Questions" In-Reply-To: <48DA7B8A.2050606@chdevelopment.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92bcbda50809230858j2dc39695x3135291bb2a3ddc7@mail.gmail.com> <48DA7B8A.2050606@chdevelopment.se> Subject: Re: Recompile kernel or module for ipfw+nat? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 14:48:27 -0000 >> however, there is a kernel module called ipdivert.ko >> Is it still necessary to recompile the kernel in order to use nat with >> ipfw? Or, to put it another way, is there a possibility to use nat and >> keep the generic kernel? > You can choose to use the modules or make it static by recompile the kernel. > IMHO the ipnat(8) is a more simple way to get nat. Thank you for your input. I'd prefer to use the module, however it doesn't seem to work: # ipfw add nat 123 all from any to any <-- example from the man page gives: ipfw: getsockopt(IP_FW_ADD): Invalid argument even though: # kldstat Id Refs Address Size Name ... 6 2 0xc4400000 d000 ipfw.ko 7 1 0xc9b33000 4000 ipdivert.ko So, the original question remains - do I really need to recompile the kernel in order to use NAT with IPFW? As far as ipnat(8) goes, switching to ipfilter (which is mandatory if I intend to use ipnat?) is not really an option. Thanks, -- Nino From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 15:55:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A8D31065687 for ; Tue, 30 Sep 2008 15:55:21 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc2-s22.bay0.hotmail.com (bay0-omc2-s22.bay0.hotmail.com [65.54.246.158]) by mx1.freebsd.org (Postfix) with ESMTP id E21F08FC1D for ; Tue, 30 Sep 2008 15:55:20 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.14]) by bay0-omc2-s22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 08:55:20 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 08:55:20 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV4.phx.gbl with DAV; Tue, 30 Sep 2008 15:55:18 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Wojciech Puchar'" References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> In-Reply-To: <20080930161407.E16761@wojtek.tensor.gdynia.pl> Date: Tue, 30 Sep 2008 22:54:29 +0700 Message-ID: <00c301c92314$d295a3b0$77c0eb10$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckjBwmgCpR6GOYmTYuqcKkDNblqrwAChbAA Content-Language: en-au X-OriginalArrivalTime: 30 Sep 2008 15:55:20.0666 (UTC) FILETIME=[F10403A0:01C92314] Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 15:55:21 -0000 Hi Wojciech Puchar, The reason I want to use hardware RAID is because I got so much problem with software RAID5 4 years ago on FreeBSD 5.4. I still remember those nightmares. Furthermore, hardware RAID5 doesn't require much knowledge and management. But you could be right, the CPU speed is triple now, software RAID gets smarter and more stable, it could perform better than hardware RAID because it's more flexible. But again, I still prefer hardware because it's easy to use and easy to manage. Thanks all the tips Wojciech Puchar, Danny -----Original Message----- From: Wojciech Puchar [mailto:wojtek@wojtek.tensor.gdynia.pl] Sent: Tuesday, 30 September 2008 9:16 PM To: Danny Do Cc: 'Josh Paetzel'; freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 > SATA using 1MB IO transfer size, I don't know! I think the SATA system will SATA drives aren't much slower than SCSI. simply make this 1MB IO transfer size. as you still want "hardware" RAID5 it looks you simply read maybe every second word from my mails we exchanged privately. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 16:40:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C9C2106568D for ; Tue, 30 Sep 2008 16:40:51 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 0F1E28FC08 for ; Tue, 30 Sep 2008 16:40:50 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so54806nfh.33 for ; Tue, 30 Sep 2008 09:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=PzQtLYUtfMEGPY8C8ySkUwBzT22Gd1bcoUTNzpnTFh4=; b=u6oYEG3V5g5aVbOpyhMJ+cysRW7vBEgmrsBKdS/e3w7VWfW3HaslGwCKVZFqd7+nvS ItvGQCAA8WDnrkPOKsmOUrURh3Yzsa7AnOhyBmL4rnwxzDgIogchKnz912kxCCkcLxa+ 5I/OjMC6ujESpg6ubcEy3TXx96Z/0Ws8jLMSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ViMAneKuzCwaBpsqYjM07QvCmBafSYc9qGTQ7sds8WwQzyBbxQOIVs1zWJy6N3BATj Ld2o0gCdsjNPCzeOkDwxmTBgrQX6WmXYlzZnnVw5ADSmQnId3cXRl6YstyNW4Qm3o/Qb YXFvm/hrS3ZlBi5nASjPaKmJA2gpmeY21rA9s= Received: by 10.210.76.12 with SMTP id y12mr3782707eba.101.1222791512092; Tue, 30 Sep 2008 09:18:32 -0700 (PDT) Received: by 10.210.116.2 with HTTP; Tue, 30 Sep 2008 09:18:32 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 19:18:32 +0300 From: EforeZZ To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: built-in samba mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 16:40:51 -0000 Hello all, Is it possible to mount the samba share //pc/share/folder? It is possible to do this in Windows and it works. I have troubles in FreeBSD: I'm able to mount only //pc/share (not //pc/share/folder) and I do not have read access to read contents of "//pc/share" and FreeBSD does not let me to change the directory to "//pc/share/folder". Windows allows to mount //pc/share/folder and I have no access problems in Windows. Is there any solution for FreeBSD? Thanks beforehand. Best regards, EforeZZ From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 16:54:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 698DB10656A0; Tue, 30 Sep 2008 16:54:17 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from a.cs.okstate.edu (a.cs.okstate.edu [139.78.113.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A5528FC12; Tue, 30 Sep 2008 16:54:17 +0000 (UTC) (envelope-from lreid@cs.okstate.edu) Received: from [127.0.0.1] (localhost [127.0.0.1]) by a.cs.okstate.edu (Postfix) with ESMTP id A2E1D155429; Tue, 30 Sep 2008 11:54:15 -0500 (CDT) Message-ID: <48E259B4.3040100@cs.okstate.edu> Date: Tue, 30 Sep 2008 11:54:12 -0500 From: Reid Linnemann User-Agent: Thunderbird 2.0.0.12 (X11/20080414) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E1465A.5040903@cs.okstate.edu> <20080930023736.GA22907@icarus.home.lan> In-Reply-To: <20080930023736.GA22907@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 16:54:17 -0000 Jeremy Chadwick wrote: > (I'm not subscribed to freebsd-questions, so please CC me on replies. > I'm also not sure how I ended up getting this mail in the first place; > it looks like someone BCC'd my koitsu@freebsd.org address). > Yes, I BCC'd you since you are maintaining a page on the wiki documenting SATA DMA problems. > Furthermore, one of the most common reports on the FreeBSD lists is the > exact opposite -- users complaining that "their disks are SATA300 but > only operate at SATA150" (caused by that jumper). Users are told to > remove the jumper, and are reminded that the reason the jumper is > enabled by default is said chipset incompatibilities. > > That said, your mail confuses me for one reason: > > Were you receiving DMA errors with the jumper REMOVED (e.g. SATA300 > operation), or with the jumper ENABLED (SATA150 operation)? Your below > description does not state what exactly you did with the jumper to make > your drives work reliably, only "that the jumper capability on your > disks was available". > I should have been more clear. My disks came with no cap on the SATA150 jumper, although FreeBSD reported that they were in SATA150 mode. The system would be unusable from READ_DMA timeouts if the system was ever powered off and brought back up. I had to do some voodoo of booting in single user mode with ACPI turned off to repair filesystems and rebuild my gmirror, then load ACPI and drop back into multi-user mode. I even had to do this if the system was powered off gracefully. So far, since I capped the jumpers this has not been the case. I still get them periodically if I do something like rebuild a gmirror component, so I can no longer say my problem is completely resolved. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 17:29:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7539C1065687 for ; Tue, 30 Sep 2008 17:29:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 18D868FC17 for ; Tue, 30 Sep 2008 17:29:50 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 8189EAFBC02; Tue, 30 Sep 2008 09:29:49 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2008 19:29:26 +0200 User-Agent: KMail/1.9.7 References: <48E1465A.5040903@cs.okstate.edu> <20080930023736.GA22907@icarus.home.lan> <48E259B4.3040100@cs.okstate.edu> In-Reply-To: <48E259B4.3040100@cs.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809301929.27126.fbsd.questions@rachie.is-a-geek.net> Cc: Jeremy Chadwick , Reid Linnemann Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 17:29:51 -0000 On Tuesday 30 September 2008 18:54:12 Reid Linnemann wrote: > Jeremy Chadwick wrote: > > (I'm not subscribed to freebsd-questions, so please CC me on replies. > > I'm also not sure how I ended up getting this mail in the first place; > > it looks like someone BCC'd my koitsu@freebsd.org address). > > Yes, I BCC'd you since you are maintaining a page on the wiki > documenting SATA DMA problems. > > > Furthermore, one of the most common reports on the FreeBSD lists is the > > exact opposite -- users complaining that "their disks are SATA300 but > > only operate at SATA150" (caused by that jumper). Users are told to > > remove the jumper, and are reminded that the reason the jumper is > > enabled by default is said chipset incompatibilities. > > > > That said, your mail confuses me for one reason: > > > > Were you receiving DMA errors with the jumper REMOVED (e.g. SATA300 > > operation), or with the jumper ENABLED (SATA150 operation)? Your below > > description does not state what exactly you did with the jumper to make > > your drives work reliably, only "that the jumper capability on your > > disks was available". > > I should have been more clear. > > My disks came with no cap on the SATA150 jumper, although FreeBSD > reported that they were in SATA150 mode. The system would be unusable > from READ_DMA timeouts if the system was ever powered off and brought > back up. I had to do some voodoo of booting in single user mode with > ACPI turned off to repair filesystems and rebuild my gmirror, then load > ACPI and drop back into multi-user mode. I even had to do this if the > system was powered off gracefully. So far, since I capped the jumpers > this has not been the case. I still get them periodically if I do > something like rebuild a gmirror component, so I can no longer say my > problem is completely resolved. Is this on 7.x? Sounds very similar to my experience described in: http://www.freebsd.org/cgi/query-pr.cgi?pr=122572&cat=kern The machine is now operational and working in UDMA33 mode with two gmirror'ed SATA, using 6.3-p4. Unfortunately, I can't risk "trying 7.x" anymore, since it's emergency storage for the main fileserver, so dataloss is unacceptable :/. I do not know about the jumper state at the moment. I will inform if there will be a window real soon now, to check for jumpers. Ata info: # atacontrol list ATA channel 0: Master: acd0 ATA/ATAPI revision 5 Slave: no device present ATA channel 1: Master: no device present Slave: no device present ATA channel 2: Master: ad4 Serial ATA II Slave: no device present ATA channel 3: Master: ad6 Serial ATA II Slave: no device present # atacontrol cap ad4 Protocol Serial ATA II device model WDC WD6400AAKS-65A7B0 serial number WD-WMASY1885186 firmware revision 01.03B01 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 1250263728 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security no no power management yes yes advanced power management no no 0/0x00 automatic acoustic management yes yes 128/0x80 128/0x80 # atacontrol mode ad4 current mode = UDMA33 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 17:38:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44566106568D for ; Tue, 30 Sep 2008 17:38:05 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id D07708FC1F for ; Tue, 30 Sep 2008 17:38:04 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m8UHc2lj004305; Tue, 30 Sep 2008 19:38:03 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id ACF2DBA84; Tue, 30 Sep 2008 19:38:02 +0200 (CEST) Date: Tue, 30 Sep 2008 19:38:02 +0200 From: Roland Smith To: EforeZZ Message-ID: <20080930173802.GB16426@slackbox.xs4all.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XF85m9dhOBO43t/C" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: built-in samba mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 17:38:05 -0000 --XF85m9dhOBO43t/C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 30, 2008 at 07:18:32PM +0300, EforeZZ wrote: > Hello all, >=20 > Is it possible to mount the samba share //pc/share/folder? It should be. > I have troubles in FreeBSD: > I'm able to mount only //pc/share (not //pc/share/folder) and I do not ha= ve > read access to read contents of "//pc/share" and FreeBSD does not let me = to > change the directory to "//pc/share/folder". > Windows allows to mount //pc/share/folder and I have no access problems in > Windows. > Is there any solution for FreeBSD? Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A quick look tells us that you'll need to use //user@pc/share/folder instead of //pc/share/folder. Other options allow you to configure access rights and owner/group attributes. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XF85m9dhOBO43t/C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjiY/oACgkQEnfvsMMhpyVczwCglr4852j9FAKIG0Zfkh5eI6zo oKcAoKJ1R9shFeMHmlPdfbAUhkxmk0fb =OfMR -----END PGP SIGNATURE----- --XF85m9dhOBO43t/C-- From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 18:55:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0F2A106568B for ; Tue, 30 Sep 2008 18:55:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C54F18FC23 for ; Tue, 30 Sep 2008 18:55:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8UItbks020052; Tue, 30 Sep 2008 20:55:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8UIta9q020049; Tue, 30 Sep 2008 20:55:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 30 Sep 2008 20:55:36 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20080930205435.B20033@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 18:55:49 -0000 > > The reason I want to use hardware RAID is because I got so much problem with > software RAID5 4 years ago on FreeBSD 5.4. I still remember those > nightmares. Furthermore, hardware RAID5 doesn't require much knowledge and > management. > > But you could be right, the CPU speed is triple now, software RAID gets > smarter and more stable, it could perform better than hardware RAID because > it's more flexible. But again, I still prefer hardware because it's easy to it's someone more than that, still - you don't read my mails carefully. you will get better performance with my patch, but still it will be crappy with your "hardware" RAIDs compared to what it should be From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:14:25 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D127106568D for ; Tue, 30 Sep 2008 19:14:25 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 822EE8FC13 for ; Tue, 30 Sep 2008 19:14:24 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp3-g19.free.fr (smtp3-g19.free.fr [212.27.42.29]) by postfix2-g20.free.fr (Postfix) with ESMTP id 42ACB2AA4B04 for ; Tue, 30 Sep 2008 18:44:06 +0200 (CEST) Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 2C44417B5E8 for ; Tue, 30 Sep 2008 20:44:22 +0200 (CEST) Received: from q.gid0.org (s.gid0.org [88.163.116.140]) by smtp3-g19.free.fr (Postfix) with ESMTP id EF83F17B616 for ; Tue, 30 Sep 2008 20:44:05 +0200 (CEST) Received: (from zozo@localhost) by q.gid0.org (8.14.3/8.14.3/Submit) id m8UIi2SP023864 for questions@freebsd.org; Tue, 30 Sep 2008 20:44:02 +0200 (CEST) (envelope-from zozo) Date: Tue, 30 Sep 2008 20:44:02 +0200 From: Olivier Smedts To: questions@freebsd.org Message-ID: <20080930184401.GA23783@q.gid0.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:14:25 -0000 Hello hackers, I'm trying to cross-compile an i386 FreeBSD system (kernel+world+ports) under my amd64 host : % uname -srm FreeBSD 8.0-CURRENT amd64 I updated my CURRENT sources yesterday. So far I've got a working FreeBSD (kernel+world) in a 512MB image I can dump on a CompactFlash card : # cd /usr/src # make buildworld TARGET=i386 # make buildkernel TARGET=i386 # mount /dev/md0a /mnt (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) # make installworld TARGET=i386 DESTDIR=/mnt # make distribution TARGET=i386 DESTDIR=/mnt # make installkernel TARGET=i386 DESTDIR=/mnt The problem is that I can't chroot in this 32-bit world. Say I want to install the sysutils/screen port in /mnt : # mkdir /mnt/usr/ports # mount -t nullfs /usr/ports /mnt/usr/ports # mount -t devfs devfs /mnt/dev # chroot /mnt /bin/sh -c "cd /usr/ports/sysutils/screen && make BATCH=yes \ install clean" ELF interpreter /libexec/ld-elf.so.1 not found Abort trap Of course it's the same with the new (new since a year or so) ports DESTDIR since it's based on chroot : # cd /usr/ports/sysutils/screen # make DESTDIR=/mnt install clean ===> Creating some important subdirectories ===> Starting chrooted make in /mnt... ELF interpreter /libexec/ld-elf.so.1 not found Abort trap ===> Chrooted make in /mnt failed ===> Cleaning up... I can directly execute /mnt/bin/sh or any program in /mnt without problems. As expected, file gives me : /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), stripped /mnt/libexec/ld-elf.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, stripped Host kernel with COMPAT_IA32 and world without WITHOUT_LIB32 didn't help. I tried temporarily replacing /mnt/libexec/ld-elf.so.1 with the 64-bit one, but the same problem occurs. Using ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-current/ is not an option because I don't use default OPTIONS. Is there a way or another to chroot in this i386 world from my amd64 host ? Olivier -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:28:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6794E1065697 for ; Tue, 30 Sep 2008 19:28:44 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3927A8FC25 for ; Tue, 30 Sep 2008 19:28:43 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 09A74AFBC02; Tue, 30 Sep 2008 11:28:42 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2008 21:28:39 +0200 User-Agent: KMail/1.9.7 References: <20080930184401.GA23783@q.gid0.org> In-Reply-To: <20080930184401.GA23783@q.gid0.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> Cc: Olivier Smedts Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:28:44 -0000 On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: > So far I've got a working FreeBSD (kernel+world) in a 512MB image I can > dump on a CompactFlash card : > # cd /usr/src > # make buildworld TARGET=i386 > # make buildkernel TARGET=i386 > # mount /dev/md0a /mnt > (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) > # make installworld TARGET=i386 DESTDIR=/mnt > # make distribution TARGET=i386 DESTDIR=/mnt > # make installkernel TARGET=i386 DESTDIR=/mnt > > The problem is that I can't chroot in this 32-bit world. > Say I want to install the sysutils/screen port in /mnt : > > # mkdir /mnt/usr/ports > # mount -t nullfs /usr/ports /mnt/usr/ports > # mount -t devfs devfs /mnt/dev It's a guess, but at this point: chroot /mnt /etc/rc.d/ldconfig start If that don't work: /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ /mnt/usr/lib Does that work / change the error or no change at all? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:38:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D617A1065686 for ; Tue, 30 Sep 2008 19:38:49 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id D92238FC14 for ; Tue, 30 Sep 2008 19:38:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8UJcYlj001529; Tue, 30 Sep 2008 21:38:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8UJcYo8001526; Tue, 30 Sep 2008 21:38:34 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 30 Sep 2008 21:38:34 +0200 (CEST) From: Wojciech Puchar To: Mel In-Reply-To: <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080930213801.G1511@wojtek.tensor.gdynia.pl> References: <20080930184401.GA23783@q.gid0.org> <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Olivier Smedts , freebsd-questions@freebsd.org Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:38:49 -0000 > chroot /mnt /etc/rc.d/ldconfig start > > If that don't work: > /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ > /mnt/usr/lib > > Does that work / change the error or no change at all? > -- lost of 32-bit programs won't work, like those assuming some kernel data is some format, ps, top, netstat for example From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:40:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F301065689 for ; Tue, 30 Sep 2008 19:40:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 87B458FC26 for ; Tue, 30 Sep 2008 19:40:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Kkl4k-0006zP-IJ for freebsd-questions@freebsd.org; Tue, 30 Sep 2008 19:40:02 +0000 Received: from 68.178.109.53 ([68.178.109.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2008 19:40:02 +0000 Received: from cavaughan by 68.178.109.53 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2008 19:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Curtis Vaughan Date: Tue, 30 Sep 2008 19:34:55 +0000 (UTC) Lines: 22 Message-ID: <522C5309-B296-477B-B32C-675C4DCF14A1%cavaughan@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 68.178.109.53 User-Agent: Xnntp/beta06 (UNIBIN Mac OS 10.4.11+) Sender: news Subject: Server setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:40:03 -0000 I am setting up a new server and have a question. This server has three 8GB SCSIs, and one 160 GB IDE. I was interested in striping the SCSIs, which I have done. After installing FreeBSD 7 on the IDE, I set up the stripe and moved /var over to it. So, my first question would be whether I should put /var on the stripe or /usr ? My next question might be whether it was even worth striping the SCSI's and just installing, say, /var/log to one drive, /usr/home to another, etc.... Final question, assuming I go ahead with putting /var on the SCSI's, how do I now recover the partition that was being used by /var? There's about 3 Gb on there. Perhaps I could just mount it as /usr/ports? or should I choose a different approach? Thanks for any input. OH! BTW. This is going to be a backup server using BackupPC, so I will be installing an additional IDE later. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:43:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E940B10656D6 for ; Tue, 30 Sep 2008 19:43:28 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from mx01.hdsnet.hu (mx01.hdsnet.hu [193.110.57.2]) by mx1.freebsd.org (Postfix) with ESMTP id A71618FC15 for ; Tue, 30 Sep 2008 19:43:28 +0000 (UTC) (envelope-from Gabor@Zahemszky.HU) Received: from [92.249.232.160] (helo=Picasso.Zahemszky.HU) by mx01.hdsnet.hu with esmtpa (HDSNet mail 1.1} #1) id 1Kkl7j-0005f3-Le; Tue, 30 Sep 2008 21:43:08 +0200 Date: Tue, 30 Sep 2008 21:43:20 +0200 From: Zahemszky =?ISO-8859-2?Q?G=E1bor?= To: freebsd-questions@freebsd.org Message-ID: <20080930214320.22d70064@Picasso.Zahemszky.HU> In-Reply-To: <200809292213.09877.fbsd.questions@rachie.is-a-geek.net> References: <20080929212736.70634956@Picasso.Zahemszky.HU> <200809292213.09877.fbsd.questions@rachie.is-a-geek.net> Organization: Zahemszky Bt. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: Mel Subject: Re: Writing hald .fdi files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:43:29 -0000 Mon, 29 Sep 2008 22:13:09 +0200 -n Mel =EDrta: > On Monday 29 September 2008 21:27:36 Zahemszky G=E1bor wrote: >=20 > > So my question: how can I make an .fdi file, which tells to these > > "automounters": > > > > if this is device X from vendor Y, mount it with mount option XY! >=20 > Add a noauto mountpoint to /etc/fstab, with all the correct options. >=20 > Though, hal is one of those projects that sparked my sig - too many > ways to possibly do it, not enough straight ways to really do it. > So, maybe check this too: > http://www.freebsd.org/gnome/docs/halfaq.html#q3 Hi! Thanks for your help, but it doesn't work. I read your mail, and that faq - btw, yo suggested to put that device info fstab, that faq suggest the opposite of that. I tried this line in /etc/fstab (this is line 13.) /dev/msdosfs/VERBATIM /home/zgabor/VERBATIM msdosfs large,noauto 0 0 - and tried it with /media/VERBATIM, /media, /mnt neither of them worked. I got the next error box: fstab: /etc/fstab:13: Inappropriate file type or format fstab: /etc/fstab:13: Inappropriate file type or format=20 org.freedesktop.Hal.Device.Volume.UnknownFailure I tried it with a "none" string as the mountdir, didn't work, too. Any other? Thanks, G=E1bor --=20 #!/bin/ksh Z=3D'21N16I25C25E30, 40M30E33E25T15U!';IFS=3D' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i =3D ? ]]&&print $i&&break;[[ $i =3D ??? ]]&&j=3D$i&&i=3D${i%?};typeset -i40 i=3D8#$i;print -n ${i#???};[[ "= $j" =3D ??? ]]&&print -n "${j#??} "&&j=3D;typeset +i i;};IFS=3D' 0123456789 ';s= et -- $Z;for i;{ [[ $i =3D , ]]&&i=3D2;[[ $i =3D ?? ]]||typeset -l i;j=3D"$j $i";typeset +l i;};print "$j" From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:57:26 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81701065686 for ; Tue, 30 Sep 2008 19:57:26 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.freebsd.org (Postfix) with ESMTP id 425FC8FC17 for ; Tue, 30 Sep 2008 19:57:26 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp2-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp2-g19.free.fr (Postfix) with ESMTP id AE41412B70A; Tue, 30 Sep 2008 21:57:24 +0200 (CEST) Received: from q.gid0.org (s.gid0.org [88.163.116.140]) by smtp2-g19.free.fr (Postfix) with ESMTP id 61FC912B748; Tue, 30 Sep 2008 21:57:24 +0200 (CEST) Received: (from zozo@localhost) by q.gid0.org (8.14.3/8.14.3/Submit) id m8UJvM17024143; Tue, 30 Sep 2008 21:57:22 +0200 (CEST) (envelope-from zozo) Date: Tue, 30 Sep 2008 21:57:22 +0200 From: Olivier Smedts To: Mel Message-ID: <20080930195721.GA24099@q.gid0.org> References: <20080930184401.GA23783@q.gid0.org> <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 19:57:26 -0000 On Tue, Sep 30, 2008 at 09:28:39PM +0200, Mel wrote: > On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: > > > So far I've got a working FreeBSD (kernel+world) in a 512MB image I can > > dump on a CompactFlash card : > > # cd /usr/src > > # make buildworld TARGET=i386 > > # make buildkernel TARGET=i386 > > # mount /dev/md0a /mnt > > (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) > > # make installworld TARGET=i386 DESTDIR=/mnt > > # make distribution TARGET=i386 DESTDIR=/mnt > > # make installkernel TARGET=i386 DESTDIR=/mnt > > > > The problem is that I can't chroot in this 32-bit world. > > Say I want to install the sysutils/screen port in /mnt : > > > > # mkdir /mnt/usr/ports > > # mount -t nullfs /usr/ports /mnt/usr/ports > > # mount -t devfs devfs /mnt/dev > > It's a guess, but at this point: > chroot /mnt /etc/rc.d/ldconfig start First, thank you for replying so fast ! /etc/rc.d/ldconfig is a /bin/sh script, and I can't run /bin/sh in this chroot. Same errors. > If that don't work: > /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ > /mnt/usr/lib After that command, the shared libraries are found, but ld refers to /mnt : # ldconfig -rf /mnt/var/run/ld-elf.so.hints /mnt/var/run/ld-elf.so.hints: search directories: /mnt/lib:/mnt/usr/lib 0:-lc.7 => /mnt/lib/libc.so.7 1:-lcrypt.4 => /mnt/lib/libcrypt.so.4 [...] And then when trying to chroot, still the same problem. I also can't launch ldconfig in the jail : # chroot /mnt/ /sbin/ldconfig -32 -s -f /var/run/ld-elf.so.hints /lib /usr/lib ELF interpreter /libexec/ld-elf.so.1 not found Abandon Cheers, Olivier > Does that work / change the error or no change at all? > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 20:32:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4ACF1065686 for ; Tue, 30 Sep 2008 20:32:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 701A48FC1F for ; Tue, 30 Sep 2008 20:32:17 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 346ADAFBC02; Tue, 30 Sep 2008 12:32:16 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2008 22:32:14 +0200 User-Agent: KMail/1.9.7 References: <20080929212736.70634956@Picasso.Zahemszky.HU> <200809292213.09877.fbsd.questions@rachie.is-a-geek.net> <20080930214320.22d70064@Picasso.Zahemszky.HU> In-Reply-To: <20080930214320.22d70064@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809302232.15062.fbsd.questions@rachie.is-a-geek.net> Cc: Zahemszky =?iso-8859-2?q?G=E1bor?= Subject: Re: Writing hald .fdi files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 20:32:17 -0000 On Tuesday 30 September 2008 21:43:20 Zahemszky G=E1bor wrote: > Mon, 29 Sep 2008 22:13:09 +0200 -n > > Mel =EDrta: > > On Monday 29 September 2008 21:27:36 Zahemszky G=E1bor wrote: > > > So my question: how can I make an .fdi file, which tells to these > > > "automounters": > > > > > > if this is device X from vendor Y, mount it with mount option XY! > > > > Add a noauto mountpoint to /etc/fstab, with all the correct options. > > > > Though, hal is one of those projects that sparked my sig - too many > > ways to possibly do it, not enough straight ways to really do it. > > So, maybe check this too: > > http://www.freebsd.org/gnome/docs/halfaq.html#q3 > > Hi! > > Thanks for your help, but it doesn't work. I read your mail, and that > faq - btw, yo suggested to put that device info fstab, that faq suggest > the opposite of that. Yeah, I just saw that. I distinctly remember a pkg-message from a port that= =20 said the opposite.=09 > I tried this line in /etc/fstab (this is line 13.) > > /dev/msdosfs/VERBATIM /home/zgabor/VERBATIM > msdosfs large,noauto 0 0 Just to make sure, mount /home/zgabor/VERBATIM works with this line? > - and tried it with /media/VERBATIM, /media, /mnt neither of them > worked. I got the next error box: > > fstab: /etc/fstab:13: Inappropriate file type or format > fstab: /etc/fstab:13: Inappropriate file type or format > org.freedesktop.Hal.Device.Volume.UnknownFailure > > I tried it with a "none" string as the mountdir, didn't work, too. No idea, I see 'large' is=20 in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi, under= =20 vfat allowed options. Maybe you should match on device/vendor string, rather then glabel device=20 node. I've been using devd succesfully, since I last battled with hal, so I= 'm=20 out of answers. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 20:38:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 258C31065688 for ; Tue, 30 Sep 2008 20:38:13 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id E49A88FC0A for ; Tue, 30 Sep 2008 20:38:12 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 8843AAFBC02; Tue, 30 Sep 2008 12:38:11 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 30 Sep 2008 22:38:10 +0200 User-Agent: KMail/1.9.7 References: <20080930184401.GA23783@q.gid0.org> <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> <20080930195721.GA24099@q.gid0.org> In-Reply-To: <20080930195721.GA24099@q.gid0.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809302238.10566.fbsd.questions@rachie.is-a-geek.net> Cc: Olivier Smedts Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 20:38:13 -0000 On Tuesday 30 September 2008 21:57:22 Olivier Smedts wrote: > On Tue, Sep 30, 2008 at 09:28:39PM +0200, Mel wrote: > > On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: > > > So far I've got a working FreeBSD (kernel+world) in a 512MB image I can > > > dump on a CompactFlash card : > > > # cd /usr/src > > > # make buildworld TARGET=i386 > > > # make buildkernel TARGET=i386 > > > # mount /dev/md0a /mnt > > > (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) > > > # make installworld TARGET=i386 DESTDIR=/mnt > > > # make distribution TARGET=i386 DESTDIR=/mnt > > > # make installkernel TARGET=i386 DESTDIR=/mnt > > > > > > The problem is that I can't chroot in this 32-bit world. > > > Say I want to install the sysutils/screen port in /mnt : > > > > > > # mkdir /mnt/usr/ports > > > # mount -t nullfs /usr/ports /mnt/usr/ports > > > # mount -t devfs devfs /mnt/dev > > > > It's a guess, but at this point: > > chroot /mnt /etc/rc.d/ldconfig start > > First, thank you for replying so fast ! > > /etc/rc.d/ldconfig is a /bin/sh script, and I can't run /bin/sh in this > chroot. Same errors. > > > If that don't work: > > /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ > > /mnt/usr/lib > > After that command, the shared libraries are found, but ld refers to /mnt : > # ldconfig -rf /mnt/var/run/ld-elf.so.hints > /mnt/var/run/ld-elf.so.hints: > search directories: /mnt/lib:/mnt/usr/lib > 0:-lc.7 => /mnt/lib/libc.so.7 > 1:-lcrypt.4 => /mnt/lib/libcrypt.so.4 > [...] Right. cd /mnt rmdir mnt ln -s . mnt The old chroot symlink hack. > And then when trying to chroot, still the same problem. I also can't launch > ldconfig in the jail : > # chroot /mnt/ /sbin/ldconfig -32 -s -f /var/run/ld-elf.so.hints /lib > /usr/lib ELF interpreter /libexec/ld-elf.so.1 not found > Abandon If you have /rescue there, maybe chroot /mnt /rescue/ldconfig /lib /usr/lib will help you. I'm pretty sure it's the missing hints causing this. If all this fails, I'd try running /mnt as a jail. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 21:20:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99CBE1065691 for ; Tue, 30 Sep 2008 21:20:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3378FC15 for ; Tue, 30 Sep 2008 21:20:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id M5Y01a0030b6N64A89LVLf; Tue, 30 Sep 2008 21:20:29 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id M9LU1a00B4v8bD78P9LULk; Tue, 30 Sep 2008 21:20:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=OnME0ldVxRYA:10 a=21ZTrG9WxEAA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=Lf29nWkd3ZBMlacDh_YA:9 a=B3MBfEE_Bwob1-79ldsA:7 a=qwDxI_Vzuoseq7BOPrg00XZnw6oA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2A0B1C9419; Tue, 30 Sep 2008 14:20:28 -0700 (PDT) Date: Tue, 30 Sep 2008 14:20:28 -0700 From: Jeremy Chadwick To: Mel Message-ID: <20080930212028.GA56646@icarus.home.lan> References: <48E1465A.5040903@cs.okstate.edu> <20080930023736.GA22907@icarus.home.lan> <48E259B4.3040100@cs.okstate.edu> <200809301929.27126.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809301929.27126.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Reid Linnemann , freebsd-questions@freebsd.org Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 21:20:30 -0000 On Tue, Sep 30, 2008 at 07:29:26PM +0200, Mel wrote: > On Tuesday 30 September 2008 18:54:12 Reid Linnemann wrote: > > Jeremy Chadwick wrote: > > > (I'm not subscribed to freebsd-questions, so please CC me on replies. > > > I'm also not sure how I ended up getting this mail in the first place; > > > it looks like someone BCC'd my koitsu@freebsd.org address). > > > > Yes, I BCC'd you since you are maintaining a page on the wiki > > documenting SATA DMA problems. > > > > > Furthermore, one of the most common reports on the FreeBSD lists is the > > > exact opposite -- users complaining that "their disks are SATA300 but > > > only operate at SATA150" (caused by that jumper). Users are told to > > > remove the jumper, and are reminded that the reason the jumper is > > > enabled by default is said chipset incompatibilities. > > > > > > That said, your mail confuses me for one reason: > > > > > > Were you receiving DMA errors with the jumper REMOVED (e.g. SATA300 > > > operation), or with the jumper ENABLED (SATA150 operation)? Your below > > > description does not state what exactly you did with the jumper to make > > > your drives work reliably, only "that the jumper capability on your > > > disks was available". > > > > I should have been more clear. > > > > My disks came with no cap on the SATA150 jumper, although FreeBSD > > reported that they were in SATA150 mode. The system would be unusable > > from READ_DMA timeouts if the system was ever powered off and brought > > back up. I had to do some voodoo of booting in single user mode with > > ACPI turned off to repair filesystems and rebuild my gmirror, then load > > ACPI and drop back into multi-user mode. I even had to do this if the > > system was powered off gracefully. So far, since I capped the jumpers > > this has not been the case. I still get them periodically if I do > > something like rebuild a gmirror component, so I can no longer say my > > problem is completely resolved. > > Is this on 7.x? Sounds very similar to my experience described in: > http://www.freebsd.org/cgi/query-pr.cgi?pr=122572&cat=kern > > The machine is now operational and working in UDMA33 mode with two gmirror'ed > SATA, using 6.3-p4. Unfortunately, I can't risk "trying 7.x" anymore, since > it's emergency storage for the main fileserver, so dataloss is > unacceptable :/. I do not know about the jumper state at the moment. I will > inform if there will be a window real soon now, to check for jumpers. > > Ata info: > # atacontrol list > ATA channel 0: > Master: acd0 ATA/ATAPI revision 5 > Slave: no device present > ATA channel 1: > Master: no device present > Slave: no device present > ATA channel 2: > Master: ad4 Serial ATA II > Slave: no device present > ATA channel 3: > Master: ad6 Serial ATA II > Slave: no device present > > # atacontrol cap ad4 > > Protocol Serial ATA II > device model WDC WD6400AAKS-65A7B0 > serial number WD-WMASY1885186 > firmware revision 01.03B01 > cylinders 16383 > heads 16 > sectors/track 63 > lba supported 268435455 sectors > lba48 supported 1250263728 sectors > dma supported > overlap not supported > > Feature Support Enable Value Vendor > write cache yes yes > read ahead yes yes > Native Command Queuing (NCQ) yes - 31/0x1F > Tagged Command Queuing (TCQ) no no 31/0x1F > SMART yes yes > microcode download yes yes > security no no > power management yes yes > advanced power management no no 0/0x00 > automatic acoustic management yes yes 128/0x80 128/0x80 > > # atacontrol mode ad4 > current mode = UDMA33 No -- what Reid is reporting is very different. His problem is that his disks came out-of-the-box operating at SATA300 speeds, and his SATA chipset does not work reliably with SATA300. He found that by setting the SAT150-limiting jumper, he achieved stability. What you're seeing here (a SATA drive being limited to ATA33 speed) could be due to one of the following things: 1) BIOS options have set the SATA ports to "Compatible" or "Emulated". What this does is tell your southbridge to emulate the SATA disks as old PATA disks, and I believe the emulation layer does use ATA33 (not ATA66/100/133). This is available so you can use SATA disks on very old operating systems (possibly things like MS-DOS). "Enhanced" means to run the disks and controller in a standard SATA fashion. "Enhanced" can also provide you extra functionality, such as "Enhanced IDE", "Enhanced AHCI", or "Enhanced RAID". It depends greatly on the chip being used, and what features it has. 2) Board is using a SATA chipset which lacks a PCI ID table entry in FreeBSD, yet is somehow operating in a "generic" fashion (I'm not referring to generic AHCI either, although that could also apply here, as ata(4) has "generic AHCI" support). 3) Board is using a SATA chipset which has a PCI ID entry in the table, but actual code that interfaces with it in ata(4). In the case of items #2 and #3, the results are mixed. Some people have reported that when "UDMA33" is shown with SATA disks, that it's purely cosmetical -- that is to say, the actual transfer speed can exceed 33MByte/sec. A series of "dd" tests reading/writing to the disk should be sufficient to determine this. In the case "UDMA33" is printed and the actual transfer speed *is* in fact operating at ATA33, that is a strong indicator that FreeBSD lacks the code to initialise/handle your SATA chipset correctly, and is defaulting to UDMA33. If that's the case, I'd recommend working with the ata(4) folks (I can point you to them) to get support added for your chip. Otherwise, support will either be added many years from now when someone else points it out, or will never get added at all. You didn't provide any dmesg output so I can't tell what SATA chipset or motherboard you're using. Many ATA and SATA chips have been added to RELENG_7, and I doubt the changes will be backported to RELENG_6. It would be worthwhile if you could consider booting a RELENG_7 LiveCD ISO and see if your disks are seen -- and if so, if they show up at SATA speeds. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 21:35:42 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 118221065689 for ; Tue, 30 Sep 2008 21:35:42 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by mx1.freebsd.org (Postfix) with ESMTP id B287D8FC22 for ; Tue, 30 Sep 2008 21:35:41 +0000 (UTC) (envelope-from zozo@q.gid0.org) Received: from smtp7-g19.free.fr (localhost [127.0.0.1]) by smtp7-g19.free.fr (Postfix) with ESMTP id 5725AB0137; Tue, 30 Sep 2008 23:35:40 +0200 (CEST) Received: from q.gid0.org (s.gid0.org [88.163.116.140]) by smtp7-g19.free.fr (Postfix) with ESMTP id BB671B0151; Tue, 30 Sep 2008 23:35:39 +0200 (CEST) Received: (from zozo@localhost) by q.gid0.org (8.14.3/8.14.3/Submit) id m8ULZbD4024685; Tue, 30 Sep 2008 23:35:37 +0200 (CEST) (envelope-from zozo) Date: Tue, 30 Sep 2008 23:35:37 +0200 From: Olivier Smedts To: Mel Message-ID: <20080930213536.GA24601@q.gid0.org> References: <20080930184401.GA23783@q.gid0.org> <200809302128.40212.fbsd.questions@rachie.is-a-geek.net> <20080930195721.GA24099@q.gid0.org> <200809302238.10566.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809302238.10566.fbsd.questions@rachie.is-a-geek.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: chrooting in a 32-bit world from a 64-bit kernel+world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 21:35:42 -0000 On Tue, Sep 30, 2008 at 10:38:10PM +0200, Mel wrote: > On Tuesday 30 September 2008 21:57:22 Olivier Smedts wrote: > > On Tue, Sep 30, 2008 at 09:28:39PM +0200, Mel wrote: > > > On Tuesday 30 September 2008 20:44:02 Olivier Smedts wrote: > > > > So far I've got a working FreeBSD (kernel+world) in a 512MB image I can > > > > dump on a CompactFlash card : > > > > # cd /usr/src > > > > # make buildworld TARGET=i386 > > > > # make buildkernel TARGET=i386 > > > > # mount /dev/md0a /mnt > > > > (md0 is a 512MB file backed image I bsdlabel'd and newfs'd before) > > > > # make installworld TARGET=i386 DESTDIR=/mnt > > > > # make distribution TARGET=i386 DESTDIR=/mnt > > > > # make installkernel TARGET=i386 DESTDIR=/mnt > > > > > > > > The problem is that I can't chroot in this 32-bit world. > > > > Say I want to install the sysutils/screen port in /mnt : > > > > > > > > # mkdir /mnt/usr/ports > > > > # mount -t nullfs /usr/ports /mnt/usr/ports > > > > # mount -t devfs devfs /mnt/dev > > > > > > It's a guess, but at this point: > > > chroot /mnt /etc/rc.d/ldconfig start > > > > First, thank you for replying so fast ! > > > > /etc/rc.d/ldconfig is a /bin/sh script, and I can't run /bin/sh in this > > chroot. Same errors. > > > > > If that don't work: > > > /sbin/ldconfig -32 -s -f /mnt/var/run/ld-elf.so.hints /mnt/lib \ > > > /mnt/usr/lib > > > > After that command, the shared libraries are found, but ld refers to /mnt : > > # ldconfig -rf /mnt/var/run/ld-elf.so.hints > > /mnt/var/run/ld-elf.so.hints: > > search directories: /mnt/lib:/mnt/usr/lib > > 0:-lc.7 => /mnt/lib/libc.so.7 > > 1:-lcrypt.4 => /mnt/lib/libcrypt.so.4 > > [...] > > Right. > cd /mnt > rmdir mnt > ln -s . mnt > > The old chroot symlink hack. > > > And then when trying to chroot, still the same problem. I also can't launch > > ldconfig in the jail : > > # chroot /mnt/ /sbin/ldconfig -32 -s -f /var/run/ld-elf.so.hints /lib > > /usr/lib ELF interpreter /libexec/ld-elf.so.1 not found > > Abandon > > If you have /rescue there, maybe chroot /mnt /rescue/ldconfig /lib /usr/lib > will help you. I'm pretty sure it's the missing hints causing this. > > If all this fails, I'd try running /mnt as a jail. Thanks for the advices. At least statically compiled binaries in /rescue work. # chroot /mnt /rescue/sh # /rescue/ldconfig /lib /usr/lib # /rescue/ldconfig -r /var/run/ld-elf.so.hints: search directories: /lib:/usr/lib 0:-lc.7 => /lib/libc.so.7 1:-lcrypt.4 => /lib/libcrypt.so.4 [...] # sh ELF interpreter /libexec/ld-elf.so.1 not found Abort trap # No luck with the symlink hack or a jail : Configuring jails:. Starting jails:ELF interpreter /libexec/ld-elf.so.1 not found cannot start jail "fanless": Abort trap . I'll try to boot directly in the 32-bit world with my 64-bit kernel. I think it should work. In that case, there's maybe something to configure in the amd64 host's ldconfig or ld-elf.so.1 before chrooting in a 32-bit world. > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 21:38:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AB12106568B; Tue, 30 Sep 2008 21:38:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0BE2F8FC22; Tue, 30 Sep 2008 21:38:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m8ULc8q5002030; Tue, 30 Sep 2008 23:38:08 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m8ULc7J9002027; Tue, 30 Sep 2008 23:38:07 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 30 Sep 2008 23:38:06 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20080930212028.GA56646@icarus.home.lan> Message-ID: <20080930233708.G2014@wojtek.tensor.gdynia.pl> References: <48E1465A.5040903@cs.okstate.edu> <20080930023736.GA22907@icarus.home.lan> <48E259B4.3040100@cs.okstate.edu> <200809301929.27126.fbsd.questions@rachie.is-a-geek.net> <20080930212028.GA56646@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Reid Linnemann , Mel , freebsd-questions@freebsd.org Subject: Re: SATA READ_DMA timeouts - SOLVED? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 21:38:27 -0000 > Some people have reported that when "UDMA33" is shown with SATA disks, > that it's purely cosmetical -- that is to say, the actual transfer speed > can exceed 33MByte/sec. A series of "dd" tests reading/writing to the yes it can, but it's much slower than native SATA, at least on system where i tested it. it gets near 60MB/s instead of 90 From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 21:50:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91370106568A for ; Tue, 30 Sep 2008 21:50:31 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc3-s35.bay0.hotmail.com (bay0-omc3-s35.bay0.hotmail.com [65.54.246.235]) by mx1.freebsd.org (Postfix) with ESMTP id 729188FC12 for ; Tue, 30 Sep 2008 21:50:31 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.11]) by bay0-omc3-s35.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 14:50:31 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 14:50:30 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV1.phx.gbl with DAV; Tue, 30 Sep 2008 21:50:28 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Wojciech Puchar'" References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> In-Reply-To: <20080930205435.B20033@wojtek.tensor.gdynia.pl> Date: Wed, 1 Oct 2008 04:49:27 +0700 Message-ID: <00ee01c92346$69508fa0$3bf1aee0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckjLihlUAcmpUnBRSWHWk7aq/iMKAAFpr/A Content-Language: en-au X-OriginalArrivalTime: 30 Sep 2008 21:50:30.0982 (UTC) FILETIME=[8EF42E60:01C92346] Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 21:50:31 -0000 Hi Wojciech Puchar, I got Perc 4E-DI Embedded Raid Adapter (256MB) from DELL for my current SCSI system. They said it's the enterprise class. I don't know much about the performance between software RAID and hardware RAID. Could you please tell me if this type of hardware RAID controller could match the software RAID you were talking about? I don't want to pay for it if I don't really need it. Thanks, Danny -----Original Message----- From: Wojciech Puchar [mailto:wojtek@wojtek.tensor.gdynia.pl] Sent: Wednesday, 1 October 2008 1:56 AM To: Danny Do Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 > > The reason I want to use hardware RAID is because I got so much problem with > software RAID5 4 years ago on FreeBSD 5.4. I still remember those > nightmares. Furthermore, hardware RAID5 doesn't require much knowledge and > management. > > But you could be right, the CPU speed is triple now, software RAID gets > smarter and more stable, it could perform better than hardware RAID because > it's more flexible. But again, I still prefer hardware because it's easy to it's someone more than that, still - you don't read my mails carefully. you will get better performance with my patch, but still it will be crappy with your "hardware" RAIDs compared to what it should be From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 22:18:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2254B1065688 for ; Tue, 30 Sep 2008 22:18:38 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id B429A8FC15 for ; Tue, 30 Sep 2008 22:18:37 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 84960 invoked by uid 89); 30 Sep 2008 22:18:36 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 30 Sep 2008 22:18:36 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: John Almberg Date: Tue, 30 Sep 2008 18:18:35 -0400 X-Mailer: Apple Mail (2.752.3) Subject: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 22:18:38 -0000 First, I wanted to say how great this list is. I'm a newbie FreeBSD admin and, besides the Handbook and "Absolute FreeBSD" (which never seems to leave my desk), this list is the best resource I have. I just had a huge scare today... One of the websites on my server uses a large Mysql database. Somehow, one of the tables got corrupted today. I have been blithely backing up mysql with a simple cron script that ran mysqldump every night. Simple, reliable, and I've never needed it. Today, when I realized the database was corrupted, I scrambled for my backup, and realized that if I hadn't caught the problem today, tomorrow my backup would have been overwritten, and I would have been... well, not a happy camper. Again, I have run into a problem which is stupidly obvious to experienced admins, I'm sure. I want to slap myself, but don't have time. I'll do that after I have a better backup system in place. I am just about to dive into Google in search of a solution, but thought I would fire off a quick request, in case there is an obvious solution that everyone uses. If there is, a name or URL will do. I'll figure out the rest. Any hints much appreciated. Not going home until this is fixed... -- John From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 22:24:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A82F106568B for ; Tue, 30 Sep 2008 22:24:06 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 487038FC51 for ; Tue, 30 Sep 2008 22:24:06 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id DAA3F68614789; Tue, 30 Sep 2008 15:24:05 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id obimGd83RrTS; Tue, 30 Sep 2008 15:24:05 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id BBB78680036BF; Tue, 30 Sep 2008 15:24:05 -0700 (PDT) Date: Tue, 30 Sep 2008 15:24:05 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20080930222405.GA14576@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> User-Agent: Mutt/1.5.18 OpenPKG/% (2008-05-17) Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 22:24:06 -0000 On Tue, Sep 30, 2008, John Almberg wrote: > First, I wanted to say how great this list is. I'm a newbie FreeBSD > admin and, besides the Handbook and "Absolute FreeBSD" (which never > seems to leave my desk), this list is the best resource I have. > > I just had a huge scare today... One of the websites on my server uses a > large Mysql database. Somehow, one of the tables got corrupted today. > > I have been blithely backing up mysql with a simple cron script that ran > mysqldump every night. Simple, reliable, and I've never needed it. > > Today, when I realized the database was corrupted, I scrambled for my > backup, and realized that if I hadn't caught the problem today, tomorrow > my backup would have been overwritten, and I would have been... well, not > a happy camper. I would suggest using something like logrotate to rotate the backups giving you several days of backup files. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 There is nothing as stupid as an educated man if you get him off the thing he was educated in. Will Rogers From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 22:27:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04CF11065686 for ; Tue, 30 Sep 2008 22:27:53 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from scylla.cts.cwu.edu (scylla.cts.cwu.edu [198.104.67.151]) by mx1.freebsd.org (Postfix) with ESMTP id D99D98FC1D for ; Tue, 30 Sep 2008 22:27:52 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.SCYLLA.CTS.CWU.EDU by SCYLLA.CTS.CWU.EDU (PMDF V6.4 #31640) id <01N06EDCP2Y80005EE@SCYLLA.CTS.CWU.EDU> for freebsd-questions@freebsd.org; Tue, 30 Sep 2008 15:27:36 -0700 (PDT) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by SCYLLA.CTS.CWU.EDU (PMDF V6.4 #31640) with ESMTP id <01N06EDCCQES0005OD@SCYLLA.CTS.CWU.EDU> for freebsd-questions@freebsd.org; Tue, 30 Sep 2008 15:27:24 -0700 (PDT) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Tue, 30 Sep 2008 15:27:24 -0700 Date: Tue, 30 Sep 2008 15:27:19 -0700 From: Gavin Spomer In-reply-to: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> To: freebsd-questions@freebsd.org Message-id: <48E24557.D9EE.0090.0@gwmail.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.3 References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 22:27:53 -0000 >>> John Almberg 09/30/08 3:18 PM >>> First, I wanted to say how great this list is. I'm a newbie FreeBSD admin and, besides the Handbook and "Absolute FreeBSD" (which never seems to leave my desk), this list is the best resource I have. I just had a huge scare today... One of the websites on my server uses a large Mysql database. Somehow, one of the tables got corrupted today. I have been blithely backing up mysql with a simple cron script that ran mysqldump every night. Simple, reliable, and I've never needed it. Today, when I realized the database was corrupted, I scrambled for my backup, and realized that if I hadn't caught the problem today, tomorrow my backup would have been overwritten, and I would have been... well, not a happy camper. Again, I have run into a problem which is stupidly obvious to experienced admins, I'm sure. I want to slap myself, but don't have time. I'll do that after I have a better backup system in place. I am just about to dive into Google in search of a solution, but thought I would fire off a quick request, in case there is an obvious solution that everyone uses. If there is, a name or URL will do. I'll figure out the rest. Any hints much appreciated. Not going home until this is fixed... -- John Off the top of my head, (someone else probably has a better solution, they always do ;) ) why don't you keep more than one backup and rotate them like logs and not overwrite yesterdays backup every day? Hope my 1¢ at least gives you an idea or two. :D From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 22:57:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2A811065690 for ; Tue, 30 Sep 2008 22:57:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE388FC12 for ; Tue, 30 Sep 2008 22:57:36 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.westchester.pa.mail.comcast.net ([76.96.62.11]) by QMTA07.westchester.pa.mail.comcast.net with comcast id M4s71a0070EZKEL57As5kd; Tue, 30 Sep 2008 22:52:05 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA01.westchester.pa.mail.comcast.net with comcast id MAs31a00M4v8bD73MAs4GZ; Tue, 30 Sep 2008 22:52:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=u1ErsWmT-NYEc_M5wpAA:9 a=8OBotIaEgJTryJt9z4AA:7 a=BojIchca3uHKxjVmKzQ4g8PGzx4A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 91206C941A; Tue, 30 Sep 2008 15:52:03 -0700 (PDT) Date: Tue, 30 Sep 2008 15:52:03 -0700 From: Jeremy Chadwick To: John Almberg Message-ID: <20080930225203.GB58065@icarus.home.lan> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 22:57:37 -0000 On Tue, Sep 30, 2008 at 06:18:35PM -0400, John Almberg wrote: > I just had a huge scare today... One of the websites on my server uses a > large Mysql database. Somehow, one of the tables got corrupted today. Do you know if the table corruption was a result of 1) a MySQL bug (and there are many), 2) filesystem corruption, or 3) disk "bit rot"? Did you repair the table using myisamchk (assuming it's a MyISAM table), or was the corruption in InnoDB? > I have been blithely backing up mysql with a simple cron script that ran > mysqldump every night. Simple, reliable, and I've never needed it. > > Today, when I realized the database was corrupted, I scrambled for my > backup, and realized that if I hadn't caught the problem today, tomorrow > my backup would have been overwritten, and I would have been... well, not > a happy camper. Others have recommended good solutions to you -- improve your cronjob to handle "rotations" of those mysqldumps, so that you have 1-2 weeks worth of data, that way you can sleep easier if you don't notice the problem for a day or two. There are programs out there (usually in ports) which can help you with this task. Also, just for the record: the fact you're doing a mysqldump is good. It's better than just blindly copying the database files using cp or rsync (there's no locking done in that case so you could risk backing up the tables in the middle of an INSERT); and the cp/rsync method won't work reliably if you're using InnoDB. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 23:00:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316C21065693 for ; Tue, 30 Sep 2008 23:00:50 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 907D98FC0C for ; Tue, 30 Sep 2008 23:00:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA07.westchester.pa.mail.comcast.net with comcast id M3N81a00216LCl057AkoTV; Tue, 30 Sep 2008 22:44:48 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA06.westchester.pa.mail.comcast.net with comcast id MAkn1a00K4v8bD73SAknHq; Tue, 30 Sep 2008 22:44:48 +0000 X-Authority-Analysis: v=1.0 c=1 a=p9pqlfZpwwoA:10 a=6FVY1_NhIzwA:10 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=AhB9zNJ2ICMwCcWvEhgA:9 a=sO42JhqZWtrjQ-l_fnAA:7 a=ffx_Ub8bYWeY-j7kQndxBF3pUsAA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2912EC9419; Tue, 30 Sep 2008 15:44:47 -0700 (PDT) Date: Tue, 30 Sep 2008 15:44:47 -0700 From: Jeremy Chadwick To: Danny Do Message-ID: <20080930224447.GA58065@icarus.home.lan> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00ee01c92346$69508fa0$3bf1aee0$@com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: 'Wojciech Puchar' , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 23:00:50 -0000 On Wed, Oct 01, 2008 at 04:49:27AM +0700, Danny Do wrote: > I got Perc 4E-DI Embedded Raid Adapter (256MB) from DELL for my current SCSI > system. They said it's the enterprise class. I don't know much about the > performance between software RAID and hardware RAID. I'm not familiar with PERC (LSI) controllers, just for the record. > Could you please tell me if this type of hardware RAID controller could > match the software RAID you were talking about? What you're asking for is "too much" -- and this conversation is starting to delve into freebsd-hardware, not freebsd-questions. Unless someone out there has done full benchmarks comparing FreeBSD ZFS or FreeBSD gvinum to a PERC 4E-DI, with all kinds of test cases (what sort of server it is, what it's doing disk-wise, etc.), I doubt you'll be able to get a conclusive answer here. Such benchmarking would require weeks of effort by someone. Heck, I'm not even sure FreeBSD supports the PERC 4E-DI. That said, if you go with that controller, you should be aware of the following things: there are many problems with hardware RAID. 1) If the controller goes bad after the lifetime of the controller has expired, there is very little chance the vendor will give you a replacement controller that understands the metadata of the previous/bad controller. You are flat out stuck with that model of controller for the rest of your life, unless the vendor can *guarantee* backwards compatibility when providing a newer controller. And I'm willing to bet money that general technical support has no idea what "metadata" is, or any technical details; they just know what they're told ("controller X is no longer available, give them controller Y") 2) Driver support is often "iffy" with such controllers, at least under FreeBSD. FreeBSD SCSI CAM is quite reliable, so that's not the problem. Here's some past evidence of mfi(4) and mpt(4) having problems administrating arrays, or experiencing horrible performance, requiring tuning be done and much troubleshooting: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues 3) You are at the whim of the hardware RAID controller's BIOS. Performance can be affected by bugs in the BIOS, or BIOS bugs can cause you trouble down the road. You have to ask yourself how much you ultimately trust the technical support people at Dell vs. the FreeBSD community. 4) Driver regressions may hurt you. There may be a day when you go to upgrade to FreeBSD 8.0 (when it becomes stable), only to find that your controller isn't recognised, or has odd problems. (I myself just ran into this situation with -CURRENT last week, where my SATA controller isn't detected, while works perfectly in RELENG_7). You're then "stuck" on an older FreeBSD until those problems can be worked out. The only hardware RAID controller I've seen praise for, under FreeBSD, are Areca controllers. I'm told the performance (on a purely general level) is "absolutely incredible/blazing fast". I don't know what those people are comparing against, though. Be aware that many developers, including folks like Matt Dillon (of DragonflyBSD) and Ade Lovett (very familiar with filers and disk storage) recommend you *completely avoid* hardware RAID controllers or on-motherboard RAID (e.g. Intel MatrixRAID), and go with OS-based RAID (ZFS, gvinum, or standalone UFS2+SU filesystems). If you reach a point where disk I/O on that server is becoming so heavy that you feel you need a hardware RAID controller, that would be when you should come back to the list (freebsd-stable, freebsd-hardware, or freebsd-isp) to discuss the problems you're having with performance. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 23:11:00 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B833B106568B for ; Tue, 30 Sep 2008 23:11:00 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from smtpoutw.mac.com (smtpoutw.mac.com [17.250.248.176]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6BB8FC13 for ; Tue, 30 Sep 2008 23:11:00 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from webmail042 (webmail042-s [10.13.128.42]) by smtpoutw.mac.com (Xserve/smtpoutw001/MantshX 4.0) with ESMTP id m8UNAvh2019252; Tue, 30 Sep 2008 16:10:58 -0700 (PDT) Date: Tue, 30 Sep 2008 15:10:57 -0800 From: Peter Giessel To: Jeremy Chadwick Message-ID: <51911324445477773495707245392005196310-Webmail2@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 69.178.5.90 Received: from [69.178.5.90] from webmail.me.com with HTTP; Tue, 30 Sep 2008 15:10:57 -0800 Cc: 'Wojciech Puchar' , Danny Do , freebsd-questions@FreeBSD.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 23:11:00 -0000 On Tuesday, September 30, 2008, at 02:44PM, "Jeremy Chadwick" wrote: >The only hardware RAID controller I've seen praise for, under FreeBSD, >are Areca controllers. 3ware has provided very good FreeBSD support as well. From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 23:12:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3614106568E for ; Tue, 30 Sep 2008 23:12:47 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from smtprelay.b.hostedemail.com (smtprelay0126.b.hostedemail.com [64.98.42.126]) by mx1.freebsd.org (Postfix) with ESMTP id A366E8FC15 for ; Tue, 30 Sep 2008 23:12:47 +0000 (UTC) (envelope-from eagletree@hughes.net) Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay01.b.hostedemail.com (Postfix) with SMTP id 16438176AA; Tue, 30 Sep 2008 23:12:46 +0000 (UTC) X-SpamScore: 1 X-Spam-Summary: 2, 0, 0, f713603100c568a3, 3b98415b86034787, eagletree@hughes.net, , RULES_HIT:355:379:541:564:599:601:945:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1766:1792:2196:2199:2393:2559:2562:2693:3027:3353:3653:3865:3866:3867:3868:3869:3870:3871:3873:3874:4470:5007:7652:8700, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:, MSBL:none, DNSBL:none Received: from [192.168.0.3] (dpc6744118153.direcpc.com [67.44.118.153]) (Authenticated sender: eagletree@hughes.net) by omf11.b.hostedemail.com (Postfix) with ESMTP; Tue, 30 Sep 2008 23:12:39 +0000 (UTC) In-Reply-To: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7F7FCA1B-E46C-4A44-9569-D6638A550FCE@hughes.net> Content-Transfer-Encoding: 7bit From: Chris Pratt Date: Tue, 30 Sep 2008 16:12:35 -0700 To: John Almberg X-Mailer: Apple Mail (2.753) X-session-marker: 6561676C6574726565406875676865732E6E6574 Cc: freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 23:12:47 -0000 > > I am just about to dive into Google in search of a solution, but > thought I would fire off a quick request, in case there is an > obvious solution that everyone uses. If there is, a name or URL > will do. I'll figure out the rest. > > Any hints much appreciated. Not going home until this is fixed... > > Most certainly would want you to not not go home having been there before. Here is a crude way to do this. Find an elegant solution at leisure. The downside is that you if you crash at the wrong time, your job won't start for the next day. Be forewarned, then you stop making backups. You just need to monitor your atq. The gzip step should probably be part of a pipe for efficiency. You could cron this to get around that. I saw the response about repairing corruptions, REPAIR TABLE has thus far kept me from ever reloading. See man on date and use something other than %a to generate a numeric date unique back, that would give you numerous backups if you have the storage. DATE=`date +%a` # echo $DATE # echo Backup Mysql database mysqldump -h localhost -u YOURSQLUSERID -pYOURPASSWORD YOURDATABASE >/ usr/somedirectory/somefile_$DATE.backup gzip -f /usr/somedirectory/somefile_$DATE.backup /usr/bin/at -f /usr/somedirectory/mysqlbackup.sh midnight From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 23:19:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50A841065690 for ; Tue, 30 Sep 2008 23:19:43 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 06D968FC12 for ; Tue, 30 Sep 2008 23:19:42 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 90762 invoked by uid 89); 30 Sep 2008 23:19:42 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 30 Sep 2008 23:19:41 -0000 In-Reply-To: <20080930225203.GB58065@icarus.home.lan> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <20080930225203.GB58065@icarus.home.lan> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Tue, 30 Sep 2008 19:19:40 -0400 To: Jeremy Chadwick X-Mailer: Apple Mail (2.752.3) Cc: freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 23:19:43 -0000 > On Tue, Sep 30, 2008 at 06:18:35PM -0400, John Almberg wrote: >> I just had a huge scare today... One of the websites on my server >> uses a >> large Mysql database. Somehow, one of the tables got corrupted today. > > Do you know if the table corruption was a result of 1) a MySQL bug > (and > there are many), 2) filesystem corruption, or 3) disk "bit rot"? Did > you repair the table using myisamchk (assuming it's a MyISAM table), > or was the corruption in InnoDB? 'Corrupted' is the wrong word. I believe it was a software error that destroyed a self-referential relationship within the table. The 'parent_id' field was altered incorrectly. So, it was not a MySQL error, per se. >> I have been blithely backing up mysql with a simple cron script >> that ran >> mysqldump every night. Simple, reliable, and I've never needed it. >> >> Today, when I realized the database was corrupted, I scrambled for my >> backup, and realized that if I hadn't caught the problem today, >> tomorrow >> my backup would have been overwritten, and I would have been... >> well, not >> a happy camper. > > Others have recommended good solutions to you -- improve your > cronjob to > handle "rotations" of those mysqldumps, so that you have 1-2 weeks > worth > of data, that way you can sleep easier if you don't notice the problem > for a day or two. There are programs out there (usually in ports) > which > can help you with this task. > > Also, just for the record: the fact you're doing a mysqldump is good. > It's better than just blindly copying the database files using cp or > rsync (there's no locking done in that case so you could risk > backing up > the tables in the middle of an INSERT); and the cp/rsync method won't > work reliably if you're using InnoDB. Okay, so I've written a ruby script that will give me one month's worth of backups to a remote server. Each backup looks like 'all.mysql.12.txt', where the number is the day of the week. I'm using scp to copy the backup to a backup server, so I don't lose the backups if the whole server tanks. A month's worth of backups might be overkill, but I have plenty of room on the backup server. Whew... that added a few grey hairs to my collection. Time for a beer and a few slaps upside the head! Thanks to everyone who confirmed a script and mysqldump are an adequate solution. -- John From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 23:22:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75B3A106568B for ; Tue, 30 Sep 2008 23:22:35 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 152838FC0C for ; Tue, 30 Sep 2008 23:22:34 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 91051 invoked by uid 89); 30 Sep 2008 23:22:34 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 30 Sep 2008 23:22:34 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <7F7FCA1B-E46C-4A44-9569-D6638A550FCE@hughes.net> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <7F7FCA1B-E46C-4A44-9569-D6638A550FCE@hughes.net> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: John Almberg Date: Tue, 30 Sep 2008 19:22:33 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 23:22:35 -0000 > > DATE=`date +%a` > # > echo $DATE > # > echo Backup Mysql database > mysqldump -h localhost -u YOURSQLUSERID -pYOURPASSWORD YOURDATABASE > >/usr/somedirectory/somefile_$DATE.backup > gzip -f /usr/somedirectory/somefile_$DATE.backup > /usr/bin/at -f /usr/somedirectory/mysqlbackup.sh midnight Ah, a much simpler solution than my ruby script. I hadn't thought to zip up the file before transferring it. That's an improvement I must add. Thanks: John From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 00:04:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B00D01065691 for ; Wed, 1 Oct 2008 00:04:18 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from sushi.quinn.com (sushi.quinn.com [216.27.181.95]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDC08FC14 for ; Wed, 1 Oct 2008 00:04:18 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from [192.168.1.100] (cpe-76-170-216-193.socal.res.rr.com [76.170.216.193]) (authenticated bits=0) by sushi.quinn.com (8.14.2/8.14.2) with ESMTP id m8UNcWPw013462 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 30 Sep 2008 16:38:35 -0700 (PDT) (envelope-from fcondo@quinn.com) Message-Id: <55B7D764-CCC4-458C-8D68-5D2509EAFFC9@quinn.com> From: Fred Condo To: John Almberg In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Tue, 30 Sep 2008 16:38:32 -0700 References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <7F7FCA1B-E46C-4A44-9569-D6638A550FCE@hughes.net> X-Mailer: Apple Mail (2.929.2) Cc: freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 00:04:18 -0000 I run a script from root's crontab (not /etc/crontab) and keep the login credentials in /root/.my.cnf so they don't have to be embedded in the script. Not that $gzip is defined as /bin/cat because I move copies offsite via rsync and disk space is abundant. This script keeps 30 daily backups (configurable). Crontab entry: 13 20 * * * cd /bak/databases && /root/db_backup "db_backup" perl script: #! /usr/bin/perl use strict; my $maxbackups = 30; my $gz='gz'; my $mysqldump = '/usr/local/bin/mysqldump'; my $gzip = '/bin/cat'; my $newfile; my $filename = 'all_databases.sql'; my $curfile = $filename . ".$maxbackups"; unlink $curfile if -f $curfile; my ($i, $j); for ($i = $maxbackups - 2; $i >= 0; $i--) { $j = $i + 1; $curfile = $filename . '.' . $i; $newfile = $filename . '.' . $j; rename $curfile, $newfile if -f $curfile; } $curfile = $filename . '.' . '0'; my $command = "$mysqldump --opt --all-databases | $gzip > $curfile"; my $result; $result = system $command and warn "$result"; On Sep 30, 2008, at 4:22 PM, John Almberg wrote: >> >> DATE=`date +%a` >> # >> echo $DATE >> # >> echo Backup Mysql database >> mysqldump -h localhost -u YOURSQLUSERID -pYOURPASSWORD YOURDATABASE >> >/usr/somedirectory/somefile_$DATE.backup >> gzip -f /usr/somedirectory/somefile_$DATE.backup >> /usr/bin/at -f /usr/somedirectory/mysqlbackup.sh midnight > > Ah, a much simpler solution than my ruby script. I hadn't thought to > zip up the file before transferring it. That's an improvement I must > add. > > Thanks: John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 01:37:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FEAE1065696 for ; Wed, 1 Oct 2008 01:37:53 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 654CA8FC0A for ; Wed, 1 Oct 2008 01:37:53 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.2.102] (really [24.175.90.48]) by cdptpa-omta06.mail.rr.com with ESMTP id <20081001013751.LZRG28641.cdptpa-omta06.mail.rr.com@[192.168.2.102]>; Wed, 1 Oct 2008 01:37:51 +0000 Date: Tue, 30 Sep 2008 20:37:46 -0500 From: Paul Schmehl To: John Almberg , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) X-Munged-Reply-To: To reply - figure it out MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========15EE95FEBB9E7470EDD2==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 01:37:53 -0000 --==========15EE95FEBB9E7470EDD2========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On September 30, 2008 6:18:35 PM -0400 John Almberg=20 wrote: > First, I wanted to say how great this list is. I'm a newbie FreeBSD > admin and, besides the Handbook and "Absolute FreeBSD" (which never > seems to leave my desk), this list is the best resource I have. > > I just had a huge scare today... One of the websites on my server uses a > large Mysql database. Somehow, one of the tables got corrupted today. > > I have been blithely backing up mysql with a simple cron script that ran > mysqldump every night. Simple, reliable, and I've never needed it. > > Today, when I realized the database was corrupted, I scrambled for my > backup, and realized that if I hadn't caught the problem today, tomorrow > my backup would have been overwritten, and I would have been... well, > not a happy camper. > > Again, I have run into a problem which is stupidly obvious to > experienced admins, I'm sure. I want to slap myself, but don't have > time. I'll do that after I have a better backup system in place. > > I am just about to dive into Google in search of a solution, but thought > I would fire off a quick request, in case there is an obvious solution > that everyone uses. If there is, a name or URL will do. I'll figure out > the rest. > > Any hints much appreciated. Not going home until this is fixed... Found this on the mysql documentation site: #!/bin/sh date=3D`date -I` mysqldump --opt --all-databases | bzip2 -c > /var/backup/databasebackup-$date.sql.bz2 The date must be something from linux, but you can do it like this in = FSBD: #!/bin/sh date=3D`date "+%Y-%m-%d.%H:%M:%S"` mysqldump --opt --all-databases | bzip2 -c > /var/backup/databasebackup-$date.sql.bz2 Using this makes every dump uniquely named, even if you run several a day, = so you would need to edit newsyslog.conf to rotate the dumps after a=20 number of dumps that you choose so you don't keep writing dumps until the=20 hard drive is full. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying --==========15EE95FEBB9E7470EDD2==========-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 01:39:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30E33106568F for ; Wed, 1 Oct 2008 01:39:47 +0000 (UTC) (envelope-from c.discussions@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by mx1.freebsd.org (Postfix) with ESMTP id 07ED28FC12 for ; Wed, 1 Oct 2008 01:39:46 +0000 (UTC) (envelope-from c.discussions@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so161011wag.27 for ; Tue, 30 Sep 2008 18:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=tg8LWt7zc4mlRUD5fAQVHVvaKjkr7G57KX4pkX2k+Ac=; b=oWYgyrzDpFpu/bmOiALx8zM9Bb7L59d//hfqMSHfK2/nhOtqjRQYU0WMhhhJcxeIQF dTsG/T87YSNyMIX+ccVS08/4vaQ1gEuj6FmY8gdKJYnt3ROu5e/LUQvaG1SJZX9nIJD5 tXjMON1gFWsT9YsS9kjZ/plSh6/ZTuBN1oWgo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=KOv7G8dCb7IwqacoGWC1Se40+lomPJgr1iMMuIJP5GYBeZeN/Aa/y1begOTvR8kE3z Svjfy88RDcgGNmd80pntuYUsNNJTajYmFST7va1+gc5ssMgAiziwadetuFKaTeC71QFF Gof4YNvW7r+fBAhCotGHwiTAPYhMTBEFNik2o= Received: by 10.115.75.14 with SMTP id c14mr8552063wal.45.1222823356148; Tue, 30 Sep 2008 18:09:16 -0700 (PDT) Received: by 10.114.25.18 with HTTP; Tue, 30 Sep 2008 18:09:16 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 18:09:16 -0700 From: hibablu To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Definition of off64_t X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 01:39:47 -0000 Hi, I am trying to port an application written on Linux to FreeBSD. During compile, I am getting an error saying that off64_t is not defined. Which header file do I need to include to get the definition for off64_t ? Thanks in advance, Chandan From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 01:57:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85669106568D for ; Wed, 1 Oct 2008 01:57:21 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 389908FC17 for ; Wed, 1 Oct 2008 01:57:21 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so82286qwb.7 for ; Tue, 30 Sep 2008 18:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=t11pXrfDEYVB0z6fzza9VuyPkf3asRmTrEm4M4YdROw=; b=db/25iSkyRIV+n6lZ4v9oQ7ogsXa3I1Z4aMeawc+8Jf5RDEtrDd9Qfyx91SdxU2pbb LIqc3aVozcQtzh+tjAKNdNUrrQSvqJI91JzqV0xEW67JoaBM0nzCOiX/IlWsB55PBxcL 8Tw8JZ9xDCwTQiESA7Uc73CX6+tVWYuAZWwOI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rpD2RaL4480f3BggiNDmwRjb3gMEVKRE9ov2PDXptUl9d1rULqSRoRE4KFmc8gPhJs icxw2iTLqU2/Oq0PigV8qtuTxSx6Y3Qxi2hb+ctn2jRywVIIBgaUs/PlevRUNHpufH3K 46KkusL7efkszakYFL96UQWo/NoV7WTzd1KgM= Received: by 10.214.10.18 with SMTP id 18mr7652427qaj.74.1222826240247; Tue, 30 Sep 2008 18:57:20 -0700 (PDT) Received: by 10.214.26.11 with HTTP; Tue, 30 Sep 2008 18:57:20 -0700 (PDT) Message-ID: Date: Tue, 30 Sep 2008 18:57:20 -0700 From: "Mike Price" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Need to ( re-chown /etc ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 01:57:21 -0000 I needed to edit the /etc/pf.conf so I accidentally typed: chown -r /etc Can someone please help me with a command to change /etc back to the way it was? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 02:04:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E227C1065688 for ; Wed, 1 Oct 2008 02:04:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id C842A8FC16 for ; Wed, 1 Oct 2008 02:04:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id M2gy1a0011GXsucA3E4jvx; Wed, 01 Oct 2008 02:04:43 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA07.emeryville.ca.mail.comcast.net with comcast id ME4h1a00Q4v8bD78TE4iaQ; Wed, 01 Oct 2008 02:04:42 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=sBsF4Ust2XOLwzEzIIcA:9 a=kCyEFRB1y5KGUcLDummo5PRNaBEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id B737CC9419; Tue, 30 Sep 2008 19:04:41 -0700 (PDT) Date: Tue, 30 Sep 2008 19:04:41 -0700 From: Jeremy Chadwick To: Mike Price Message-ID: <20081001020441.GA62415@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Need to ( re-chown /etc ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 02:04:44 -0000 On Tue, Sep 30, 2008 at 06:57:20PM -0700, Mike Price wrote: > I needed to edit the /etc/pf.conf so I accidentally typed: chown -r /etc > Can someone please help me with a command to change /etc back to the way it > was? Please stop asking this question over and over. You've posted it to the -questions list twice, and to the -hackers list once. Kevin Kinsey responded to you with an mtree command that should do the trick. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 02:18:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ACFF1065691 for ; Wed, 1 Oct 2008 02:18:46 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id E48EB8FC14 for ; Wed, 1 Oct 2008 02:18:45 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.2.102] (really [24.175.90.48]) by cdptpa-omta04.mail.rr.com with ESMTP id <20081001021844.QLSP19005.cdptpa-omta04.mail.rr.com@[192.168.2.102]>; Wed, 1 Oct 2008 02:18:44 +0000 Date: Tue, 30 Sep 2008 21:18:43 -0500 From: Paul Schmehl To: Mike Price , freebsd-questions@freebsd.org Message-ID: <10F25C57212680026DE27619@Macintosh-2.local> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) X-Munged-Reply-To: To reply - figure it out MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========AD682AFEDAB74808422E==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Need to ( re-chown /etc ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 02:18:46 -0000 --==========AD682AFEDAB74808422E========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On September 30, 2008 6:57:20 PM -0700 Mike Price =20 wrote: > I needed to edit the /etc/pf.conf so I accidentally typed: chown -r /etc > Can someone please help me with a command to change /etc back to the way > it was? If that is literally the command you typed, you should have gotten an=20 error message, and nothing should have been changed. Chown requires at=20 least one identifier (uid) before it will work. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** WARNING: Check the headers before replying --==========AD682AFEDAB74808422E==========-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 03:14:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F56B106568B for ; Wed, 1 Oct 2008 03:14:04 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 100108FC0A for ; Wed, 1 Oct 2008 03:14:03 +0000 (UTC) (envelope-from jon@radel.com) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 7994085; Tue, 30 Sep 2008 22:14:03 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 7994083; Tue, 30 Sep 2008 22:13:55 -0400 Message-ID: <48E2DCE3.4070508@radel.com> Date: Tue, 30 Sep 2008 22:13:55 -0400 From: Jon Radel User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Mike Price References: In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060302060401080709070809" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: freebsd-questions@freebsd.org Subject: Re: Need to ( re-chown /etc ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 03:14:04 -0000 This is a cryptographically signed message in MIME format. --------------ms060302060401080709070809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mike Price wrote: > I needed to edit the /etc/pf.conf so I accidentally typed: chown -r /etc > Can someone please help me with a command to change /etc back to the way it > was? Did Kevin Kinsey's suggestion not work? It would be helpful if you gave some hint as to why you're asking this again. However, you should realize that you destroy information when you change all the ownership information to a uniform value. You need to: 1) Know what the value for each file was so you can set it back, or 2) Use your backups, or 3) Check what the standard files are set to in the distribution (as Kevin suggested), or 4) Know that most, but not all, files in /etc are user root and group wheel, use those values, and hope for the best. In other words, there really isn't "a command" to fix the damage you've done. However, as I'm sure you realize by now, recursively destroying information in or about system files tends to be a bad idea. As is, as a general rule, using chown as a privileged user just so that you can edit a file such as this as an unprivileged user. --Jon Radel jon@radel.com --------------ms060302060401080709070809 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDMyNDE2NTkyMVoX DTA5MDMyNDE2NTkyMVowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPdCxQufreHHDAI9YN2axx87Rf 0TK1PYFMlJHi4y1ebdAMPqR6M44bz+3m8YnKn1bmIf7dWyisWyAIQYCOhW/2r66o4MdF9qJ9 z5uhMy+28zaJP/Glg64C3WPM0VfveCgvu+ApEyf2JDbjc/hUomw8KpppgOcn1wX6PZGbhHVv eAvDTWJ0ugqo08Ny6GR0bsGvePmxdWSQq+0aGTHqA1I2EozJBZ8W5xlUtKe22j56i1Uw1ujk Rlosdu2PTs8QOY1OUHuLPnEV9EWtYF7g6bXDUDsJxypXZy9qTipPplYXjdWgkLVRvezri+BN kgin8UKhKLQ99vS25zrMFKu80g31AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQAR4u9o4CFvztyo0sZb3tCQIWYb 5U4jW9da3goVwWIkMz+qeCb2kiTQfsSmOdF9YJ8VTRdYW0l0fQbqL5JikVhaYeX85cpqZ3iA /PPJpfPtJw8g5jJOAROVAvxydMZXQYxyIBMV4HNG3qir44YnyfmJXkBtRFYWdxBc7bQpoZSZ jzCCAvMwggJcoAMCAQICEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDMyNDE2NTky MVoXDTA5MDMyNDE2NTkyMVowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDPdCxQufreHHDAI9YN2axx 87Rf0TK1PYFMlJHi4y1ebdAMPqR6M44bz+3m8YnKn1bmIf7dWyisWyAIQYCOhW/2r66o4MdF 9qJ9z5uhMy+28zaJP/Glg64C3WPM0VfveCgvu+ApEyf2JDbjc/hUomw8KpppgOcn1wX6PZGb hHVveAvDTWJ0ugqo08Ny6GR0bsGvePmxdWSQq+0aGTHqA1I2EozJBZ8W5xlUtKe22j56i1Uw 1ujkRlosdu2PTs8QOY1OUHuLPnEV9EWtYF7g6bXDUDsJxypXZy9qTipPplYXjdWgkLVRvezr i+BNkgin8UKhKLQ99vS25zrMFKu80g31AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQAR4u9o4CFvztyo0sZb3tCQ IWYb5U4jW9da3goVwWIkMz+qeCb2kiTQfsSmOdF9YJ8VTRdYW0l0fQbqL5JikVhaYeX85cpq Z3iA/PPJpfPtJw8g5jJOAROVAvxydMZXQYxyIBMV4HNG3qir44YnyfmJXkBtRFYWdxBc7bQp oZSZjzCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQbZOR8X/3dLH0sJ+2vLUPdjAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wODEwMDEwMjEzNTVaMCMGCSqGSIb3DQEJBDEWBBR/+qoUrUwrTCDCER/mrZ0PjbHnrzBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEG2TkfF/93Sx9LCftry1 D3YwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEG2TkfF/93Sx9LCftry1D3YwDQYJKoZIhvcNAQEBBQAEggEAH5k6 WItDojOjOzEwYvXf6miXJmm3G9x2+JeanCES9Y/hdH1uhaAFltExlTLM5nUJeO/Iae+Dsp1n vmJOrnZ9HH6P7/mvrtchf21y1RyHYhhtLpoNGBDvW5RbPgOZV3nRaOi5yI2biCN3P8grQfnF Io0g2FxpJKr6xmjq7UsieIyHxhOB2c9D1wKJfgKLzxYItOOHbCKlWy2/+VltZujNOj5HKn7I Qgm33g6Y+vDqzveOxgCgWr4BNcd2GrFGy26yUHr65ABf+jB/UtpTQoijHB0Q041Fg86NE3px 4W9yPTGyIl0JT5p9OkkFcdlAmqj0ZP8pjl02lTJtmBx/cJ2qoQAAAAAAAA== --------------ms060302060401080709070809-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 04:05:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20AF11065691 for ; Wed, 1 Oct 2008 04:05:16 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from bay0-omc1-s6.bay0.hotmail.com (bay0-omc1-s6.bay0.hotmail.com [65.54.246.78]) by mx1.freebsd.org (Postfix) with ESMTP id F35BA8FC17 for ; Wed, 1 Oct 2008 04:05:15 +0000 (UTC) (envelope-from ai_quoc@hotmail.com) Received: from hotmail.com ([64.4.43.20]) by bay0-omc1-s6.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 30 Sep 2008 21:05:15 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 30 Sep 2008 21:05:15 -0700 Message-ID: Received: from 222.253.99.18 by BAY139-DAV10.phx.gbl with DAV; Wed, 01 Oct 2008 04:05:12 +0000 X-Originating-IP: [222.253.99.18] X-Originating-Email: [ai_quoc@hotmail.com] X-Sender: ai_quoc@hotmail.com From: "Danny Do" To: "'Jeremy Chadwick'" References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> In-Reply-To: <20080930224447.GA58065@icarus.home.lan> Date: Wed, 1 Oct 2008 11:04:04 +0700 Message-ID: <010701c9237a$be972ad0$3bc58070$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckjUG0CW/ZFdzjDRdqmX6aSTj3GMgAJrlKQ Content-Language: en-au X-OriginalArrivalTime: 01 Oct 2008 04:05:15.0319 (UTC) FILETIME=[E8A9BC70:01C9237A] Cc: freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 04:05:16 -0000 Thanks for the concrete example of the pitfall of hardware RAID Jeremy. I never had any problem with hardware driver, that's why I never thought of it. But you are quite right! I should be avoiding hardware RAID whenever possible. I get much more support and quicker response here than from hardware vendor. Ok, I have to pickup gVinum where I left it 4 years ago. Hopefully, the software is stable now. Thanks again Jeremy Chadwick, Wojciech Puchar and this wonderful community, Danny -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jeremy Chadwick Sent: Wednesday, 1 October 2008 5:45 AM To: Danny Do Cc: 'Wojciech Puchar'; freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 On Wed, Oct 01, 2008 at 04:49:27AM +0700, Danny Do wrote: > I got Perc 4E-DI Embedded Raid Adapter (256MB) from DELL for my current SCSI > system. They said it's the enterprise class. I don't know much about the > performance between software RAID and hardware RAID. I'm not familiar with PERC (LSI) controllers, just for the record. > Could you please tell me if this type of hardware RAID controller could > match the software RAID you were talking about? What you're asking for is "too much" -- and this conversation is starting to delve into freebsd-hardware, not freebsd-questions. Unless someone out there has done full benchmarks comparing FreeBSD ZFS or FreeBSD gvinum to a PERC 4E-DI, with all kinds of test cases (what sort of server it is, what it's doing disk-wise, etc.), I doubt you'll be able to get a conclusive answer here. Such benchmarking would require weeks of effort by someone. Heck, I'm not even sure FreeBSD supports the PERC 4E-DI. That said, if you go with that controller, you should be aware of the following things: there are many problems with hardware RAID. 1) If the controller goes bad after the lifetime of the controller has expired, there is very little chance the vendor will give you a replacement controller that understands the metadata of the previous/bad controller. You are flat out stuck with that model of controller for the rest of your life, unless the vendor can *guarantee* backwards compatibility when providing a newer controller. And I'm willing to bet money that general technical support has no idea what "metadata" is, or any technical details; they just know what they're told ("controller X is no longer available, give them controller Y") 2) Driver support is often "iffy" with such controllers, at least under FreeBSD. FreeBSD SCSI CAM is quite reliable, so that's not the problem. Here's some past evidence of mfi(4) and mpt(4) having problems administrating arrays, or experiencing horrible performance, requiring tuning be done and much troubleshooting: http://wiki.freebsd.org/JeremyChadwick/Commonly_reported_issues 3) You are at the whim of the hardware RAID controller's BIOS. Performance can be affected by bugs in the BIOS, or BIOS bugs can cause you trouble down the road. You have to ask yourself how much you ultimately trust the technical support people at Dell vs. the FreeBSD community. 4) Driver regressions may hurt you. There may be a day when you go to upgrade to FreeBSD 8.0 (when it becomes stable), only to find that your controller isn't recognised, or has odd problems. (I myself just ran into this situation with -CURRENT last week, where my SATA controller isn't detected, while works perfectly in RELENG_7). You're then "stuck" on an older FreeBSD until those problems can be worked out. The only hardware RAID controller I've seen praise for, under FreeBSD, are Areca controllers. I'm told the performance (on a purely general level) is "absolutely incredible/blazing fast". I don't know what those people are comparing against, though. Be aware that many developers, including folks like Matt Dillon (of DragonflyBSD) and Ade Lovett (very familiar with filers and disk storage) recommend you *completely avoid* hardware RAID controllers or on-motherboard RAID (e.g. Intel MatrixRAID), and go with OS-based RAID (ZFS, gvinum, or standalone UFS2+SU filesystems). If you reach a point where disk I/O on that server is becoming so heavy that you feel you need a hardware RAID controller, that would be when you should come back to the list (freebsd-stable, freebsd-hardware, or freebsd-isp) to discuss the problems you're having with performance. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 04:26:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E5AC106568D for ; Wed, 1 Oct 2008 04:26:15 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.184]) by mx1.freebsd.org (Postfix) with ESMTP id 149888FC0C for ; Wed, 1 Oct 2008 04:26:14 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so131363rne.12 for ; Tue, 30 Sep 2008 21:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PJX9FEqxoIrGv2kZnuvoUfXwbTXXW1gUJNJEjtRl5Mo=; b=ou87vdpyiIQc/dz/HAx/ZHSu2CJsijoIgIc1F9qXZAYBoxHnhidzwrCLUk71cKKenQ U1889cj2c0r4PZpimGLpAoS1VXOko4ff3nt3waZHgEmYyemHWhHwHgCOZ3KiMqKxOpTI VDG4I6leoMEP+qhIlrMxuWx/gaxKJln9nfJP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ttCiYY62bLKU9F648uuJPxR1wC4dUDv6C+f78EX3mqncG+yRC8nUJRnhH2ZDL4fnRX CtNtxHJQE9JX5rJv24FZDzrlGyG+AAP0LHFAt2++CVca/EahBP2oO4lq4V79qOilWklE GEwikPOdVKIT5oc6y8f2+F+1xzKy5LZP9iY3k= Received: by 10.151.155.9 with SMTP id h9mr11354187ybo.8.1222835174286; Tue, 30 Sep 2008 21:26:14 -0700 (PDT) Received: by 10.150.182.18 with HTTP; Tue, 30 Sep 2008 21:26:14 -0700 (PDT) Message-ID: <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com> Date: Tue, 30 Sep 2008 22:26:14 -0600 From: "Andrew Falanga" To: Sebastian In-Reply-To: <48D85B3A.8070706@mindling.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D3D0A8.7070504@mindling.com> <1221876046.4625.4.camel@laptop1.herveybayaustralia.com.au> <48D53DA1.2040808@mindling.com> <200809211527.53755.af300wsm@gmail.com> <48D85B3A.8070706@mindling.com> Cc: freebsd-questions@freebsd.org Subject: Re: Realtek 8111C? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 04:26:15 -0000 On Mon, Sep 22, 2008 at 8:58 PM, Sebastian wrote: > Andrew Falanga wrote: >> >> On Saturday 20 September 2008 12:14:57 Sebastian wrote: >> >>> >>> Da Rock wrote: >>> >>>> >>>> I have used the compiled driver on 6.3 with success- but then I've used >>>> the driver linked in a post to drivers list. 7.0 is a no go. >>>> >>> >>> I tried to compile the current OEM Realtek driver under (v176) on fbsd >>> 6.3, but couldn't get it to build. My foo is a little thin here. :) >>> >>> >> >> Where did you get this OEM driver? >> > > The oem driver can be found here: > > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false > > It builds just fine on 6.3, once I read the file manual on how to build a > kernel module. > > So far no problems running it with a fair amount of traffic. > > Awesome! Thanks. If I've been understanding another thread on here, it sounds like there's a FreeBSD driver coming in 7.1. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 04:29:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D6961065689 for ; Wed, 1 Oct 2008 04:29:48 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 109788FC13 for ; Wed, 1 Oct 2008 04:29:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m914Tj9b041794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 30 Sep 2008 23:29:45 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m914ThkW041791; Tue, 30 Sep 2008 23:29:43 -0500 (CDT) (envelope-from dan) Date: Tue, 30 Sep 2008 23:29:43 -0500 From: Dan Nelson To: hibablu Message-ID: <20081001042943.GJ86326@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Definition of off64_t X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 04:29:48 -0000 In the last episode (Sep 30), hibablu said: > I am trying to port an application written on Linux to FreeBSD. > During compile, I am getting an error saying that off64_t is not > defined. Which header file do I need to include to get the definition > for off64_t ? There is no need for an off64_t on FreeBSD. The program should use off_t instead, and on Linux, they should add the compiler flags "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" so that off_t is 64 bits on Linux as well. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 04:34:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06032106568E for ; Wed, 1 Oct 2008 04:34:55 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id A232D8FC12 for ; Wed, 1 Oct 2008 04:34:54 +0000 (UTC) (envelope-from af300wsm@gmail.com) Received: by gxk14 with SMTP id 14so742573gxk.19 for ; Tue, 30 Sep 2008 21:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=xHa/PDpj5/ygmwtNj2cIKQlkXk1JkhFmD+Ur+erXi/s=; b=LmA7tabUfcVA9qsnpoaKx1rwnxFJ6TtS5K7b0W2cc8tLY93hsZkHkF67pUF3ZFx+L6 rDqSiGMCHC25UnZN7BO2pfa0YLQGiazVfnsob+xOceqaEA5e/m0CJkNZMiksFKBoAJJB Louu2DvAKvNgNP9FSnlwTUaRgmx5qIrayA+8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=HY8AgQxIgne56y6AQDTSPtZLPfUWrz1wY1Ick8fCOMGpee5t90inGwrDsUMKuMxt4E BYU0ROyglvDpEg5ng9MUyx/56XJulW6cgIn5F5H8TF3+e5LYOWC2+GvmgF7+ZSdiIkMM amED34p5wukRnRyzPyXxxICYQKRw6ZgjcMvnI= Received: by 10.150.12.3 with SMTP id 3mr11368369ybl.17.1222835694029; Tue, 30 Sep 2008 21:34:54 -0700 (PDT) Received: by 10.150.182.18 with HTTP; Tue, 30 Sep 2008 21:34:53 -0700 (PDT) Message-ID: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> Date: Tue, 30 Sep 2008 22:34:53 -0600 From: "Andrew Falanga" To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 04:34:55 -0000 Hi, I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO. However, the RAID controller on the MOBO consistently tried to make the SATA DVD drive part of the RAID array and wouldn't boot the FreeBSD boot disk. So, at the suggestion of another respondent here, I've decided to use gmirror. Now, it seems that gmirror is, perhaps, newer to FreeBSD than the software RAID stuff in the Handbook. That mentions ccd(4) and doesn't make any mention of gmirror(8). It seems like gmirror is rather easy to work with, and more important, easy to recover from is hardware fails. In any event, I want to make sure I'm understanding the manual page correctly because I don't have anything else to test this on except the churches computer. We have two Seagate 250gb SATA drives. Identical drive models so their sizes are the same. Is this the command, from gmirror(8), the one I'll want to use? Create a mirror on disk with valid data (note that the last sector of the disk will be overwritten). Add another disk to this mirror, so it will be synchronized with existing disk: gmirror label -v -b round-robin data da0 gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5. This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. Andy -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 05:40:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B607106568B for ; Wed, 1 Oct 2008 05:40:31 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 309CE8FC22 for ; Wed, 1 Oct 2008 05:40:30 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id BB5F95C2F01E for ; Wed, 1 Oct 2008 15:40:06 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Wed, 01 Oct 2008 15:40:23 +1000 Message-Id: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: BB5F95C2F01E.338D5 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: mysql rc script failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 05:40:31 -0000 Has anyone else had trouble with starting mysql server with the rc script? I've only just installed from ports (as a dependency, mind) and technically it should just start when you run the rc script - it sets up the db dirs and stuff so it can just run. But I can't get it to do the setup stuff automatically, and so the script fails. I've done the setup manually before so its no real biggy, but I imagine others would be more than a little frustrated. Anyone else have this trouble? I just realised I had to do this last time too... For reference: I'm starting the script manually for testing at this point (if that makes a difference- which I believe it shouldn't). From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 06:37:46 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C37001065689; Wed, 1 Oct 2008 06:37:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 479948FC4B; Wed, 1 Oct 2008 06:37:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m916bd72007323; Wed, 1 Oct 2008 08:37:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m916bbYU007320; Wed, 1 Oct 2008 08:37:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 08:37:37 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20080930224447.GA58065@icarus.home.lan> Message-ID: <20081001083637.C7317@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Danny Do , freebsd-questions@FreeBSD.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 06:37:46 -0000 > > What you're asking for is "too much" -- and this conversation is > starting to delve into freebsd-hardware, not freebsd-questions. the simple answer is that software RAID on todays computers vastly outperforms ANY hardware raid solution, maybe except the ones for 10000$ or more. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 06:41:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFAED106568C for ; Wed, 1 Oct 2008 06:41:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id B36FB8FC1B for ; Wed, 1 Oct 2008 06:41:22 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m916fIoC007340; Wed, 1 Oct 2008 08:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m916fIgY007337; Wed, 1 Oct 2008 08:41:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 08:41:18 +0200 (CEST) From: Wojciech Puchar To: Andrew Falanga In-Reply-To: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> Message-ID: <20081001083751.M7317@wojtek.tensor.gdynia.pl> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 06:41:24 -0000 > Hi, > > I've just finished setting up a new web server, and if I get my DNS > stuff correct hopefully an e-mail server too, for my church. > Originally, the intention was to use RAID1 on the MOBO. However, the do not ever use "hardware" RAID0/1/10 on motherboard. first it's not hardware, it's purely software, second there is nothing to be accelerated by hardware on RAID0/1/10. use gmirror/gstripe/gconcat everywhere. > make any mention of gmirror(8). It seems like gmirror is rather easy gmirror is easy to set up and works excellent. > Identical drive models so their sizes are the same. Is this the > command, from gmirror(8), the one I'll want to use? > > Create a mirror on disk with valid data (note that the last sector of the > disk will be overwritten). Add another disk to this mirror, so it will > be synchronized with existing disk: > > gmirror label -v -b round-robin data da0 add -s like -s 1048576 to prevent splitting one request on 2 disks. except this - all right. > gmirror insert data da1 > Though in my case, da0 and da1 will be ad4 and ad5. This seems to be > the one I'm looking for, I'm just scared of wiping out more than I > bargain for. assuming you already have system on say ad4, make gmirror on ad5, copy everything, make sure it's bootable (bsdlabel -B ...), boot from it, if all works, add ad4 to the mirror effectively overwriting things. add in loader.conf vfs.root.mountfrom="ufs:mirror/dataa" - assuming your system is on partition a of your mirror. HINT - you DO NOT have to mirror whole drive. you may mirror a partition(s), living some of them unmirrored. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 06:41:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D621E106568F; Wed, 1 Oct 2008 06:41:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DF4248FC0C; Wed, 1 Oct 2008 06:41:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m916fsCr007347; Wed, 1 Oct 2008 08:41:54 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m916frB4007344; Wed, 1 Oct 2008 08:41:53 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 08:41:53 +0200 (CEST) From: Wojciech Puchar To: Danny Do In-Reply-To: Message-ID: <20081001084131.E7317@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: 'Jeremy Chadwick' , freebsd-questions@freebsd.org Subject: RE: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 06:41:58 -0000 > Ok, I have to pickup gVinum where I left it 4 years ago. Hopefully, the > software is stable now. AFAIK it's not at least when i tried it in 6.* From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 06:53:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78372106568E for ; Wed, 1 Oct 2008 06:53:40 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id F25628FC22 for ; Wed, 1 Oct 2008 06:53:39 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2657668fkk.11 for ; Tue, 30 Sep 2008 23:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=97Z2u3g1AXXk5FFGqlM9rMTR4LJxiyRIaZXKbbBpHDg=; b=YbcD+Rht4tUwKtJBhs3uMS7q1C8nqdNGP+nYhgSNsOhRwOhWGZUPhTxL/zzoqccv5L vMtaVvDqNGIy/Yur+HvMJnI4qHrLuz46B7KpozRFJ9TxE8ankoZdQvRqXf0oCozruNWw 0HbcI16qYVSVrwmBidaWq7yXIcRN93lBvJiPc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=myHW8wnU49s8LkuG/JZaSNjOl2D+M+FDubxSS+9IirzaCaEt8/amGxt2OadBZaqRt1 STVePVWFGXv6vOlnBTmTFikbLWd1xrrAT0Lc+Ujrn7sNVVRZUYvxcFr98l4+fD3avwR9 6snFPXLnF37dUZf0hXOInrl1u6sFpx5Va0x64= Received: by 10.181.23.19 with SMTP id a19mr3712620bkj.90.1222844018514; Tue, 30 Sep 2008 23:53:38 -0700 (PDT) Received: by 10.180.244.6 with HTTP; Tue, 30 Sep 2008 23:53:38 -0700 (PDT) Message-ID: <2cd0a0da0809302353g7cc09b9p4cca7a0db6f6c8ce@mail.gmail.com> Date: Wed, 1 Oct 2008 08:53:38 +0200 From: VeeJay To: FreeBSD-Questions , VeeJay In-Reply-To: <2cd0a0da0809260449w765cbd29mb1c132f1662d44e9@mail.gmail.com> MIME-Version: 1.0 References: <2cd0a0da0809260449w765cbd29mb1c132f1662d44e9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: How to select/choose new NIC under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 06:53:40 -0000 thanks Guys.... really good help! Cheers! VJ On Fri, Sep 26, 2008 at 1:49 PM, VeeJay wrote: > Hello there, > > At my work, I have a Dell PowerEdge2950 running FreeBSD 7.0, Webserver. > This server has onboard Broadcom NetXtreme II BCM5708 1000Base-T with 2 > ports. But we have faced watchdog timeouts and after googling and getting > help on this great forum, we were able to figure out that this is Broadcom > incompatibilty. > So, we have bought Intel Pro 1000PT Single Port Gigabit PCIe Cu now. Which > I am going to install in the server but before; > I need some information, where I seek you guys help??? > > 1. How to tell FreeBSD to which NIC to use? > 2. Where else I should make changes under /etc folder? > > I will aprecaite your help! > -- > Thanks! > > BR / vj > -- Thanks! BR / vj From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:11:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BAB1106568C for ; Wed, 1 Oct 2008 07:11:53 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id BA80A8FC12 for ; Wed, 1 Oct 2008 07:11:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA04.westchester.pa.mail.comcast.net with comcast id MJrY1a00D17dt5G54KBs4M; Wed, 01 Oct 2008 07:11:52 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA13.westchester.pa.mail.comcast.net with comcast id MKBr1a0014v8bD73ZKBroA; Wed, 01 Oct 2008 07:11:52 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=LN_bbxggFHaqlGcg8FAA:9 a=kUfW2Gk9S6y35A5tDKRwQ5q3JeMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 3DC9CC9432; Wed, 1 Oct 2008 00:11:50 -0700 (PDT) Date: Wed, 1 Oct 2008 00:11:50 -0700 From: Jeremy Chadwick To: Andrew Falanga Message-ID: <20081001071150.GA13554@icarus.home.lan> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "freebsd-questions@freebsd.org" Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 07:11:53 -0000 On Tue, Sep 30, 2008 at 10:34:53PM -0600, Andrew Falanga wrote: > I've just finished setting up a new web server, and if I get my DNS > stuff correct hopefully an e-mail server too, for my church. > Originally, the intention was to use RAID1 on the MOBO. However, the > RAID controller on the MOBO consistently tried to make the SATA DVD > drive part of the RAID array and wouldn't boot the FreeBSD boot disk. > So, at the suggestion of another respondent here, I've decided to use > gmirror. Stay away from BIOS-level RAID. If you want evidence of why, especially with regards to Intel MatrixRAID, here you go: http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting And yes, these are FreeBSD problems, but the severity is so high that there is a very good chance you will lose your data in the case of a failure. Simply put, don't risk it. Stick with gmirror or ZFS, unless you have reason to use ccd (it's old, but it does still work). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:22:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 638BA106568C; Wed, 1 Oct 2008 07:22:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 958E98FC15; Wed, 1 Oct 2008 07:22:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m917MMUJ007687; Wed, 1 Oct 2008 09:22:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m917MKic007684; Wed, 1 Oct 2008 09:22:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 09:22:20 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081001071150.GA13554@icarus.home.lan> Message-ID: <20081001092139.D7677@wojtek.tensor.gdynia.pl> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> <20081001071150.GA13554@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" , Andrew Falanga Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 07:22:28 -0000 > with regards to Intel MatrixRAID, here you go: > > http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting > > And yes, these are FreeBSD problems, but the severity is so high that > there is a very good chance you will lose your data in the case of a > failure. Simply put, don't risk it. BIOS RAIDs are software RAIDs. FreeBSD "driver" for this is software RAID too, just like gmirror but worse and less portable. simply doesn't make sense. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:24:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 879F51065689 for ; Wed, 1 Oct 2008 07:24:49 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51111.mail.re2.yahoo.com (web51111.mail.re2.yahoo.com [206.190.39.88]) by mx1.freebsd.org (Postfix) with SMTP id 349A88FC0C for ; Wed, 1 Oct 2008 07:24:49 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 28787 invoked by uid 60001); 1 Oct 2008 07:24:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=VQzmivYZR2HNAF0TFW4QOP0f+4wmm1Iis+Y80lAgKaK1IDXOK+EeskTc9PNOQ0WTZVNQUAWoVvTwzaYXQcgDx0enTqaVjFBQYda1fk2PP3OD/fn5mY8N1k20w3j3YoqiMYNg/bFlLNWRtDVdi2QCAoDZ8VsdRwwHd72eDz5mS9I=; X-YMail-OSG: DJ4zkSoVM1mSvAuhFVK1vGECyo5gKHo3Kche_23VRtLc8W9tIWWJ4ZrcQKi4G0AW7S4PyU8PsMkPSkM.5W2rTpi3cd5yzlXWPSQP3SjGOZVsDGzRd.FIZag9nIJ9GL0DzboixT147kTFLW03wWDRZ1i8rRG4yxTG99.2nSczjM9jlBSXQQ-- Received: from [82.136.213.253] by web51111.mail.re2.yahoo.com via HTTP; Wed, 01 Oct 2008 00:24:48 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 1 Oct 2008 00:24:48 -0700 (PDT) From: Dino Vliet To: Frank Shute In-Reply-To: <20080929123132.GA59725@melon.esperance-linux.co.uk> MIME-Version: 1.0 Message-ID: <669615.28563.qm@web51111.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: error compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 07:24:49 -0000 --- On Mon, 9/29/08, Frank Shute wrote: From: Frank Shute Subject: Re: error compiling kernel To: "Dino Vliet" Cc: freebsd-questions@freebsd.org Date: Monday, September 29, 2008, 2:31 PM On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: > > Hi all, > > In an effort to compile a new kernel on my amd64 system running > freebsd 6.3 I get the following error message after the make > buildkernel KERNCONF=MYKERNEL step. > > The error I get is: > > /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to 'ng_parse_int32_type' udbp.o (.rodata + 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to 'ng_parse_int32_type' > > *** 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 > > My kernel configuration called MYKERNEL looks like this: > > # > # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 > # > > options SCHED_ULE # ULE scheduler > #options SCHED_4BSD # 4BSD scheduler > What is causing this error? > > Brgds > Dino > device fwe # Ethernet over FireWire (non-standard!) Dino, I don't know if it's possibly related but IIRC the SCHED_ULE scheduler is deprecated for use in 6.* (I stand to be corrected!:) although I believe it works with 7.* So I suggest trying SCHED_4BSD and see if that works better. As to the specific error, it looks like you might need: options NETGRAPH in your kernel conf. See: netgraph(4) You might also want to use the tag: RELENG_6_4 for your source supfile. I'm pretty sure there is a 6.4 branch now the BETA has come out. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html Hi Frank, It worked! Thanks for the tips. I've reenabled sched_bsd and added options NETGRAPH. The latter is strange though, because I managed to compile the p1 kernel in the past without it, so why would that fail now? Anyway, it worked so I can look at my other problems now. This machine was disconnected from the internet a few months so I had a very long package list that needed to be updated. Thanks for your reply! Dino From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 07:41:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A508F1065690 for ; Wed, 1 Oct 2008 07:41:54 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6648FC12 for ; Wed, 1 Oct 2008 07:41:54 +0000 (UTC) (envelope-from bipolor@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so98084qwb.7 for ; Wed, 01 Oct 2008 00:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=+8mZVkCdFAssMH9bcQUciL3/z8/0beenfYdyUY2LAKM=; b=UN/9x/muc94adK6bYLk4cYfzJObvcP01Sg92hVQTElfSpcaofSgkOqA7iImapqUOXn Jx6f3H6/N0V33P+JypSr9lL19fnpjBs1WshzRMR4opBxg9HXO9naZFNnkU7QSbnDC8Ny Pf8a0Y/JutxE+j6JeUJ+31GPXltfpDcnAL5EI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=VYTc06sECwlar3mOizBwwlqXRxhmCjl31xhnthWKH8uHAkRoBYTPu9Bxk6rHaXsSle ZRaMooCDE86wxjlJLr5so2BQSABiwpkimG6mhftH5OM+d3Bcqo7m78meZFryTdFa099N pOjOKUdEv3QPrrizIb4MbnE74TWKR9/2BKPEI= Received: by 10.214.46.10 with SMTP id t10mr7914302qat.80.1222846913574; Wed, 01 Oct 2008 00:41:53 -0700 (PDT) Received: by 10.214.26.11 with HTTP; Wed, 1 Oct 2008 00:41:53 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 00:41:53 -0700 From: "Mike Price" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD command to make image of the active partition and a command to restore it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 07:41:54 -0000 FreeBSD command to make image of the active partition and a command to restore it? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 08:02:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AFDA1065690 for ; Wed, 1 Oct 2008 08:02:41 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3848FC19 for ; Wed, 1 Oct 2008 08:02:41 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id C646E5C2F0BF for ; Wed, 1 Oct 2008 17:53:55 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain Date: Wed, 01 Oct 2008 17:54:09 +1000 Message-Id: <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: C646E5C2F0BF.E22B7 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 08:02:41 -0000 On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: > Has anyone else had trouble with starting mysql server with the rc > script? > > I've only just installed from ports (as a dependency, mind) and > technically it should just start when you run the rc script - it sets up > the db dirs and stuff so it can just run. But I can't get it to do the > setup stuff automatically, and so the script fails. I've done the setup > manually before so its no real biggy, but I imagine others would be more > than a little frustrated. > > Anyone else have this trouble? I just realised I had to do this last > time too... > > For reference: I'm starting the script manually for testing at this > point (if that makes a difference- which I believe it shouldn't). Manually running port installed rc scripts is not working manually. I'm trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of these will work when run manually- even on different machines and bsd versions (all 6.x). Is it just me? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 08:03:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07F1C106568D for ; Wed, 1 Oct 2008 08:03:03 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id D4D1F8FC1C for ; Wed, 1 Oct 2008 08:03:02 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kkwfl-0006R3-W9 for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 01:03:01 -0700 Message-ID: <19756184.post@talk.nabble.com> Date: Wed, 1 Oct 2008 01:03:01 -0700 (PDT) From: Chris Papageorgiou To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: info@e-gate.se Subject: PXE real life use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 08:03:03 -0000 Hello all, I'd like to point a subject on PXE server usage on a daily basis such as a service department. Im thinking of developing such system to load OS's(not strictly *NIX) installations through LAN than using a CD each time. What would be the cons,pros to such system and what are the limits? Looking forward for your replies. Best regards, Chris Papageorgiou -- View this message in context: http://www.nabble.com/PXE-real-life-use-tp19756184p19756184.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 08:29:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5A7F106568A for ; Wed, 1 Oct 2008 08:29:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DB0108FC1B for ; Wed, 1 Oct 2008 08:29:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m918Tcff008012; Wed, 1 Oct 2008 10:29:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m918Tbtg008009; Wed, 1 Oct 2008 10:29:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 10:29:37 +0200 (CEST) From: Wojciech Puchar To: Mike Price In-Reply-To: Message-ID: <20081001102932.B8008@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD command to make image of the active partition and a command to restore it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 08:29:43 -0000 dump, restore On Wed, 1 Oct 2008, Mike Price wrote: > FreeBSD command to make image of the active partition and a command to > restore it? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 08:57:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C176106568D for ; Wed, 1 Oct 2008 08:57:53 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1213C8FC2D for ; Wed, 1 Oct 2008 08:57:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1KkxWp-000OVZ-7u; Wed, 01 Oct 2008 12:57:51 +0400 To: Da Rock References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> From: Boris Samorodov Date: Wed, 01 Oct 2008 12:57:45 +0400 In-Reply-To: <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> (Da Rock's message of "Wed\, 01 Oct 2008 17\:54\:09 +1000") Message-ID: <84763862@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 08:57:53 -0000 Da Rock writes: > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: >> Has anyone else had trouble with starting mysql server with the rc >> script? >> >> I've only just installed from ports (as a dependency, mind) and >> technically it should just start when you run the rc script - it sets up >> the db dirs and stuff so it can just run. But I can't get it to do the >> setup stuff automatically, and so the script fails. I've done the setup >> manually before so its no real biggy, but I imagine others would be more >> than a little frustrated. >> >> Anyone else have this trouble? I just realised I had to do this last >> time too... >> >> For reference: I'm starting the script manually for testing at this >> point (if that makes a difference- which I believe it shouldn't). > > Manually running port installed rc scripts is not working manually. I'm > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of > these will work when run manually- even on different machines and bsd > versions (all 6.x). > > Is it just me? Sorry for may be a dumb question: did you define an _enable="YES" at /etc/rc.conf[.local]? For more info you may look at the script you are trying to start. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:03:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5311065699; Wed, 1 Oct 2008 09:03:19 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7C88F8FC08; Wed, 1 Oct 2008 09:03:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m919327p009766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2008 10:03:11 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m919327p009766 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222851792; bh=scczxJBnI6CaSf GLpaddJAhJxgK7HejCLwvbbRx2g/w=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<48E33CC6.7 050504@infracaninophile.co.uk>|Date:=20Wed,=2001=20Oct=202008=2010: 03:02=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.16=20(X11/20080811)|MIME-Version:=201.0|To:=20Wojciech=20Pu char=20|CC:=20Jeremy=20Chadwick=20< koitsu@freebsd.org>,=20Danny=20Do=20,=20=0D=0A =20freebsd-questions@freebsd.org|Subject:=20Re:=20Optimal=20File=20 System=20config=20for=202.5TB=20RAID5|References:=20<1222681181.48e 0a25d094c3@www.inbox.lv>=09=09<48E21C66.8080407@FreeBSD.org>=09=09<20080930161407.E16761@wojtek.tensor.gdyni a.pl>=09=09<200809302 05435.B20033@wojtek.tensor.gdynia.pl>=09<00ee01c92346$69508fa0$3bf1 aee0$@com>=09<20080930224447.GA58065@icarus.home.lan>=20<2008100108 3637.C7317@wojtek.tensor.gdynia.pl>|In-Reply-To:=20<20081001083637. C7317@wojtek.tensor.gdynia.pl>|X-Enigmail-Version:=200.95.6|Content -Type:=20text/plain=3B=20charset=3DUTF-8=3B=20format=3Dflowed|Conte nt-Transfer-Encoding:=208bit; b=nR6EzShUHqotmJj2Mzf74FTchtwnOxHDnAJ CcfBTtRXYzbv4/buPjOpddiudJYw83opDf2Izp1Ut5O84pYoHXdwyeBIz6CZXRj/wV4 qkKhpskgy2HoRgZ5vD/YaOI7NwLxgimPF29RoR6iYn7Cy+XFwfp8rttCKS7w52kqDbW s4= Message-ID: <48E33CC6.7050504@infracaninophile.co.uk> Date: Wed, 01 Oct 2008 10:03:02 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080811) MIME-Version: 1.0 To: Wojciech Puchar References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> In-Reply-To: <20081001083637.C7317@wojtek.tensor.gdynia.pl> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Wed, 01 Oct 2008 10:03:12 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8364/Wed Oct 1 08:11:44 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,FB_WORD1_END_DOLLAR,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Jeremy Chadwick , Danny Do , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:03:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Wojciech Puchar wrote: |> |> What you're asking for is "too much" -- and this conversation is |> starting to delve into freebsd-hardware, not freebsd-questions. | | the simple answer is that software RAID on todays computers vastly | outperforms ANY hardware raid solution, maybe except the ones for 10000$ | or more. You're basically correct, but I think you're overestimating the price of a good RAID controller. The big win with hardware RAID controllers comes when they are fitted with a BBU. Typically this turns a £400 item into a £600 item, so most sales weasels will artfully forget to include it[+]. When you've got a BBU, then it lets you do the good stuff like disable write cache on the drives but *enable* it on the controller -- the presence of the battery means that data cached in RAM is safe and in the event of an unscheduled reboot, it can be flushed to disk as the system comes up again -- so the RAID can justifiably report to the OS that the IO transaction is complete without having to wait for the bits to actually hit the disk platter[*]. I've occasionally wondered why there isn't a simple device commonly available which consists of a few hundred MB of battery backed (or otherwise persistent in the face of power loss) RAM that can plug into a PCI slot and fulfil that function generically for any disks in a machine. Solid state hard drives are getting there, but they're still too expensive and not really fast enough yet. Cheers, Matthew [+] And I don't know how the manufacturers justify that price tag, as the battery tech used is based on the same off-the-shelf components that go into any mobile phone [*] Unlike the normal hw.ata.wc enable, which reports this unjustifiably... - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjjPMYACgkQ3jDkPpsZ+VYBGwCgmIndkiis5+OfA8ahXCbTasxO pbkAn2y69JagZweBpD62TnctqtQdt+mF =yHzW -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:04:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEE2810656A2 for ; Wed, 1 Oct 2008 09:04:17 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id 978AC8FC1A for ; Wed, 1 Oct 2008 09:04:17 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA01.westchester.pa.mail.comcast.net with comcast id MM3H1a00217dt5G51M4GDg; Wed, 01 Oct 2008 09:04:16 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA13.westchester.pa.mail.comcast.net with comcast id MM4F1a0034v8bD73ZM4F82; Wed, 01 Oct 2008 09:04:16 +0000 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=QycZ5dHgAAAA:8 a=CuYq1YzmwwkIjlLcKa8A:9 a=799fE1Ar2NvZ-W6sP-90roD7u7UA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id EF811C9437; Wed, 1 Oct 2008 02:04:14 -0700 (PDT) Date: Wed, 1 Oct 2008 02:04:14 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081001090414.GA15939@icarus.home.lan> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> <20081001071150.GA13554@icarus.home.lan> <20081001092139.D7677@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081001092139.D7677@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "freebsd-questions@freebsd.org" , Andrew Falanga Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:04:18 -0000 On Wed, Oct 01, 2008 at 09:22:20AM +0200, Wojciech Puchar wrote: >> with regards to Intel MatrixRAID, here you go: >> >> http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting >> >> And yes, these are FreeBSD problems, but the severity is so high that >> there is a very good chance you will lose your data in the case of a >> failure. Simply put, don't risk it. > > BIOS RAIDs are software RAIDs. FreeBSD "driver" for this is software RAID > too, just like gmirror but worse and less portable. > > simply doesn't make sense. And what exactly do you classify controllers such as the Promise TX4310 and the Promise S150 SX4 as? The TX4310 could be classified as "software RAID", but a few of the features are offloaded onto the controller. The SX4 is the same way, but has actual on-board cache. You like to declare everything as "software RAIDs", while I like to discern the difference between them using (what I believe to be) more accurate terminology: BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; "chipset" RAID) OS-based RAID (gvinum, ccd, etc.) Hardware RAID (LSI Logic, 3Ware, Areca controllers) There is always a certain degree of "software" (specifically, processing/work done on the main system's CPU) in all of those, since there is always a driver involved for interfacing with the cards -- even ones with dedicated CPUs like the Intel IOP/XScale. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:08:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D50941065689 for ; Wed, 1 Oct 2008 09:08:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 789418FC28 for ; Wed, 1 Oct 2008 09:08:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA05.westchester.pa.mail.comcast.net with comcast id MM1C1a00616LCl055M8ZzX; Wed, 01 Oct 2008 09:08:33 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA06.westchester.pa.mail.comcast.net with comcast id MM8Y1a00H4v8bD73SM8ZYv; Wed, 01 Oct 2008 09:08:33 +0000 X-Authority-Analysis: v=1.0 c=1 a=p9pqlfZpwwoA:10 a=6FVY1_NhIzwA:10 a=8pif782wAAAA:8 a=QycZ5dHgAAAA:8 a=PunZiohGKOG-6HL_G-4A:9 a=y2vjqZF9HYQtvBxyLvwK72zCF8EA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7F575C9432; Wed, 1 Oct 2008 02:08:32 -0700 (PDT) Date: Wed, 1 Oct 2008 02:08:32 -0700 From: Jeremy Chadwick To: Matthew Seaman Message-ID: <20081001090832.GB15939@icarus.home.lan> References: <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> <48E33CC6.7050504@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E33CC6.7050504@infracaninophile.co.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Wojciech Puchar , Danny Do , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:08:34 -0000 On Wed, Oct 01, 2008 at 10:03:02AM +0100, Matthew Seaman wrote: > I've occasionally wondered why there isn't a simple device commonly available > which consists of a few hundred MB of battery backed (or otherwise persistent > in the face of power loss) RAM that can plug into a PCI slot and fulfil that > function generically for any disks in a machine. Solid state hard drives are > getting there, but they're still too expensive and not really fast enough yet. You mean this? http://en.wikipedia.org/wiki/I-RAM -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:19:07 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AF74106568E; Wed, 1 Oct 2008 09:19:07 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 21F298FC19; Wed, 1 Oct 2008 09:19:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m919J1dK008264; Wed, 1 Oct 2008 11:19:01 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m919J1FP008261; Wed, 1 Oct 2008 11:19:01 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 11:19:01 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081001090414.GA15939@icarus.home.lan> Message-ID: <20081001111736.O8258@wojtek.tensor.gdynia.pl> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> <20081001071150.GA13554@icarus.home.lan> <20081001092139.D7677@wojtek.tensor.gdynia.pl> <20081001090414.GA15939@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" , Andrew Falanga Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:19:07 -0000 > And what exactly do you classify controllers such as the Promise TX4310 > and the Promise S150 SX4 as? The TX4310 could be classified as > "software RAID", but a few of the features are offloaded onto the > controller. The SX4 is the same way, but has actual on-board cache. si it do something by hardware. anyway - i don't think it will actually make it faster under FreeBSD (contrary to windoze). it's simply not worth money. > You like to declare everything as "software RAIDs", while I like to > discern the difference between them using (what I believe to be) more > accurate terminology: > > BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; "chipset" RAID) > OS-based RAID (gvinum, ccd, etc.) what are the difference between 1 and 2? there are none. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:21:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 888AE1065689; Wed, 1 Oct 2008 09:21:20 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC1A8FC2C; Wed, 1 Oct 2008 09:21:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m919LExs008289; Wed, 1 Oct 2008 11:21:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m919LESn008286; Wed, 1 Oct 2008 11:21:14 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 11:21:14 +0200 (CEST) From: Wojciech Puchar To: Matthew Seaman In-Reply-To: <48E33CC6.7050504@infracaninophile.co.uk> Message-ID: <20081001111911.U8258@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> <48E33CC6.7050504@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jeremy Chadwick , Danny Do , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:21:20 -0000 > | | the simple answer is that software RAID on todays computers vastly | > outperforms ANY hardware raid solution, maybe except the ones for 10000$ | or > more. > > You're basically correct, but I think you're overestimating the price of > a good RAID controller. no. please give me example of any RAID hardware below 10000$ that WILL be faster than properly configure software RAID solution under FreeBSD with same amount of same disks. i mean faster under normal unix-like load, which is lots of parallel accesses to same or different things, not simple tests. there are NONE. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:33:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E9391065692 for ; Wed, 1 Oct 2008 09:33:20 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.241]) by mx1.freebsd.org (Postfix) with ESMTP id 841518FC27 for ; Wed, 1 Oct 2008 09:33:18 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so136952hsz.11 for ; Wed, 01 Oct 2008 02:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=CcqA0e71TeklsAeZauv1y9vqjxProuSTXdC1GfcydeI=; b=cWTI/Emi5GYQwdO+N8n6efe7vu7yhPPrTqsnTF3xEYuwO10l8mb2E3Czlj11bubUNs VJKD1FeGitMO09BBbLs8VPHUapmb3CLbVa4UDpj3D3nCFHnGkJrm3a/Pflaxu91N9acL k+u8hRNfMBzcLnfOIggaUORNDP7AgAbS/xGKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=iHphZRhHYNHL9aycxg+YszR0B6v2N9sFGMBSOHWraV7GS06e2vcieGM6pv4B6EpWo6 6M9tZaMt0xmgbeKbXdJJuMJbGzC1riCDX+BA/Lu+5al02NrnAT7rVFWLOjcpHNxof2yi g4jAtpDSnE6psz13cKV9ojkFTTgYwNijTQaXA= Received: by 10.64.180.15 with SMTP id c15mr13531328qbf.26.1222851715763; Wed, 01 Oct 2008 02:01:55 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Wed, 1 Oct 2008 02:01:55 -0700 (PDT) Message-ID: <94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com> Date: Wed, 1 Oct 2008 11:01:55 +0200 From: "Zbigniew Szalbot" To: freebsd-questions In-Reply-To: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:33:20 -0000 Hi, 2008/10/1 John Almberg : > First, I wanted to say how great this list is. I'm a newbie FreeBSD admin > and, besides the Handbook and "Absolute FreeBSD" (which never seems to leave > my desk), this list is the best resource I have. > > I just had a huge scare today... One of the websites on my server uses a > large Mysql database. Somehow, one of the tables got corrupted today. > > I have been blithely backing up mysql with a simple cron script that ran > mysqldump every night. Simple, reliable, and I've never needed it. > > Today, when I realized the database was corrupted, I scrambled for my > backup, and realized that if I hadn't caught the problem today, tomorrow my > backup would have been overwritten, and I would have been... well, not a > happy camper. > > Again, I have run into a problem which is stupidly obvious to experienced > admins, I'm sure. I want to slap myself, but don't have time. I'll do that > after I have a better backup system in place. > > I am just about to dive into Google in search of a solution, but thought I > would fire off a quick request, in case there is an obvious solution that > everyone uses. If there is, a name or URL will do. I'll figure out the rest. > > Any hints much appreciated. Not going home until this is fixed... I'd recommend http://sourceforge.net/projects/automysqlbackup/ very easy to set up. -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:43:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A03E106568D for ; Wed, 1 Oct 2008 09:43:03 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id C38C48FC0C for ; Wed, 1 Oct 2008 09:43:02 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so134433eyi.7 for ; Wed, 01 Oct 2008 02:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=zZt/FDB0k9IKjZ/KyTmO0o8NOX5PlHAG0dMAeQEsEqA=; b=QZIqysMe3Jh4eWJ6Q5pI++pDONsuW/UgvMZmEhg9zXV9cg1IBmuB4xRW7ZKLDFduHt BBF8zfKuQEDKDbIaRv78z9QcQrhZujU0HvTtR9HsXsiEsfrKFD4nuBBvYO5KIs7zMlOU WZomwjfDPzJcCZ/d2FqXY/tRwS2C4MeoEtjoc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=bKmVVKb6cx8BOuEk6Uo3UBx+R19SeX2JlLNs6WUFHMqD16s3G8tvmwmmwrRS6ZBDbs VlF91au2AOXWZDvsO/VjO8JQSLuQfihMYeaXk0vNjZUZVnkNHF5U/2Ln9qorXY+yQI5v DyfWvAsUkYPe6KyvgTOi3OhIu1OlkdwMPodEM= Received: by 10.210.125.13 with SMTP id x13mr465570ebc.140.1222854181460; Wed, 01 Oct 2008 02:43:01 -0700 (PDT) Received: by 10.210.116.2 with HTTP; Wed, 1 Oct 2008 02:43:01 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 12:43:01 +0300 From: EforeZZ To: "Roland Smith" , freebsd-questions@freebsd.org In-Reply-To: <20080930173802.GB16426@slackbox.xs4all.nl> MIME-Version: 1.0 References: <20080930173802.GB16426@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: built-in samba mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:43:03 -0000 On Tue, Sep 30, 2008 at 8:38 PM, Roland Smith wrote: > On Tue, Sep 30, 2008 at 07:18:32PM +0300, EforeZZ wrote: > > Hello all, > > > > Is it possible to mount the samba share //pc/share/folder? > > It should be. > > > I have troubles in FreeBSD: > > I'm able to mount only //pc/share (not //pc/share/folder) and I do not > have > > read access to read contents of "//pc/share" and FreeBSD does not let me > to > > change the directory to "//pc/share/folder". > > Windows allows to mount //pc/share/folder and I have no access problems > in > > Windows. > > Is there any solution for FreeBSD? > > Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A > quick look tells us that you'll need to use //user@pc/share/folder > instead of //pc/share/folder. Other options allow you to configure > access rights and owner/group attributes. > I do use //user@pc/share/folder for mounting but I get //user@pc/share mounted instead of //user@pc/share/folder. It seems that the "/folder" part is ignored. EforeZZ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 09:57:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC056106568A for ; Wed, 1 Oct 2008 09:57:24 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 6B66F8FC0A for ; Wed, 1 Oct 2008 09:57:24 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KkySN-0003Xz-DA; Wed, 01 Oct 2008 10:57:19 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m919vIQq010098; Wed, 1 Oct 2008 10:57:19 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id C8C9DFCA4AD; Wed, 1 Oct 2008 10:57:12 +0100 (BST) Date: Wed, 1 Oct 2008 10:57:12 +0100 From: Frank Shute To: Dino Vliet Message-ID: <20081001095712.GA6862@melon.esperance-linux.co.uk> Mail-Followup-To: Dino Vliet , freebsd-questions@freebsd.org References: <20080929123132.GA59725@melon.esperance-linux.co.uk> <669615.28563.qm@web51111.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <669615.28563.qm@web51111.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 01 Oct 2008 10:57:19 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: error compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 09:57:25 -0000 On Wed, Oct 01, 2008 at 12:24:48AM -0700, Dino Vliet wrote: > > > > --- On Mon, 9/29/08, Frank Shute wrote: > > On Sun, Sep 28, 2008 at 11:09:01PM -0700, Dino Vliet wrote: > > > > Hi all, > > > > In an effort to compile a new kernel on my amd64 system running > > freebsd 6.3 I get the following error message after the make > > buildkernel KERNCONF=MYKERNEL step. > > > > The error I get is: > > > > /usr/src/sys/dev/usb/udbp.c: 426: undefined reference to > 'ng_parse_int32_type' udbp.o (.rodata + > 0xc0):/usr/src/sys/dev/usb/udbp.c: 438: undefined reference to > 'ng_parse_int32_type' > > > > *** 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 > > > > My kernel configuration called MYKERNEL looks like this: > > > > # > > # GENERIC -- Generic kernel configuration file for FreeBSD/amd64 > > # > > > > > options SCHED_ULE # ULE scheduler > > #options SCHED_4BSD # 4BSD scheduler > > > > > What is causing this error? > > > > Brgds > > Dino > > device fwe # Ethernet over FireWire (non-standard!) > > Dino, > > I don't know if it's possibly related but IIRC the SCHED_ULE scheduler > is deprecated for use in 6.* (I stand to be corrected!:) although I > believe it works with 7.* > > So I suggest trying SCHED_4BSD and see if that works better. > > As to the specific error, it looks like you might need: > > options NETGRAPH > > in your kernel conf. See: netgraph(4) > > You might also want to use the tag: RELENG_6_4 for your source > supfile. I'm pretty sure there is a 6.4 branch now the BETA has come > out. > > Regards, > > -- > > Frank > > Hi Frank, > > It worked! Excellent! > Thanks for the tips. I've reenabled sched_bsd and added > options NETGRAPH. The latter is strange though, because I managed > to compile the p1 kernel in the past without it, so why would that > fail now? Not too sure but there must be something in your kernel conf that requires netgraph (I don't use it). To be on the safe side, it's always best to compile GENERIC unless you're trying to screw the last drop of performance from your machine. > > Anyway, it worked so I can look at my other problems now. > This machine was disconnected from the internet a few months so I > had a very long package list that needed to be updated. Take a good look at /usr/ports/UPDATING and work on updating the ports/packages mentioned in there. Then hit the ports with lots of dependencies with portupgrade. E.g: # portupgrade -vrR firefox (Assuming you're using it as a workstation & like Firefox). Then I'd use the -a flag for portupgrade to hit the rest of the ports/packages. Use the -P flag if you want packages. > > Thanks for your reply! No worries :) Glad to be of help. > > Dino > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:01:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8586F106568A for ; Wed, 1 Oct 2008 10:01:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 5781C8FC1C for ; Wed, 1 Oct 2008 10:01:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so231519wag.27 for ; Wed, 01 Oct 2008 03:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vc5iY8L2dq2wfS7tJwo7O5KAqtLWv3iCx2BW3aOuTF0=; b=gjQFNXwFZxQt2JBuLVFPHtIIWcDl/m84VRbf7iYKqdOj+HWPq5VjCYTkHITxRLR1Cn 0fZAGlpfpSuaJ+MnCbtyfnA2/sVy3JvcGTzFBYhVPh01U945uUGcleal9Mbgr4koorlO VilamsWJlDZFXlOokGTMnn7xEPwDgjpZD7BRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PeYZaA5Ae2Fd6KxnORinV8SomN8Gp0fiScKdMjo0quEYZGWYvyyTOu6DeR9OiEMnIS rhr2aPpl/fS8Osoe1bvAPwDVlECrtlnMU5LnT3gmwNB0W0aKc4Vr3oc+tfPCkPE6QjF+ 4QnPGX8vNCtI7QMpgufYbVPqT1/+6zW1Lirjw= Received: by 10.114.53.18 with SMTP id b18mr8910692waa.220.1222855276808; Wed, 01 Oct 2008 03:01:16 -0700 (PDT) Received: by 10.114.120.9 with HTTP; Wed, 1 Oct 2008 03:01:16 -0700 (PDT) Message-ID: <991123400810010301xc64e027wf4741c7709cd8267@mail.gmail.com> Date: Wed, 1 Oct 2008 13:01:16 +0300 From: "Odhiambo Washington" To: "Mike Price" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD command to make image of the active partition and a command to restore it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:01:17 -0000 On Wed, Oct 1, 2008 at 10:41 AM, Mike Price wrote: > FreeBSD command to make image of the active partition and a command to > restore it? At what point in time? :-) I always make a backup of a partition to another disk like this: For exampe, if it is the root partition ... (/) dump -L0af - / | (cd /where/the/other/partition/is/mounted; restore -rf -) PS: Next time don't ask your questions like quizes. Explain the problem and we'll tell you the possible solutions. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:03:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20FC1065690 for ; Wed, 1 Oct 2008 10:03:34 +0000 (UTC) (envelope-from c46r1-c46r1@hotmail.com) Received: from blu0-omc4-s23.blu0.hotmail.com (blu0-omc4-s23.blu0.hotmail.com [65.55.111.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7067E8FC17 for ; Wed, 1 Oct 2008 10:03:34 +0000 (UTC) (envelope-from c46r1-c46r1@hotmail.com) Received: from BLU138-W39 ([65.55.111.137]) by blu0-omc4-s23.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 1 Oct 2008 02:51:31 -0700 Message-ID: X-Originating-IP: [98.197.211.202] From: jdjka sdfgsdfg To: Date: Wed, 1 Oct 2008 12:51:31 +0300 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 01 Oct 2008 09:51:31.0199 (UTC) FILETIME=[480D70F0:01C923AB] Content-Type: text/plain; charset="windows-1254" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: intel pro/wireless 2200 card? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:03:34 -0000 hi everybody; i am a freshman on freebsd ; i want to ask a question about intel pro wireless 2200 BG; i couldnt make the card on my system whatever i did.... my outputs are like this.......i read lots of documents but i couldnt find anyhting and unfortunately my system is not updated because i cant use the internet connection on wireless...can you please tell me what i have to do step by step....thanks or your helps.... dmesg output; Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (1866.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 real memory = 536674304 (511 MB) avail memory = 511258624 (487 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 1ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci3: on pcib1 vgapci0: port 0xd800-0xd8ff mem 0xd0000000-0xd7ffffff,0xffdf0000-0xffdfffff irq 16 at device 0.0 on pci3 pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 uhci0: port 0xe480-0xe49f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe800-0xe81f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe880-0xe89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xec00-0xec1f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffeffc00-0xffefffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci1: on pcib3 pci1: at device 3.0 (no driver attached) fwohci0: mem 0xffcff000-0xffcff7ff,0xffcf8000-0xffcfbfff irq 18 at device 10.0 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:03:0d:49:50:e3:a8:0a fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1280000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:03:0d:e3:a8:0a fwe0: Ethernet address: 02:03:0d:e3:a8:0a fwip0: on firewire0 fwip0: Firewire address: 00:03:0d:49:50:e3:a8:0a @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode rl0: port 0xc800-0xc8ff mem 0xffcffc00-0xffcffcff irq 19 at device 12.0 on pci1 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:03:0d:39:3e:af rl0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1866743624 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected.firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 76319MB at ata0-master SATA150 acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s3a drm0: on vgapci0 info: [drm] Initialized radeon 1.25.0 20060524 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] umass0: on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) umass0: at uhub4 port 2 (addr 2) disconnected (da0:umass-sim0:0:0:0): lost device (da0:umass-sim0:0:0:0): removing device entry umass0: detached Waiting (max 60 seconds) for system process `vnlru’ to stop...done Waiting (max 60 seconds) for system process `bufdaemon’ to stop...done Waiting (max 60 seconds) for system process `syncer’ to stop... Syncing disks, vnodes remaining...2 3 0 0 0 done All buffers synced. Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.86GHz (1866.74-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff Features2=0x180 real memory = 536674304 (511 MB) avail memory = 511242240 (487 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_bss_fw, 0xc0d185a0, 0) error 1 iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_ibss_fw, 0xc0d495a0, 0) error 1 iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi/. iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_monitor_fw, 0xc0d795a0, 0) error 1 kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 1ff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci3: on pcib1 vgapci0: port 0xd800-0xd8ff mem 0xd0000000-0xd7ffffff,0xffdf0000-0xffdfffff irq 16 at device 0.0 on pci3 pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 uhci0: port 0xe480-0xe49f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe800-0xe81f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe880-0xe89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xec00-0xec1f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffeffc00-0xffefffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci1: on pcib3 iwi0: mem 0xffcfe000-0xffcfefff irq 21 at device 3.0 on pci1 iwi0: Ethernet address: 00:13:ce:5d:6d:32 iwi0: [ITHREAD] fwohci0: mem 0xffcff000-0xffcff7ff,0xffcf8000-0xffcfbfff irq 18 at device 10.0 on pci1 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:03:0d:49:50:e3:a8:0a fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x1280000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:03:0d:e3:a8:0a fwe0: Ethernet address: 02:03:0d:e3:a8:0a fwip0: on firewire0 fwip0: Firewire address: 00:03:0d:49:50:e3:a8:0a @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode rl0: port 0xc800-0xc8ff mem 0xffcffc00-0xffcffcff irq 19 at device 12.0 on pci1 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:03:0d:39:3e:af rl0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcefff,0xcf000-0xcffff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1866740226 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected.firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 76319MB at ata0-master SATA150 acd0: DVDR at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s3a drm0: on vgapci0 info: [drm] Initialized radeon 1.25.0 20060524 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] umass0: on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 250MB (512000 512 byte sectors: 64H 32S/T 250C) ifconfig output; iwi0: flags=8802 metric 0 mtu 1500 ether 00:13:ce:5d:6d:32 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 (2412 Mhz 11b) authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 bintval 0 fwe0: flags=8943 metric 0 mtu 1500 options=8 ether 02:03:0d:e3:a8:0a inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ch 1 dma 0 fwip0: flags=8802 metric 0 mtu 1500 lladdr 0.3.d.49.50.e3.a8.a.a.2.ff.fe.0.0.0.0 rl0: flags=8843 metric 0 mtu 1500 options=8 ether 00:03:0d:39:3e:af media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 _________________________________________________________________ Windows Live Messenger'ýn için Ücretsiz 30 Ýfadeyi yükle http://www.livemessenger-emoticons.com/funfamily/tr-tr/ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:03:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EE1C10656ED for ; Wed, 1 Oct 2008 10:03:44 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id CA9A38FC13 for ; Wed, 1 Oct 2008 10:03:43 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA02.westchester.pa.mail.comcast.net with comcast id MMs11a00A0mv7h052N3LME; Wed, 01 Oct 2008 10:03:20 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA11.westchester.pa.mail.comcast.net with comcast id MN3Q1a0034v8bD73XN3R6T; Wed, 01 Oct 2008 10:03:25 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=sVWJYEl37suGWVR63ewA:9 a=bDv6YNZKTyVTkHXdRrjvIl0hzGEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id AC5D7C9432; Wed, 1 Oct 2008 03:03:41 -0700 (PDT) Date: Wed, 1 Oct 2008 03:03:41 -0700 From: Jeremy Chadwick To: Wojciech Puchar Message-ID: <20081001100341.GA16582@icarus.home.lan> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> <20081001071150.GA13554@icarus.home.lan> <20081001092139.D7677@wojtek.tensor.gdynia.pl> <20081001090414.GA15939@icarus.home.lan> <20081001111736.O8258@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081001111736.O8258@wojtek.tensor.gdynia.pl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "freebsd-questions@freebsd.org" , Andrew Falanga Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:03:44 -0000 On Wed, Oct 01, 2008 at 11:19:01AM +0200, Wojciech Puchar wrote: >> And what exactly do you classify controllers such as the Promise TX4310 >> and the Promise S150 SX4 as? The TX4310 could be classified as >> "software RAID", but a few of the features are offloaded onto the >> controller. The SX4 is the same way, but has actual on-board cache. > > si it do something by hardware. anyway - i don't think it will actually > make it faster under FreeBSD (contrary to windoze). > > it's simply not worth money. > >> You like to declare everything as "software RAIDs", while I like to >> discern the difference between them using (what I believe to be) more >> accurate terminology: >> >> BIOS-level RAID (Adaptec HostRAID, Intel MatrixRAID; "chipset" RAID) >> OS-based RAID (gvinum, ccd, etc.) > > what are the difference between 1 and 2? > > there are none. With regards to Intel MatrixRAID, you're correct -- all the feature does is provide disk pairing features via the southbridge, and provide an option ROM which configures and manages metadata on the disks for the OS to read and make use of. All the I/O operations still have to go through the CPU, and nothing is off-loaded. The reason I discern the difference is because if you tell a user "yes, your Intel MatrixRAID is software RAID", they become confused, since the feature is provided on a dedicated chip (ICHx). "But software RAID is done in the operating system, like gvinum!" There is also one difference which you're forgetting: booting. FreeBSD has a long-standing history of not being able to boot off of most anything other than UFS and gmirror; I believe gvinum might work, but I've only been able to find confirmation that gmirror does. I'm under the impression gstripe doesn't, and ZFS definitely does not. By using an additional (lower) layer that the OS has no control over (e.g. MatrixRAID), you can get around this limitation, because the OS considers the disks a single device (e.g. /dev/ar0). Of course, you run into other problems using MatrixRAID on FreeBSD, specifically when a disk fails (see my Wiki page), and the negatives there easily outweigh the positives. If you have a RAID-0 configuration you want to boot from, I've no idea what will work. If you have a RAID-1 configuration you want to boot from, gmirror is a good choice. If you have a RAID-5 or other configuration you want to boot from, a software or hardware RAID controller would be sufficient (see above). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:05:09 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFE7A106568F; Wed, 1 Oct 2008 10:05:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 36B408FC1F; Wed, 1 Oct 2008 10:05:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m91A4xYd012315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2008 11:05:00 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m91A4xYd012315 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222855500; bh=vDnr1aEpcOH6Dn W9/rsK2i3JAW0+343P3IhO7s7SCUI=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<48E34B4A.3 060007@infracaninophile.co.uk>|Date:=20Wed,=2001=20Oct=202008=2011: 04:58=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.16=20(X11/20080811)|MIME-Version:=201.0|To:=20Jeremy=20Chad wick=20|CC:=20Wojciech=20Puchar=20,=20=0D=0A=20Danny=20Do=20, =0D=0A=20freebsd-questions@FreeBSD.org|Subject:=20Re:=20Optimal=20F ile=20System=20config=20for=202.5TB=20RAID5|References:=20=20<48E21C66.8080407@FreeBSD. org>=20=20<2008093016 1407.E16761@wojtek.tensor.gdynia.pl>=20=20<20080930205435.B20033@wojtek.tensor.gdynia.pl >=20<00ee01c92346$69508fa0$3bf1aee0$@com>=20<20080930224447.GA58065 @icarus.home.lan>=20<20081001083637.C7317@wojtek.tensor.gdynia.pl>= 20<48E33CC6.7050504@infracaninophile.co.uk>=20<20081001090832.GB159 39@icarus.home.lan>|In-Reply-To:=20<20081001090832.GB15939@icarus.h ome.lan>|X-Enigmail-Version:=200.95.6|Content-Type:=20text/plain=3B =20charset=3DUTF-8=3B=20format=3Dflowed|Content-Transfer-Encoding:= 207bit; b=WEITUG/CQ4Um50pdBLlLVWlp0OOqNNl+EhmXgutsEan08qRtAwhjeRuPO p/jwl4Jay/Uo0s1XOedlETFYN/yXb/T1unrby0lVkMTusAlYZKQqut/H1gUVPr30g9+ 6FM1CzoA02r42kkMdlsNv1IUAc++epepTDmzuTfYYWy7VSI= Message-ID: <48E34B4A.3060007@infracaninophile.co.uk> Date: Wed, 01 Oct 2008 11:04:58 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080811) MIME-Version: 1.0 To: Jeremy Chadwick References: <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> <48E33CC6.7050504@infracaninophile.co.uk> <20081001090832.GB15939@icarus.home.lan> In-Reply-To: <20081001090832.GB15939@icarus.home.lan> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Wed, 01 Oct 2008 11:05:00 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8365/Wed Oct 1 10:03:36 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Wojciech Puchar , Danny Do , freebsd-questions@FreeBSD.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:05:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Jeremy Chadwick wrote: | On Wed, Oct 01, 2008 at 10:03:02AM +0100, Matthew Seaman wrote: |> I've occasionally wondered why there isn't a simple device commonly available |> which consists of a few hundred MB of battery backed (or otherwise persistent |> in the face of power loss) RAM that can plug into a PCI slot and fulfil that |> function generically for any disks in a machine. Solid state hard drives are |> getting there, but they're still too expensive and not really fast enough yet. | | You mean this? | | http://en.wikipedia.org/wiki/I-RAM | Yeah -- pretty much that. Although I'd prefer something that doesn't try and pretend to be a hard drive -- after all, there's no reason to limit the thing to the performance envelope of a SATA bus. If you want solid state drives, nowadays there are devices based on compact flash that fit in a normal 3.5" drive bay, speak SATA and don't need standby power. Latency is much better than a normal HDD, but probably not so good as the I-RAM you pointed out. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjjS0oACgkQ3jDkPpsZ+VaS5ACePK+3KUc+Kiu612I0JTqWJz9h WgoAmgNqC3/tNCmcfwogmFJZqs6gP4zF =nj5y -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:18:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89409106569B for ; Wed, 1 Oct 2008 10:18:40 +0000 (UTC) (envelope-from crazy@anvic-center.nkz.ru) Received: from anvic-center.nkz.ru (anvic-center.nkz.ru [81.1.220.165]) by mx1.freebsd.org (Postfix) with ESMTP id 2C32F8FC0C for ; Wed, 1 Oct 2008 10:18:40 +0000 (UTC) (envelope-from crazy@anvic-center.nkz.ru) Received: by anvic-center.nkz.ru (Postfix, from userid 1003) id 1DF9A102CCA; Wed, 1 Oct 2008 17:56:52 +0800 (KRAST) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on inet.anvic.local X-Spam-Level: X-Spam-Status: No, score=-104.3 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.1.8 Received: from support-2.anvic.local (unknown [192.168.1.207]) by anvic-center.nkz.ru (Postfix) with ESMTP id 82816102CC3 for ; Wed, 1 Oct 2008 17:56:51 +0800 (KRAST) Date: Wed, 1 Oct 2008 17:56:49 +0800 From: Andrey Zaytcev X-Mailer: The Bat! (v4.0.7) Professional Organization: =?windows-1251?B?wO3i6Oo=?= X-Priority: 3 (Normal) Message-ID: <974790532.20081001175649@mail.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: "ipfw count" unexpected results X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?wO3k8OXpIMfg6fbl4g==?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:18:40 -0000 Please take a look at this "ipfw show" result: 00050 4439 1302601 tee 20001 ip from any to any via tun0 00100 2695 805238 count ip from any to any via tun0 in 00101 1713 489367 count ip from any to any via tun0 out 00103 0 0 deny ip from 127.0.0.0/8 to any 00105 0 0 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via = tun0 in 00106 0 0 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via = tun2 in 00107 0 0 deny ip from 192.168.1.0/24,192.168.0.0/24 to any via = tun1 in 00108 2714 812754 count ip from any to any via tun0 in 00109 1725 489847 count ip from any to any via tun0 out 00116 0 0 allow tcp from any to xx.xx.xx.xx dst-port yy.yy.yy.yy 00117 0 0 fwd xx.xx.xx.xx tcp from yy.yy.yy.yy zz.zz.zz.zz to any 00118 0 0 fwd xx.xx.xx.xx1 tcp from yy.yy.yy.yy1 zz.zz.zz.zz1 to= any 00118 0 0 fwd xx.xx.xx.xx2 tcp from yy.yy.yy.yy2 zz.zz.zz.zz2 to= any 00119 0 0 fwd xx.xx.xx.xx3 tcp from yy.yy.yy.yy3 to any dst-port= zz.zz.zz.zz3 00120 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy dst-port zz.zz.zz.zz via tun2 00121 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy1 dst-port zz.zz.zz.zz1 via tun0 00122 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy1 dst-port zz.zz.zz.zz2 via tun0 00123 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy2 dst-port zz.zz.zz.zz3 via tun0,tun2,tun1 00124 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy2 dst-port zz.zz.zz.zz1 via tun1 00125 0 0 deny log logamount 65534 tcp from not xx.xx.xx.xx to y= y.yy.yy.yy3 dst-port zz.zz.zz.zz1 via tun1 00130 0 0 allow tcp from xx.xx.xx.xx to yy.yy.yy.yy dst-port zz.= zz.zz.zz5 keep-state 00140 2360 777364 count ip from any to any via tun0 in 00141 1416 113119 count ip from any to any via tun0 out The question is: why rules 100 and 101 are not equal to 108 and 109 and rul= es 140 and 141 ? It seems only rules 108 and 109 shows correct information,= because 108+109 =3D 50. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:41:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDA0A106568B for ; Wed, 1 Oct 2008 10:41:56 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA868FC1D for ; Wed, 1 Oct 2008 10:41:56 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 5DC8C5C2EADA for ; Wed, 1 Oct 2008 20:39:29 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <84763862@bb.ipt.ru> References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru> Content-Type: text/plain Date: Wed, 01 Oct 2008 20:39:47 +1000 Message-Id: <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 5DC8C5C2EADA.BF845 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:41:56 -0000 On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: > Da Rock writes: > > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: > > >> Has anyone else had trouble with starting mysql server with the rc > >> script? > >> > >> I've only just installed from ports (as a dependency, mind) and > >> technically it should just start when you run the rc script - it sets up > >> the db dirs and stuff so it can just run. But I can't get it to do the > >> setup stuff automatically, and so the script fails. I've done the setup > >> manually before so its no real biggy, but I imagine others would be more > >> than a little frustrated. > >> > >> Anyone else have this trouble? I just realised I had to do this last > >> time too... > >> > >> For reference: I'm starting the script manually for testing at this > >> point (if that makes a difference- which I believe it shouldn't). > > > > Manually running port installed rc scripts is not working manually. I'm > > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of > > these will work when run manually- even on different machines and bsd > > versions (all 6.x). > > > > Is it just me? > > Sorry for may be a dumb question: did you define an > _enable="YES" at /etc/rc.conf[.local]? For more info > you may look at the script you are trying to start. So are you saying I can't start a script manually without enabling it in rc.conf? I was not under that impression... I thought it could be started manually for testing before setting it for automatic startup- based on my reading in the handbook and man pages. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:53:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE32106578D for ; Wed, 1 Oct 2008 10:53:41 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id AFA388FC19 for ; Wed, 1 Oct 2008 10:53:40 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:61956 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KkzKt-0008Tn-8j for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 12:53:39 +0200 Received: (qmail 3901 invoked from network); 1 Oct 2008 12:53:37 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 1 Oct 2008 12:53:37 +0200 Received: (qmail 47379 invoked by uid 1001); 1 Oct 2008 12:53:37 +0200 Date: Wed, 1 Oct 2008 12:53:37 +0200 From: Erik Trulsson To: Da Rock Message-ID: <20081001105337.GA47338@owl.midgard.homeip.net> References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru> <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KkzKt-0008Tn-8j. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1KkzKt-0008Tn-8j fe86102f11111783ffc580ae9fcf65b8 Cc: freebsd-questions@freebsd.org Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:53:41 -0000 On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: > > On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: > > Da Rock writes: > > > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: > > > > >> Has anyone else had trouble with starting mysql server with the rc > > >> script? > > >> > > >> I've only just installed from ports (as a dependency, mind) and > > >> technically it should just start when you run the rc script - it sets up > > >> the db dirs and stuff so it can just run. But I can't get it to do the > > >> setup stuff automatically, and so the script fails. I've done the setup > > >> manually before so its no real biggy, but I imagine others would be more > > >> than a little frustrated. > > >> > > >> Anyone else have this trouble? I just realised I had to do this last > > >> time too... > > >> > > >> For reference: I'm starting the script manually for testing at this > > >> point (if that makes a difference- which I believe it shouldn't). > > > > > > Manually running port installed rc scripts is not working manually. I'm > > > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of > > > these will work when run manually- even on different machines and bsd > > > versions (all 6.x). > > > > > > Is it just me? > > > > Sorry for may be a dumb question: did you define an > > _enable="YES" at /etc/rc.conf[.local]? For more info > > you may look at the script you are trying to start. > > So are you saying I can't start a script manually without enabling it in > rc.conf? I was not under that impression... I thought it could be > started manually for testing before setting it for automatic startup- > based on my reading in the handbook and man pages. Yes, you can. Use forcestart/forcestop instead of start/stop when running the rc script if you do not have it enabled in rc.conf. This is documented in rc(8) (and is very easily overlooked if you don't know what you are looking for.) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 10:55:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7F031065690 for ; Wed, 1 Oct 2008 10:55:21 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from llca513-a.servidoresdns.net (llca513-a.servidoresdns.net [217.76.128.120]) by mx1.freebsd.org (Postfix) with ESMTP id A69528FC16 for ; Wed, 1 Oct 2008 10:55:21 +0000 (UTC) (envelope-from juancr@dsa.es) Received: from mail.dsa.es (localhost.localdomain [127.0.0.1]) by llca513-a.servidoresdns.net (Postfix) with ESMTP id AC20A1104045 for ; Wed, 1 Oct 2008 12:34:07 +0200 (CEST) Received: from 217.114.136.134 (SquirrelMail authenticated user faf352c) by mail.dsa.es with HTTP; Wed, 1 Oct 2008 10:34:07 -0000 (GMT) Message-ID: <54674.217.114.136.134.1222857247.squirrel@mail.dsa.es> Date: Wed, 1 Oct 2008 10:34:07 -0000 (GMT) From: "DSA - JCR" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Securing system with kern.securelevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 10:55:22 -0000 HI to all FreeBSD 6.3 i386 I would like to use securelevel to secure a backup schedluded box made with FreeBSD. This box mount and unmount external USB disk where the backup is made once a week. Which would be the correct secure level ? 1, 2, or 3? I don't want nobody modify scripts and root things, like adding a user to make the thing by itself, ... or modify my crontab scripts, etc... Also, where i must put the kern.securelevel? I didnt understood very well in the manual and handbook in which part of the bootin process (rc) i must put the line in rc.conf? Thanks in advance Juan Coruña Desarrollo de Software Atlantico From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:02:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C635B10656B7 for ; Wed, 1 Oct 2008 11:02:22 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9AEE18FC39 for ; Wed, 1 Oct 2008 11:02:22 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so473134wfg.7 for ; Wed, 01 Oct 2008 04:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=PGOVB6+novmXY3h7XC19Y/gvtxZfpPXfP41lnusRLRA=; b=H+TPfSvNkzwqb1qmLWMBl8c+pUEVsohkVSFtKKT3BZuaRFDZ8xrU4I/FSJjviXAR/p y4VMLB3ktB/8bfF2rld8kuFardB+SXrUpaswtmCU3I9J3I5AA8kA53GWvwJUghhV6MeT vapXzTe01bmh0WZglqteM7e2idBuOKsImBxjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=ThfnF9+0R46vfx/NMPM+zWgBcMwgPVx+WtxabNR8q4KJCveybyfeJhzDi3Lf5XDImp IStx5Bk/NW2BUOtaqUksDa97Yr+AhlSjzqL6C2JJ20EFWT62lQO2PgaAcv8dvGheKI/l 4MiaOmOrQXdqwApcxB7veAWRnFYz72Lg+HU20= Received: by 10.142.53.19 with SMTP id b19mr3310198wfa.167.1222857449816; Wed, 01 Oct 2008 03:37:29 -0700 (PDT) Received: by 10.142.14.12 with HTTP; Wed, 1 Oct 2008 03:37:29 -0700 (PDT) Message-ID: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> Date: Wed, 1 Oct 2008 11:37:29 +0100 From: "Tamar Lea" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Patching php port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:02:22 -0000 Hello all I am trying to install the php 5.2.6 port with thttpd. I have a patch file to make it compile with version 2.25b, because the standard version only works with 2.21. The patch works but the files always get overwritten when I run the build again. How do I do this? These are the commands I used cd /usr/ports/lang/php5 make extract make patch cd work patch -p0 < ~/ports/thttpd.diff vi php-5.2.6/configure # and other checks to see if the patch worked cd .. make install This results in an error in the configure file, which has reverted to the original. What am I doing wrong? Thanks for help Tamar From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:06:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C827106568C for ; Wed, 1 Oct 2008 11:06:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [76.96.30.32]) by mx1.freebsd.org (Postfix) with ESMTP id F29248FC2D for ; Wed, 1 Oct 2008 11:06:57 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA03.emeryville.ca.mail.comcast.net with comcast id MNuA1a00F17UAYkA3P6xyr; Wed, 01 Oct 2008 11:06:57 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id MP6w1a00B4v8bD78ZP6wl6; Wed, 01 Oct 2008 11:06:57 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=R0ikAQTG7sBKjufbhrsA:9 a=E5k5rRuyRk9UAEVKLh4xEJIkZdsA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8D96CC9432; Wed, 1 Oct 2008 04:06:56 -0700 (PDT) Date: Wed, 1 Oct 2008 04:06:56 -0700 From: Jeremy Chadwick To: Tamar Lea Message-ID: <20081001110656.GA18892@icarus.home.lan> References: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Patching php port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:06:58 -0000 On Wed, Oct 01, 2008 at 11:37:29AM +0100, Tamar Lea wrote: > Hello all > > I am trying to install the php 5.2.6 port with thttpd. I have a patch file > to make it compile with version 2.25b, because the standard version only > works with 2.21. The patch works but the files always get overwritten when I > run the build again. How do I do this? > > These are the commands I used > > cd /usr/ports/lang/php5 > make extract > make patch > cd work > patch -p0 < ~/ports/thttpd.diff > vi php-5.2.6/configure # and other checks to see if the patch worked > cd .. > make install > > This results in an error in the configure file, which has reverted to the > original. What am I doing wrong? Never modify "configure" scripts. You need to modify the autoconf template the configure script is built off of. In the case of lang/php5, autoconf is run to build the configure script during the "make configure" stage (which is being executed during part of "make install"). Note the USE_AUTOTOOLS line in the Makefile. Make your changes to configure.in. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:07:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E7A61065687 for ; Wed, 1 Oct 2008 11:07:24 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 6C16F8FC21 for ; Wed, 1 Oct 2008 11:07:24 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so474745wfg.7 for ; Wed, 01 Oct 2008 04:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=aPgni5oq6Myo2vSnlTM/+g8KiNYPy1gUL/PvcioPFfQ=; b=NuY78CjUxKuxogdZ6aFzzRHHdFiH9W0o8Tu7ipvTkEeMCPQPCQ8a+fAeNsoirNkxuJ DeeINblpdZElygAGfu1vg+U0cbjucMKgAMAg20y+PdfUXfmyYCYsFvLeknXPmjBxr6QA 3RHB8Svb39t3VMBdB9Efeu8NrALfHYhvlerHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=FiBB6z58zysdK9H6iGQ3UE553ZfAir1KSQRF4cRL/EjQULzT7TS9nuhVF/EHGRN447 9CjLzSZVjwfWmXdwE3J4Fbp2gK0nElmvxbzVWUCXOxJw3ElN6519PJS7I17/HD7XDdML k3CeF3pPlsmqYzZSV6GwleX4z3wZb/vdEW6MA= Received: by 10.142.86.7 with SMTP id j7mr3318492wfb.78.1222857999119; Wed, 01 Oct 2008 03:46:39 -0700 (PDT) Received: by 10.142.154.10 with HTTP; Wed, 1 Oct 2008 03:46:39 -0700 (PDT) Message-ID: <139b44430810010346s5d0ac48dy8f24165c81eabe46@mail.gmail.com> Date: Wed, 1 Oct 2008 12:46:39 +0200 From: "Valentin Bud" To: "Da Rock" In-Reply-To: <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru> <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:07:24 -0000 On Wed, Oct 1, 2008 at 12:39 PM, Da Rock wrote: > > On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: > > Da Rock writes: > > > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: > > > > >> Has anyone else had trouble with starting mysql server with the rc > > >> script? > > >> > > >> I've only just installed from ports (as a dependency, mind) and > > >> technically it should just start when you run the rc script - it sets > up > > >> the db dirs and stuff so it can just run. But I can't get it to do the > > >> setup stuff automatically, and so the script fails. I've done the > setup > > >> manually before so its no real biggy, but I imagine others would be > more > > >> than a little frustrated. > > >> > > >> Anyone else have this trouble? I just realised I had to do this last > > >> time too... > > >> > > >> For reference: I'm starting the script manually for testing at this > > >> point (if that makes a difference- which I believe it shouldn't). > > > > > > Manually running port installed rc scripts is not working manually. I'm > > > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None > of > > > these will work when run manually- even on different machines and bsd > > > versions (all 6.x). > > > > > > Is it just me? > > > > Sorry for may be a dumb question: did you define an > > _enable="YES" at /etc/rc.conf[.local]? For more info > > you may look at the script you are trying to start. > > So are you saying I can't start a script manually without enabling it in > rc.conf? I was not under that impression... I thought it could be > started manually for testing before setting it for automatic startup- > based on my reading in the handbook and man pages. > Yes you can without put it in /etc/rc.conf. Use the force word. # /usr/local/etc/rc.d/mysql-server forcestart all the best, v > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:20:40 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C27DE1065686 for ; Wed, 1 Oct 2008 11:20:40 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by mx1.freebsd.org (Postfix) with ESMTP id 94BB48FC21 for ; Wed, 1 Oct 2008 11:20:40 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edtnaa07.telusplanet.net ([75.157.28.2]) by priv-edtnes90.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081001094105.VKSX11745.priv-edtnes90.telusplanet.net@priv-edtnaa07.telusplanet.net> for ; Wed, 1 Oct 2008 03:41:05 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edtnaa07.telusplanet.net (BorderWare Security Platform) with ESMTP id 874708233C3C685E for ; Wed, 1 Oct 2008 03:41:04 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 6319661E0; Wed, 1 Oct 2008 02:41:04 -0700 (PDT) Message-ID: <48E345AF.6050409@telus.net> Date: Wed, 01 Oct 2008 02:41:03 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:20:40 -0000 I've been trying to create a modified FreeBSD 7.0 install CD that will allow me to do installations entirely via the serial console on a headless system. Lots of digging on the Internet, reading the handbook, and I've gotten nowhere fast. The following process was my best hope, but it still isn't making a serial console install possible... In a shell on another older FreeBSD system, after downloading the Disc 1 install ISO: # cd /data # mdconfig -a -t vnode -f /data/7.0-RELEASE-i386-disc1.iso -u 1 # mount -t cd9660 /dev/md1 /mnt # mkdir headlessISO # tar -C /mnt -pcf - . | tar -C /data/headlessISO -pxvf - # umount /mnt # mdconfig -d -u 1 Next I verified that the following line appears in /data/headlessISO/boot/device.hints, ensuring that COM1 (sio0) may be used for console purposes: hint.sio.0.flags="0x10" Then I created a boot.config file for the root of what will be the new CD ISO: # echo "-Dh -S115200" > /data/headlessISO/boot.config I would have preferred to use "-P" in place of the above "-Dh", but I'm using an Intel S3210SHLC motherboard and either it or some bug in FreeBSD 7.0 always causes a keyboard to be detected, even when there isn't one (solutions/explanations for that would be appreciated too). Next step was to build the new ISO as follows: # mkisofs -R -J -ldots -no-emul-boot -b boot/cdboot -o /data/7.0-RELEASE-i386-disc1-headless.iso /data/headlessISO Since the old FreeBSD system has no CD writer, I transfer the new ISO to a Windoze box and burn a CD with Nero. End result is a bootable install CD that acts as if I never customized it at all. I've configured the motherboard BIOS to enable console redirection to COM1 and that works fine... until the FreeBSD boot process, whereupon everything reverts to internal console only. As a variation on the above procedure, I replaced the step in which I create boot.config with one in which I create /data/headlessISO/boot/loader.conf.local containing the following lines: boot_multicons="YES" boot_serial="YES" comconsole_speed="115200" console="comconsole,vidconsole" That, unfortunately, gets the same result. So, what am I doing wrong? Note that the creation of boot.config and some mods to the ttyd0 line in /etc/ttys appears to work fine for enabling serial console operation on this same motherboard *after* FreeBSD 7.0 has been installed to the hard drive using the internal console - it just won't work for creating an install CD. I assume I don't need any variation of the /etc/ttys mod for the custom install CD, true? FWIW, I've also taken the resultant ISOs I've created and fed them to UNetbootin (http://unetbootin.sourceforge.net/) in order to create a bootable USB flash thumb drive installer instead of a CD. This is even less successful because once control appears to go from BIOS to the installer, the screen goes blank and I'm left with nothing but an eternal blinking cursor. Am I up against another Intel S3210SHLC motherboard problem or does UNetbootin not actually live up to it's claims for FreeBSD 7.0? Anyone know? Is there anyone out there who might have experience with FreeBSD 7.0 on the Intel S3210SHLC motherboard? Is this a problematic motherboard with known problems? Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:28:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 883D01065695 for ; Wed, 1 Oct 2008 11:28:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 338668FC19 for ; Wed, 1 Oct 2008 11:28:28 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA03.westchester.pa.mail.comcast.net ([76.96.62.27]) by QMTA05.westchester.pa.mail.comcast.net with comcast id MNPs1a0030bG4ec55PUTlx; Wed, 01 Oct 2008 11:28:27 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA03.westchester.pa.mail.comcast.net with comcast id MPUS1a00J4v8bD73PPUT8E; Wed, 01 Oct 2008 11:28:27 +0000 X-Authority-Analysis: v=1.0 c=1 a=1jPebNEPyfMA:10 a=3bd3AhXqXggA:10 a=QycZ5dHgAAAA:8 a=bzJaOOOpvEtlIxAQhbMA:9 a=2z8XUUHjXzaV3tJFgHewwxZdcUgA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 8A1A9C9432; Wed, 1 Oct 2008 04:28:26 -0700 (PDT) Date: Wed, 1 Oct 2008 04:28:26 -0700 From: Jeremy Chadwick To: Carl Message-ID: <20081001112826.GA20013@icarus.home.lan> References: <48E345AF.6050409@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E345AF.6050409@telus.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:28:28 -0000 On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: > I've been trying to create a modified FreeBSD 7.0 install CD that will > allow me to do installations entirely via the serial console on a > headless system. Lots of digging on the Internet, reading the handbook, > and I've gotten nowhere fast. Try this: http://jdc.parodius.com/freebsd/pxeboot_serial_install.html -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 11:31:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054F31065692; Wed, 1 Oct 2008 11:31:28 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DB20C8FC15; Wed, 1 Oct 2008 11:31:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m91BVKhR026753; Wed, 1 Oct 2008 13:31:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m91BVJte026750; Wed, 1 Oct 2008 13:31:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 13:31:19 +0200 (CEST) From: Wojciech Puchar To: Jeremy Chadwick In-Reply-To: <20081001100341.GA16582@icarus.home.lan> Message-ID: <20081001133041.S26720@wojtek.tensor.gdynia.pl> References: <340a29540809302134p2414e3cfw6a0694026e57d879@mail.gmail.com> <20081001071150.GA13554@icarus.home.lan> <20081001092139.D7677@wojtek.tensor.gdynia.pl> <20081001090414.GA15939@icarus.home.lan> <20081001111736.O8258@wojtek.tensor.gdynia.pl> <20081001100341.GA16582@icarus.home.lan> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-questions@freebsd.org" , Andrew Falanga Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 11:31:28 -0000 > There is also one difference which you're forgetting: booting. for me there is no problem. simply put /boot at the beginning of mirror or small partition it's that simple From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 12:14:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 052441065689 for ; Wed, 1 Oct 2008 12:14:04 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id C92058FC19 for ; Wed, 1 Oct 2008 12:14:03 +0000 (UTC) (envelope-from tamarlea@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so498360wfg.7 for ; Wed, 01 Oct 2008 05:14:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=Alxu/AnHN5IfHYifd+8NKoaSnkBnk2LTjSPa71epYss=; b=wFTpwVY8uFiCccunnOz8ZXq2YYcdMLVucmTOuxN41dLkmC/XQ5sEneV/WkKRHsTvuF ETvhpskI9NJp0vJ1f9rZVPMAAzHeZ/BF1SiuE2AIH2rPHWPsCG/JW97bu2RTQ8Exw/8c 9AxkiBTpDNccpF3Hr7Ie6hKHLmQTJ78STRExY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=tC2aU0es0J5vlmeGxBODk11M9lOyXeo31vBtPWkogrInzlctvERZ/4yD/PFXtSDBOE 7W8T4GLc6CQYLYNisa7Kx4b+E8oi+C6sJrMxDY1ZsimUnMd8dKrYmF6J+k6AawY2s3bX FTrqL4wTzDPWoZZTX6Ef+v8hMyRuSksNv/jtU= Received: by 10.142.231.7 with SMTP id d7mr3345583wfh.264.1222863243486; Wed, 01 Oct 2008 05:14:03 -0700 (PDT) Received: by 10.142.14.12 with HTTP; Wed, 1 Oct 2008 05:14:03 -0700 (PDT) Message-ID: <1ab57dc80810010514h69f6e773l3449f87894b4c065@mail.gmail.com> Date: Wed, 1 Oct 2008 13:14:03 +0100 From: "Tamar Lea" To: "Jeremy Chadwick" In-Reply-To: <20081001110656.GA18892@icarus.home.lan> MIME-Version: 1.0 References: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> <20081001110656.GA18892@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Patching php port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:14:04 -0000 Thanks for your reply, Jeremy. I now understand why it didn't work, but I have absolutely no idea how to edit configure.in. I have only just figured out what my patch is doing today. I think it would be easier to tell the makefile to modify configure after the autoconf, but I don't know how to do that either. This is the patch I wish to apply: diff -pruN php-5.2.6/configure php-5.2.6-thttpd225b/configure --- php-5.2.6/configure 2007-11-08 23:36:28.000000000 +0800 +++ php-5.2.6-thttpd225b/configure 2007-12-06 13:10:13.000000000 +0800 @@ -11525,10 +11525,14 @@ if test "$PHP_THTTPD" != "no"; then patch="test -f $THTTPD/php_patched || \ (cd $THTTPD && patch -p1 < $abs_srcdir/sapi/thttpd/thttpd_patch && touch php_patched)" + elif grep thttpd.2.25b $PHP_THTTPD/version.h >/dev/null; then + patch="test -f $THTTPD/php_patched || \ + (cd $THTTPD && patch -p1 < $abs_srcdir/sapi/thttpd/thttpd-2.25b_patch && touch php_patched)" + elif grep Premium $PHP_THTTPD/version.h >/dev/null; then patch= else - { echo "configure: error: This version only supports thttpd-2.21b and Premium thttpd" 1>&2; exit 1; } + { echo "configure: error: This version only supports thttpd-2.21b, thttpd-2.25b and Premium thttpd" 1>&2; exit 1; } fi Ideally I would like to do this myself but I think the learning curve is too steep right now. Any suggestions appreciated. Tamar On Wed, Oct 1, 2008 at 12:06 PM, Jeremy Chadwick wrote: > On Wed, Oct 01, 2008 at 11:37:29AM +0100, Tamar Lea wrote: > > Hello all > > > > I am trying to install the php 5.2.6 port with thttpd. I have a patch > file > > to make it compile with version 2.25b, because the standard version only > > works with 2.21. The patch works but the files always get overwritten > when I > > run the build again. How do I do this? > > > > These are the commands I used > > > > cd /usr/ports/lang/php5 > > make extract > > make patch > > cd work > > patch -p0 < ~/ports/thttpd.diff > > vi php-5.2.6/configure # and other checks to see if the patch worked > > cd .. > > make install > > > > This results in an error in the configure file, which has reverted to the > > original. What am I doing wrong? > > Never modify "configure" scripts. You need to modify the autoconf > template the configure script is built off of. > > In the case of lang/php5, autoconf is run to build the configure script > during the "make configure" stage (which is being executed during part > of "make install"). Note the USE_AUTOTOOLS line in the Makefile. > > Make your changes to configure.in. > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 12:29:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0DC410656A1 for ; Wed, 1 Oct 2008 12:29:30 +0000 (UTC) (envelope-from joe_tseng@hotmail.com) Received: from bay0-omc1-s18.bay0.hotmail.com (bay0-omc1-s18.bay0.hotmail.com [65.54.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id C05148FC1D for ; Wed, 1 Oct 2008 12:29:30 +0000 (UTC) (envelope-from joe_tseng@hotmail.com) Received: from BAY117-W42 ([207.46.8.77]) by bay0-omc1-s18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 1 Oct 2008 05:29:30 -0700 Message-ID: X-Originating-IP: [66.134.128.178] From: Joe Tseng To: Date: Wed, 1 Oct 2008 08:29:29 -0400 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 01 Oct 2008 12:29:30.0463 (UTC) FILETIME=[5A2256F0:01C923C1] Subject: Load trends over time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:29:30 -0000 I currently maintaining some systems that run Nagios clients and the server= spews out "socket timeout after 10s" msgs on occasion even when nothing is= wrong. Does anyone know of any kind of tool that saves system data over t= ime and allows for people to trend for patterns? If not=2C what options sh= ould I use with ps and what columns should I be capturing so I can save the= resulting data via script? tia=2C - Joe _________________________________________________________________ See how Windows connects the people=2C information=2C and fun that are part= of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/= From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 12:46:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0251065687 for ; Wed, 1 Oct 2008 12:46:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 31C0C8FC16 for ; Wed, 1 Oct 2008 12:46:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA06.westchester.pa.mail.comcast.net with comcast id MPZu1a0040mv7h056Qm3eY; Wed, 01 Oct 2008 12:46:03 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA11.westchester.pa.mail.comcast.net with comcast id MQll1a0074v8bD73XQllfU; Wed, 01 Oct 2008 12:45:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=mDV3o1hIAAAA:8 a=QycZ5dHgAAAA:8 a=Jbw_LBeUos_XjObCtp4A:9 a=Z44HVaQOOjH_SrM30V79f8KmJDUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7C9E7C9432; Wed, 1 Oct 2008 05:46:02 -0700 (PDT) Date: Wed, 1 Oct 2008 05:46:02 -0700 From: Jeremy Chadwick To: Tamar Lea Message-ID: <20081001124602.GA21491@icarus.home.lan> References: <1ab57dc80810010337i646141e2hfabf00cf2aae186c@mail.gmail.com> <20081001110656.GA18892@icarus.home.lan> <1ab57dc80810010514h69f6e773l3449f87894b4c065@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ab57dc80810010514h69f6e773l3449f87894b4c065@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Patching php port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:46:05 -0000 On Wed, Oct 01, 2008 at 01:14:03PM +0100, Tamar Lea wrote: > Thanks for your reply, Jeremy. I now understand why it didn't work, but I > have absolutely no idea how to edit configure.in. I have only just figured > out what my patch is doing today. I think it would be easier to tell the > makefile to modify configure after the autoconf, but I don't know how to do > that either. This is the patch I wish to apply: Welcome to the pains of the GNU autotools! Here's what you'll need: http://www.gnu.org/software/autoconf/manual/html_node/index.html You should be able to examine the configure.in file and "reverse engineer" how to accomplish what you need. Remember: it's just a mix of sh, m4, and macros. Don't let it diminish your morale. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 12:58:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 718D71065690 for ; Wed, 1 Oct 2008 12:58:44 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id 2D30F8FC08 for ; Wed, 1 Oct 2008 12:58:43 +0000 (UTC) (envelope-from weaseal@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so94975wra.27 for ; Wed, 01 Oct 2008 05:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=r0DyXgonOxndAGe+PfuEn3tbhioALT5Otghr3EJGPOU=; b=vzzqyf8J3Bp+flXX5+fM6rGW5SNUfJCGNh2SUBaEZCENLPU3GZ1FflwsSsTqLjtrVr GNg1rtTjhLdM+LbHPPJ5LGJ+XgYQp3Z3Erx3aLU0RhowTEu3Nlstu7sIzZvHjF7f6MOd Ftt/N6dHUOveAAkW+O04720kN0a2IgBPZjU3w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=Rgc5BwKtBGL+H7fEpJpw/lm5tR4Ek33T0NAue2pDNT5DsQGg8hSUfsqjoz1M0rLGh0 qji5mqRuhrN9NatmlbQ19tQYgcSH9/CEJPHIMfM6TAySF6MXyodQmyLLzsNXenK9mfFD kKqr2n6xko24SJwyPOaZffNrnJn5ehRV7kY2g= Received: by 10.65.154.16 with SMTP id g16mr14006264qbo.52.1222864483008; Wed, 01 Oct 2008 05:34:43 -0700 (PDT) Received: by 10.64.195.10 with HTTP; Wed, 1 Oct 2008 05:34:42 -0700 (PDT) Message-ID: <8dfae1c10810010534h2feb81eetd3f690f30e893611@mail.gmail.com> Date: Wed, 1 Oct 2008 15:34:42 +0300 From: "Walter Venable" Sender: weaseal@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: fc259134c212db6d Subject: Kernel panic! 7.0-RELEASE-p4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 12:58:44 -0000 Our box, without readily obvious provocation, started doing this today: Panic: softdep_setup_inomapdep: dependency for new inode already exists. cpuid: 0 physical memory: 1971 MB dumping 78MB: 63 47 31 15 The system then immediately reboots, and hits the panic, reboots, etc. What can I do?? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:18:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEA111065689 for ; Wed, 1 Oct 2008 13:18:05 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51102.mail.re2.yahoo.com (web51102.mail.re2.yahoo.com [206.190.38.144]) by mx1.freebsd.org (Postfix) with SMTP id 94D408FC1E for ; Wed, 1 Oct 2008 13:18:05 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 88666 invoked by uid 60001); 1 Oct 2008 13:18:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=5s6W4mgjsv6Y5C6g+RzPlNNnVLC/mJbhZGabd62fQ2iJ+Gw33wwVhsHqVSMf37lBxz/YlnHfTEtWHVl8CpPW4BypR0DeVhgmlZgC+R5yGC8zpPQkOCcyylBKDRFM7kFLqXu8hIqSRKDwz3O8SFxYL01awTSk+8E0lHZP9EB1awE=; X-YMail-OSG: mv8WbSkVM1myao53F5pgMR.x7AaOpQ0DgXdRUkwxy2JVq_u1cj33E2ShcW.tj.J7Gn69b_WLBcmM75G_6bQvlLIx3BD787ShkWKNFDXwX6s6YyCuIzdh8sqga1NNNQWONJwna9gIu819As2grQRWIc2ydZ4UyQbBjKrCIi_o25_ydwJsEQ-- Received: from [167.202.221.228] by web51102.mail.re2.yahoo.com via HTTP; Wed, 01 Oct 2008 06:18:04 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 1 Oct 2008 06:18:04 -0700 (PDT) From: Dino Vliet To: af300wsm@gmail.com MIME-Version: 1.0 Message-ID: <984631.87587.qm@web51102.mail.re2.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:18:06 -0000 Wednesday, October 1, 2008 6:34 AM From:=20 "Andrew Falanga" To:=20 "freebsd-questions@freebsd.org" Hi, I've just finished setting up a new web server, and if I get my DNS stuff correct hopefully an e-mail server too, for my church. Originally, the intention was to use RAID1 on the MOBO.=A0 However, the RAID controller on the MOBO consistently tried to make the SATA DVD drive part of the RAID array and wouldn't boot the FreeBSD boot disk. So, at the suggestion of another respondent here, I've decided to use gmirror. Now, it seems that gmirror is, perhaps, newer to FreeBSD than the software RAID stuff in the Handbook.=A0 That mentions ccd(4) and doesn't make any mention of gmirror(8).=A0 It seems like gmirror is rather easy to work with, and more important, easy to recover from is hardware fails.=A0 In any event, I want to make sure I'm understanding the manual page correctly because I don't have anything else to test this on except the churches computer.=A0 We have two Seagate 250gb SATA drives. Identical drive models so their sizes are the same.=A0 Is this the command, from gmirror(8), the one I'll want to use? =A0 =A0=A0=A0Create a mirror on disk with valid data (note that the last se= ctor of the =A0 =A0=A0=A0disk will be overwritten).=A0 Add another disk to this mirror,= so it will =A0 =A0=A0=A0be synchronized with existing disk: =A0=A0=A0 =A0=A0=A0gmirror label -v -b round-robin data da0 =A0=A0=A0 =A0=A0=A0gmirror insert data da1 Though in my case, da0 and da1 will be ad4 and ad5.=A0 This seems to be the one I'm looking for, I'm just scared of wiping out more than I bargain for. Andy --=20 A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? ************** =A0 Hi Andy, =A0 Although I assume you can't start from scratch, I think the article on this= topic=A0by the famous Dru Lavigne is very good: =A0 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html =A0 This is what I've used to do it. Now I did a google search and found: =A0 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=3D2 =A0 And gmirror is in the handbook, if found it in: =A0 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html =A0 So these sources will give you a lot of knowledge. =A0 I swear by gmirror, I had very good experience with it and will use it in t= he future again. I just need to find some time to attach the two identical = HDD's to my via c7 system. =A0 Brgds Dino =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:25:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87E2106568C for ; Wed, 1 Oct 2008 13:25:51 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from mx1.identry.com (on.identry.com [66.111.0.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7F6DC8FC12 for ; Wed, 1 Oct 2008 13:25:51 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: (qmail 76547 invoked by uid 89); 1 Oct 2008 13:25:50 -0000 Received: from unknown (HELO ?192.168.1.110?) (jalmberg@75.127.142.66) by mx1.identry.com with ESMTPA; 1 Oct 2008 13:25:50 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com> References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <81F44C16-59C8-4A44-AE2A-B9F233834383@identry.com> Content-Transfer-Encoding: 7bit From: John Almberg Date: Wed, 1 Oct 2008 09:25:48 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.3) Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:25:51 -0000 So, I thought I would post my ruby script for doing this backup... It's a little verbose for some tastes, but I like to be able to see what's happening in a script, blow by blow. This script rotates the backups according to the day of the month, so you get roughly 30 days backup. It also moves the backup to a remote backup server, keeping the latest backup on the local machine for one day. It also sends emails in case of error, and one email for success, to give you that warm and fuzzy feeling that comes from having a good backup. -- John ------------ #!/usr/local/bin/ruby debug = true day_of_month = Time.now.day backup_file = "all.mysql."+day_of_month.to_s+".txt" remote_backup_location = "user@backup_host.com:backup_dir" # user must be able to login to backup_host.com without password db_user = "username" db_pass = "password" db_host = "dbhost" notify_email = "you@example.com" # ----- no configuration below this line ---------------- # remove yesterday's local backup puts "removing previous backups" if debug `rm all.mysql.*.gz` puts "remove status: #{$?.exitstatus}" if debug # create backup file backup_command = "/usr/local/bin/mysqldump -Q -u#{db_user} -p# {db_pass} -h#{db_host} --all-databases >#{backup_file}" puts backup_command if debug `#{backup_command}` puts "backup status: #{$?.exitstatus}" if debug unless $?.exitstatus == 0 `echo "Mysql backup failed with status: #{$?.exitstatus}" | mail - s "Mysql_backup Error" #{notify_email}` exit end # zip it zip_command = "/usr/bin/gzip #{backup_file}" puts zip_command if debug `#{zip_command}` puts "zip status: #{$?.exitstatus}" if debug unless $?.exitstatus == 0 `echo "Gzip failed with status: #{$?.exitstatus}" | mail -s "Mysql_backup Error" #{notify_email}` exit end # move to backup directory move_command = "scp #{backup_file}.gz #{remote_backup_location}/# {backup_file}.gz" puts move_command if debug `#{move_command}` puts "move status: #{$?.exitstatus}" if debug unless $?.exitstatus == 0 `echo "SCP failed with status: #{$?.exitstatus}" | mail -s "Mysql_backup Error" #{notify_email}` exit end `echo "Successfully backed up mysql to #{backup_file}" | mail -s "Mysql_backup Success" #{notify_email}` From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:31:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16D2E1065689 for ; Wed, 1 Oct 2008 13:31:00 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from mail.tnode.com (common.tnode.com [91.185.203.243]) by mx1.freebsd.org (Postfix) with ESMTP id C6A598FC34 for ; Wed, 1 Oct 2008 13:30:59 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (mail.jail [10.1.1.10]) by mail.tnode.com (Postfix) with ESMTP id 5523821FC53F; Wed, 1 Oct 2008 15:30:58 +0200 (CEST) Received: from mail.tnode.com ([10.1.1.10]) by localhost (mail.tnode.com [10.1.1.10]) (amavisd-maia, port 10024) with ESMTP id 32673-03; Wed, 1 Oct 2008 15:30:54 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejc@skoberne.net) by mail.tnode.com (Postfix) with ESMTPSA id 6531421FBFCE; Wed, 1 Oct 2008 15:30:54 +0200 (CEST) Message-ID: <48E37B8D.4050406@skoberne.net> Date: Wed, 01 Oct 2008 15:30:53 +0200 From: =?ISO-8859-1?Q?Nejc_S=28koberne?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: dino_vliet@yahoo.com References: <984631.87587.qm@web51102.mail.re2.yahoo.com> In-Reply-To: <984631.87587.qm@web51102.mail.re2.yahoo.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: freebsd-questions@freebsd.org, af300wsm@gmail.com Subject: Re: Setting up gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:31:00 -0000 Hello, > I swear by gmirror, I had very good experience with it and will use it in the future > again. I just need to find some time to attach the two identical HDD's to my via c7 system. Actually, you don't need two identical HDD to make a gmirror. It's just important, that the one, you add to the already created array, is not smaller. Some would also argue that having two identical drives makes the array more prone, since they may fail "identically". This also happened to me once, and I lost data. Bye, Nejc From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:49:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5167F1065688 for ; Wed, 1 Oct 2008 13:49:51 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id CFBCA8FC12 for ; Wed, 1 Oct 2008 13:49:50 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so384965fgb.35 for ; Wed, 01 Oct 2008 06:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ZQKKervp7uGt2vABejINlUvzTO89/fUchRgFmIrbhSI=; b=Wc3YzmBNSbFoptjz0w2MnEa8TsOUeziaB6hFoQnNH0xYg85ZgWpyNRAOlhR7IDB15l skOS8fH6E0ufcfG5qIZAOWlBPMSWHPOTykio4EHgiL1zyZTnghtUJK0GzVJe+19UqqAM zpk8/mOoFjbHXtionRjxt1lWOK75FAEC/tUzE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=sKrs3AWOiqzUutNu5qrOps8WJRDW5Dweole+KzcZ0vG+5S4yX3HXYckUfPgC2Cx1Ai xzP3FNKZwT6VUFbaBHRWGQMO2IG8TcGCPyS2e7pCKdtVBxu1PIBoPLdxWOws6hUnZY5f v6ZnHEgyaUDhlrm5W5V7ZCfmk5kJLFQuKVAPc= Received: by 10.180.214.13 with SMTP id m13mr4195032bkg.75.1222868989222; Wed, 01 Oct 2008 06:49:49 -0700 (PDT) Received: from atlantis.dyndns.org (athedsl-290633.home.otenet.gr [85.73.182.231]) by mx.google.com with ESMTPS id 12sm2860512fks.9.2008.10.01.06.49.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 06:49:48 -0700 (PDT) Message-ID: <48E37FF9.3000108@gmail.com> Date: Wed, 01 Oct 2008 16:49:45 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.16 (X11/20080829) MIME-Version: 1.0 To: Walter Venable References: <8dfae1c10810010534h2feb81eetd3f690f30e893611@mail.gmail.com> In-Reply-To: <8dfae1c10810010534h2feb81eetd3f690f30e893611@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Kernel panic! 7.0-RELEASE-p4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:49:51 -0000 Walter Venable wrote: > Our box, without readily obvious provocation, started doing this today: > Panic: softdep_setup_inomapdep: dependency for new inode already exists. > cpuid: 0 > physical memory: 1971 MB > dumping 78MB: 63 47 31 15 > > The system then immediately reboots, and hits the panic, reboots, etc. > What can I do?? > Maybe boot into single user mode and run fsck? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 13:53:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCD1A1065697 for ; Wed, 1 Oct 2008 13:53:05 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 52EAA8FC1F for ; Wed, 1 Oct 2008 13:53:05 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 23767 invoked by uid 89); 1 Oct 2008 13:54:18 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 1 Oct 2008 13:54:18 -0000 Message-ID: <48E380C4.4090304@ibctech.ca> Date: Wed, 01 Oct 2008 09:53:08 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org Questions -" X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Using global environment variables inside a subshell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 13:53:05 -0000 Hi everyone, I've fudged together a quick disk space monitor that I will run from cron. Running the script works fine from the command line, but when I run it from cron, the environment variable is empty. Can someone point out the err of my ways?: #!/bin/sh /bin/df | \ /usr/bin/awk '{if($5 ~ "%" && $6 !~ "proc") {used=$5} else {used=""}; \ sub(/%/, "", used); \ if(used > 95) print $6 " is at " used"% on "ENVIRON["HOSTNAME"]"!"}' | \ mail -s "Disk usage action required" email@addr.com Cheers! Steve From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 14:46:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3C21106568B for ; Wed, 1 Oct 2008 14:46:33 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.148]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3B78FC14 for ; Wed, 1 Oct 2008 14:46:33 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by fhw-relay07.plus.net with esmtp (Exim) id 1Kl2yF-0001ry-7H for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 15:46:31 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1Kl2yE-0000n5-30 for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 15:46:30 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Wed, 1 Oct 2008 15:46:29 +0100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 1f6b86caf55b2d4b44e779ec12fcedd1 Subject: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 14:46:34 -0000 I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and gutenprint. Black printing is fine but I've got problems with colours. The colour wheel on the CUPS test page comes out as a psychedelic collection of brightly coloured rings. If I print from gimp then the correct colours appear but they are very dark and "muddy". The colours start to look a bit more reasonable from the gimp if I push the gamma value up to 2. This isn't a physical problem with the printer, I get good results when printing from Windows. Should I be able to get correct colour rendering "out of the box" or do I have to fiddle about with the multitude of output control adjustments available on the CUPS admin panel? Or should I be using something other than CUPS, that's what I've always used so far but I'm happy to try alternatives if necessary. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 15:01:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79FE6106568B for ; Wed, 1 Oct 2008 15:01:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 37F1F8FC1F for ; Wed, 1 Oct 2008 15:01:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kl3CI-0006xA-IJ for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 15:01:02 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 15:01:02 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Oct 2008 15:01:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 01 Oct 2008 17:00:49 +0200 Lines: 6 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) Sender: news Subject: Process memory inspection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 15:01:09 -0000 Hi, The top utility has SIZE and RES, but doesn't have what part of SIZE is sysv shared memory. Is there something that can print out in detail how a process uses / allocates its memory (I'm specifically interested in sysvshm but there's also the stack & mmap)? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 15:06:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8295B1065687 for ; Wed, 1 Oct 2008 15:06:36 +0000 (UTC) (envelope-from adhulma@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6E48FC1B for ; Wed, 1 Oct 2008 15:06:36 +0000 (UTC) (envelope-from adhulma@gmail.com) Received: by gxk14 with SMTP id 14so229192gxk.19 for ; Wed, 01 Oct 2008 08:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=sP9sGmVAvQ2OkGZJWLsyg9v2xFt3+wrdVzYShqbzBBY=; b=dcsztlXFPQvbPiFoP0DstKA6GojaawLx933FYujRVEOeQQxwcmh603E4CFUJDDcBZE vPKXzUL/K+7F17lTldbYqBfn5gNSxDMK/XOhWK+dS8qNzYe6IjqNxX2ceGF+zdUIcNvA EOf5/rt21NSNvt/RTcQ+IcBVJYJRts6d8Tnws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=eA9xzpXRtaa7/6ZEgPBP4SJl0W5IZv95UEeVRn1mz//vhjg6qsussJTntfJ0OLbmfn TpAA7XdctbV10bW/eJrB7ZEzZygfqMZ34T/xWwmi78GsJX2zM8YcCor2Yx6PP2uUXPKG lg/ozRBx67hDGjCRl/9RiOuWphSVWiM/7TU9M= Received: by 10.90.71.16 with SMTP id t16mr9113159aga.45.1222872380276; Wed, 01 Oct 2008 07:46:20 -0700 (PDT) Received: from ?192.168.0.127? (201009135083.user.veloxzone.com.br [201.9.135.83]) by mx.google.com with ESMTPS id 52sm3079559hsf.1.2008.10.01.07.46.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Oct 2008 07:46:19 -0700 (PDT) Message-ID: <48E38D21.6050303@gmail.com> Date: Wed, 01 Oct 2008 11:45:53 -0300 From: "K. Wolf" User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Cant boot instalation media. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 15:06:36 -0000 I tryed to install FreeBSD on my laptop (compaq nx6105), but it crashes and returns: HPTTR :no controller found. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 15:57:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 016551065697 for ; Wed, 1 Oct 2008 15:57:05 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id B9D6D8FC17 for ; Wed, 1 Oct 2008 15:57:04 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m91Fv3cP087246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Oct 2008 10:57:04 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m91Fv2l1087244; Wed, 1 Oct 2008 10:57:02 -0500 (CDT) (envelope-from dan) Date: Wed, 1 Oct 2008 10:57:02 -0500 From: Dan Nelson To: Ivan Voras Message-ID: <20081001155702.GK86326@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Process memory inspection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 15:57:05 -0000 In the last episode (Oct 01), Ivan Voras said: > Hi, > > The top utility has SIZE and RES, but doesn't have what part of SIZE > is sysv shared memory. Is there something that can print out in > detail how a process uses / allocates its memory (I'm specifically > interested in sysvshm but there's also the stack & mmap)? You can get detailed process memory info from /proc//map , or in 7.1 and later, "procstat -v". I don't know how easy it is to identify which block is shared memory, though. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 16:01:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 341471065691 for ; Wed, 1 Oct 2008 16:01:13 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id D6E778FC1A for ; Wed, 1 Oct 2008 16:01:12 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m91G0s5B012871; Wed, 1 Oct 2008 11:00:58 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081001105719.02561358@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 01 Oct 2008 11:00:35 -0500 To: Chris Papageorgiou , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <19756184.post@talk.nabble.com> References: <19756184.post@talk.nabble.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081001-0, 10/01/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/8366/Wed Oct 1 05:44:34 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m91G0s5B012871 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: PXE real life use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 16:01:13 -0000 At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: >Hello all, >I'd like to point a subject on PXE server usage on a daily basis such as a >service department. >Im thinking of developing such system to load OS's(not strictly *NIX) >installations through LAN than using a CD each time. >What would be the cons,pros to such system and what are the limits? > >Looking forward for your replies. > >Best regards, >Chris Papageorgiou Chris, Have you read the handbook on diskless clients? That will give you some good background on the subject. The reason to use diskless clients is simplified support, where you only need to update the diskless client boot to update all the clients that use that boot. As for issues, bandwidth can be problematic, depending on the number of clients, and if they all boot at the same time. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 16:33:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E58A8106569A for ; Wed, 1 Oct 2008 16:33:18 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.183]) by mx1.freebsd.org (Postfix) with ESMTP id 70DB98FC1C for ; Wed, 1 Oct 2008 16:33:18 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: by ik-out-1112.google.com with SMTP id c29so458839ika.3 for ; Wed, 01 Oct 2008 09:33:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=FIlwnwEAewLl4HvuVsB+jHu+Y8K3Ru+nhIvhLrUVlUA=; b=auMLZDQeoClbA9//4PVpftQNSbbstE7J7bKEtB2i43gd4kLCxLPXHtO5OgOjZINNN1 IbtoKed5eU1H5wC1B4HmHH/CZ+Oj7gJ3pzI5nANL64qLA7BrHSlcMJyo1GuyNsVdt1hq 6RgyXU5qdy7ERv64pb5hREwMqrfR47qFbkaWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=saZt+QjQ3o9a1lSCeB+I6nxM7CHdyyrkh/M16Js4/lp9sTZdh0OIEm08Tq8Bascnhi xs578j6hmeZeSDCeEFuXM5j8IxFWbO9X1VKvTLitkmAFhaJ4KE1IvypvqtSqsEV2X1cn VC+dashziJ8DfhoaH1xxiP9cZQkai/2yo2H9c= Received: by 10.210.92.8 with SMTP id p8mr9942251ebb.50.1222878797117; Wed, 01 Oct 2008 09:33:17 -0700 (PDT) Received: by 10.210.45.16 with HTTP; Wed, 1 Oct 2008 09:33:16 -0700 (PDT) Message-ID: <692660060810010933t6ada2c85g18b3e0e60d2cf02d@mail.gmail.com> Date: Wed, 1 Oct 2008 18:33:16 +0200 From: "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" To: "John Almberg" In-Reply-To: <81F44C16-59C8-4A44-AE2A-B9F233834383@identry.com> MIME-Version: 1.0 References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com> <81F44C16-59C8-4A44-AE2A-B9F233834383@identry.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 16:33:19 -0000 Hello, You can store whole db files too. It's faster to run database from scratch than use mysqldump and mysql "source". Best regards, Shamrock From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 16:47:23 2008 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01C45106568A for ; Wed, 1 Oct 2008 16:47:23 +0000 (UTC) (envelope-from borgibo@vivodinet.gr) Received: from outmail01.vivodinet.gr (outmail01.vivodinet.gr [83.171.202.81]) by mx1.freebsd.org (Postfix) with ESMTP id 249CC8FC21 for ; Wed, 1 Oct 2008 16:47:21 +0000 (UTC) (envelope-from borgibo@vivodinet.gr) Received: from smtp01.vivodinet.gr (smtp01out.vivodinet.gr [83.171.203.1]) by outmail01.vivodinet.gr (8.12.11.20060308/8.12.10) with ESMTP id m91GcISw001960 for ; Wed, 1 Oct 2008 19:38:18 +0300 Received: from [10.0.0.5] (dsl-88-218-68-186.customers.vivodi.gr [88.218.68.186]) by smtp01.vivodinet.gr (8.12.11.20060308/8.12.10) with ESMTP id m91GSWi2016043 for ; Wed, 1 Oct 2008 19:28:32 +0300 Message-ID: <48E3A52D.7080201@vivodinet.gr> Date: Wed, 01 Oct 2008 19:28:29 +0300 From: John Vliouras User-Agent: IceDove 1.5.0.14eol (X11/20080724) MIME-Version: 1.0 To: questions@FreeBSD.org X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on smtp02 X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on smtp01 X-Virus-Status: Clean X-Spam-Status: No, score=2.7 required=8.3 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp01.vivodinet.gr Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 16:47:23 -0000 I wonder if this is the right place to ask a question regarding FreeBsd7 and the Handbook. I have installed FreeBsd7 both i386 and amd64 architectures in two macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I have problem with my scanner. I repeat here my thread to DaemonForums-BSD forum, which is self expanatory. Please bear in mind that I am new to computing and know a little bit only about Linux. I have not used any other operating system. Here it is: hello everybody, I am a computer newby, learning Linux and started with FreeBSD lately. The only OSs I know about. I am struggling with FreeBSD7 both as an i386 and amd64 architecture. The problem is my scanner a Canon Lide 60. Running #scanimage -L I get "device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed scanner" which is right and it shows up with xsane as root (when I am lucky to use xsane as root in gnome) Now trying to: "7.6.4 Giving Other Users Access to the Scanner All previous operations have been done with root privileges. You may however, need other users to have access to the scanner. The user will need read and write permissions to the device node used by the scanner. As an example, our USB scanner uses the device node /dev/uscanner0 which is owned by the operator group. Adding the user joe to the operator group will allow him to use the scanner: # pw groupmod operator -m joe For more details read the pw(8) manual page. You also have to set the correct write permissions (0660 or 0664) on the /dev/uscanner0 device node, by default the operator group can only read the device node. This is done by adding the following lines to the /etc/devfs.rules file: [system=5] add path uscanner0 mode 660 Then add the following to /etc/rc.conf and reboot the machine: devfs_system_ruleset="system" More information regarding these lines can be found in the devfs(8) manual page. Note: Of course, for security reasons, you should think twice before adding a user to any group, especially the operator group." I cannot find "/etc/devfs.rules" file, it does not exist. I tried to make one adding what I was instructed, to no avail. I tried to put "[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists, but it did not work either. I suppose I must be doing something wrong. Please bear in mind that this is my first time that I am using the command line. I have been able to thanks to the very easy and instructive FreeBSD's handbook. If you know why "/etc/devfs.rules" file is missing from both i386 and amd64 installations and what I can do if anything, please inform me. Thank you very much for your efort, borgibo Edit/Delete Message If this is the wrong place to ask please correct me. Thank you, John Vliouras From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 17:06:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FAC81065686 for ; Wed, 1 Oct 2008 17:06:50 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 543768FC12 for ; Wed, 1 Oct 2008 17:06:49 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 7D6D035CEF; Wed, 1 Oct 2008 19:06:46 +0200 (CEST) Date: Wed, 1 Oct 2008 19:07:12 +0200 From: cpghost To: Andrew Falanga Message-ID: <20081001170712.GA1391@phenom.cordula.ws> References: <48D3D0A8.7070504@mindling.com> <1221876046.4625.4.camel@laptop1.herveybayaustralia.com.au> <48D53DA1.2040808@mindling.com> <200809211527.53755.af300wsm@gmail.com> <48D85B3A.8070706@mindling.com> <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Sebastian , freebsd-questions@freebsd.org Subject: Re: Realtek 8111C? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 17:06:50 -0000 On Tue, Sep 30, 2008 at 10:26:14PM -0600, Andrew Falanga wrote: > On Mon, Sep 22, 2008 at 8:58 PM, Sebastian wrote: > > Andrew Falanga wrote: > >> > >> On Saturday 20 September 2008 12:14:57 Sebastian wrote: > >> > >>> > >>> Da Rock wrote: > >>> > >>>> > >>>> I have used the compiled driver on 6.3 with success- but then I've used > >>>> the driver linked in a post to drivers list. 7.0 is a no go. > >>>> > >>> > >>> I tried to compile the current OEM Realtek driver under (v176) on fbsd > >>> 6.3, but couldn't get it to build. My foo is a little thin here. :) > >>> > >>> > >> > >> Where did you get this OEM driver? > >> > > > > The oem driver can be found here: > > > > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false > > > > It builds just fine on 6.3, once I read the file manual on how to build a > > kernel module. > > > > So far no problems running it with a fair amount of traffic. > > Awesome! Thanks. If I've been understanding another thread on here, > it sounds like there's a FreeBSD driver coming in 7.1. Just for the record: the re(4) driver on my FreeBSD 7.1-PRERELEASE #0: Fri Sep 26 14:43:33 CEST 2008 (both i386 and amd64) now runs like a charm on a RealTek 8111C on-board NIC (at least with 100baseTX, I didn't test with Gigabit): re0: port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff, 0xfdfe0000-0xfdfeffff irq 17 at device 0.0 on pci2 re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00200000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto $ ifconfig re0 re0: flags=8843 metric 0 mtu 1460 options=389b ether 00:21:85:XX:YY:ZZ inet6 fe80::221:85ff:feXX:YYYZZ%re0 prefixlen 64 scopeid 0x1 inet 192.168.254.60 netmask 0xffffff00 broadcast 192.168.254.255 media: Ethernet autoselect (100baseTX ) status: active $ lspci -v (...) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) Subsystem: Micro-Star International Co., Ltd. Unknown device 501c Flags: bus master, fast devsel, latency 0, IRQ 17 I/O ports at e800 Memory at fdfff000 (64-bit, prefetchable) Memory at fdfe0000 (64-bit, prefetchable) Expansion ROM at feaf0000 [disabled] Capabilities: [40] Power Management version 3 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable- Capabilities: [70] Express Endpoint, MSI 01 Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2 Capabilities: [d0] Vital Product Data > Andy > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is it such a bad thing? > A: Top-posting. > Q: What is the most annoying thing on usenet and in e-mail? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 18:18:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E0AE1065686 for ; Wed, 1 Oct 2008 18:18:12 +0000 (UTC) (envelope-from rumuru@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id A7CE78FC14 for ; Wed, 1 Oct 2008 18:18:11 +0000 (UTC) (envelope-from rumuru@gmail.com) Received: by gxk14 with SMTP id 14so515909gxk.19 for ; Wed, 01 Oct 2008 11:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=Q9lBOcdaQ5sL9hR/gUYSvABN1WHnXhS2TuHeH3gfuQ0=; b=dWXwZyvtKAxrHq3C16wjLoGsbE9sCRR7y4WPCPb7JwN418cy/+RzWEwSN/V5XkE/ip CVNfVqBSn3B/d1FmqlCUVBRC/Z2Vhq3CyAqmpvxghNwnR0JLTF3BwCnmevc80611BpxZ E4Z0mWa//fWasa+gUKXAS7vx9M2d9PKDnVXBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=IubPb7exB77IBmvkMgDWqRUv4tAhwZ2tsC2U6vLKVrWTyHKN2D1wojN93IV4gUn/sO zGxM5uBXNzF2O/dWrLRGt9QtsT2lU1EzpfGY/QimelN/9RtmP+81AKKeOFT4EZ2aGqjJ zkUOqrVz7XQdfO5+1B8sx7XRtnhdsDBtSngg8= Received: by 10.142.214.5 with SMTP id m5mr3484703wfg.257.1222885090479; Wed, 01 Oct 2008 11:18:10 -0700 (PDT) Received: by 10.143.1.20 with HTTP; Wed, 1 Oct 2008 11:18:10 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 14:18:10 -0400 From: "Mungyung Ryu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 18:18:12 -0000 Hi BSD folks! I installed FreeBSD 7 Release - amd64. I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver for Linux or FreeBSD! So, I'm considering to replace the dam ATI card with NVIDIA Geforce. I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be enough, but it should support 1920x1200 resolution. I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. Anybody can recommend? Second, I want to use zero-copy facility of FreeBSD. As far as I know, the hardware (NIC) support (Scatter-Gather DMA) is needed for that as well as using sendfile() api. Among the NIC products which has SGDMA function in the market, which one is the most well supported by FreeBSD 7R - amd64? I got a technical support from Intel, and they said there is no Intel NIC which supports SGDMA. That is so surprising.. isn't it? The driver issue is killing me on FreeBSD. Thanks. -- ****************************************************************************** Mungyung Ryu Ph.D. Student. College of Computing Georgia Institute of Technology, Atlanta ****************************************************************************** From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 18:33:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EC36106568F for ; Wed, 1 Oct 2008 18:33:45 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc3-s37.bay0.hotmail.com (bay0-omc3-s37.bay0.hotmail.com [65.54.246.237]) by mx1.freebsd.org (Postfix) with ESMTP id 37E958FC36 for ; Wed, 1 Oct 2008 18:33:45 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from BAY126-W3 ([65.55.131.38]) by bay0-omc3-s37.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 1 Oct 2008 11:33:44 -0700 Message-ID: X-Originating-IP: [204.249.77.1] From: Sean Cavanaugh To: Mungyung Ryu , Date: Wed, 1 Oct 2008 14:33:44 -0400 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 01 Oct 2008 18:33:44.0910 (UTC) FILETIME=[3C664EE0:01C923F4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RE: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 18:33:45 -0000 > Date: Wed=2C 1 Oct 2008 14:18:10 -0400 > From: rumuru@gmail.com > To: freebsd-questions@freebsd.org > Subject: Questions drivers for VGA and NIC >=20 > Hi BSD folks! >=20 > I installed FreeBSD 7 Release - amd64. > I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting dri= ver > for Linux or FreeBSD! > So=2C I'm considering to replace the dam ATI card with NVIDIA Geforce. > I don't wanna play 3D games on FreeBSD=2C so just cheap Geforce card woul= d be > enough=2C > but it should support 1920x1200 resolution. > I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. > Anybody can recommend? You trying to use the ATI driver or the RadeonHD driver? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 18:48:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68C6A1065690 for ; Wed, 1 Oct 2008 18:48:25 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp174.sat.emailsrvr.com (smtp174.sat.emailsrvr.com [66.216.121.174]) by mx1.freebsd.org (Postfix) with ESMTP id 47B9C8FC21 for ; Wed, 1 Oct 2008 18:48:25 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from relay7.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay7.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id C6E009B117A; Wed, 1 Oct 2008 14:48:24 -0400 (EDT) Received: by relay7.relay.sat.mlsrvr.com (Authenticated sender: henrik-AT-ecwwebworks.com) with ESMTP id 573D49B14F8; Wed, 1 Oct 2008 14:48:24 -0400 (EDT) From: Henrik Hudson To: freebsd-questions@freebsd.org Date: Wed, 1 Oct 2008 10:48:21 -0800 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810011048.21874.lists@rhavenn.net> Cc: Mungyung Ryu Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@rhavenn.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 18:48:25 -0000 On Wednesday 01 October 2008, "Mungyung Ryu" sent a missive stating: > Hi BSD folks! > > I installed FreeBSD 7 Release - amd64. > I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting > driver for Linux or FreeBSD! > So, I'm considering to replace the dam ATI card with NVIDIA Geforce. > I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be > enough, > but it should support 1920x1200 resolution. > I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. > Anybody can recommend? The nVidia binary drivery doesn't support amd64 if you were thinking of using that. Personally, if it's in the cards I would look for a intel board with the onboard video. > The driver issue is killing me on FreeBSD. Call the vendors and tell them you want drivers. Henrik -- Henrik Hudson lists@rhavenn.net ------------------------------ "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 19:04:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24511106568B for ; Wed, 1 Oct 2008 19:04:59 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id EDD8B8FC17 for ; Wed, 1 Oct 2008 19:04:58 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kl70M-0001u6-3C for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 12:04:58 -0700 Message-ID: <19767056.post@talk.nabble.com> Date: Wed, 1 Oct 2008 12:04:58 -0700 (PDT) From: Chris Papageorgiou To: freebsd-questions@freebsd.org In-Reply-To: <6.0.0.22.2.20081001105719.02561358@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: info@e-gate.se References: <19756184.post@talk.nabble.com> <6.0.0.22.2.20081001105719.02561358@mail.computinginnovations.com> Subject: Re: PXE real life use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 19:04:59 -0000 Dear Derek, First Id like to thank you for your reply. Yes I've read the handbook and lots of other technical articles on this particular subject, what concerns me is the overall 'worth' of this technique just to install OS's on customer's computers through PXE and not by the traditional way. Best Regards, Chris Derek Ragona wrote: > > At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: > >>Hello all, >>I'd like to point a subject on PXE server usage on a daily basis such as a >>service department. >>Im thinking of developing such system to load OS's(not strictly *NIX) >>installations through LAN than using a CD each time. >>What would be the cons,pros to such system and what are the limits? >> >>Looking forward for your replies. >> >>Best regards, >>Chris Papageorgiou > > Chris, > > Have you read the handbook on diskless clients? That will give you some > good background on the subject. > > The reason to use diskless clients is simplified support, where you only > need to update the diskless client boot to update all the clients that use > that boot. > > As for issues, bandwidth can be problematic, depending on the number of > clients, and if they all boot at the same time. > > -Derek > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > -- View this message in context: http://www.nabble.com/PXE-real-life-use-tp19756184p19767056.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 19:24:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6086910656A3 for ; Wed, 1 Oct 2008 19:24:36 +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 188DB8FC30 for ; Wed, 1 Oct 2008 19:24:35 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 01 Oct 2008 15:24:35 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id KIE03851; Wed, 1 Oct 2008 15:24:34 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 01 Oct 2008 15:24:34 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18659.52849.278757.861259@jerusalem.litteratus.org> Date: Wed, 1 Oct 2008 15:24:33 -0400 To: lists@rhavenn.net In-Reply-To: <200810011048.21874.lists@rhavenn.net> References: <200810011048.21874.lists@rhavenn.net> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org, Mungyung Ryu Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 19:24:36 -0000 Henrik Hudson writes: > > The driver issue is killing me on FreeBSD. > > Call the vendors and tell them you want drivers. nVidia, at least, is aware of the issue and has offered to write and maintain drivers ... provided certain capabilities are added to the kernel. (See previous discussion in this mailing list.) This has - obviously - not happened, and I do not know of work in progress. I do agree that the first vendor to provide working drivers will make quite a few sales. (Me among them.) Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:02:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545161065690 for ; Wed, 1 Oct 2008 20:02:39 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by mx1.freebsd.org (Postfix) with ESMTP id C54858FC20 for ; Wed, 1 Oct 2008 20:02:38 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m91K2aXF007142; Wed, 1 Oct 2008 22:02:37 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 85CD2BA8A; Wed, 1 Oct 2008 22:02:36 +0200 (CEST) Date: Wed, 1 Oct 2008 22:02:36 +0200 From: Roland Smith To: EforeZZ Message-ID: <20081001200236.GA58548@slackbox.xs4all.nl> References: <20080930173802.GB16426@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: built-in samba mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:02:39 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2008 at 12:43:01PM +0300, EforeZZ wrote: > > > I'm able to mount only //pc/share (not //pc/share/folder) and I do not > > have > > > read access to read contents of "//pc/share" and FreeBSD does not let= me > > to > > > change the directory to "//pc/share/folder". > > > Windows allows to mount //pc/share/folder and I have no access proble= ms > > in > > > Windows. > > > Is there any solution for FreeBSD? > > > > Read the mount_smbfs manual page (with the command 'man mount_smbfs'). A > > quick look tells us that you'll need to use //user@pc/share/folder > > instead of //pc/share/folder. Other options allow you to configure > > access rights and owner/group attributes. > > >=20 > I do use //user@pc/share/folder for mounting but I get //user@pc/share > mounted instead of //user@pc/share/folder. > It seems that the "/folder" part is ignored. Generally, you can mount a filesystem, but not just a subdirectory. You might be able to mount the share somewhere and then use mount_nullfs to mount the subdirectory you want somewhere else. See mount_nullfs(8). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj11wACgkQEnfvsMMhpyWHIwCgiZAGeSjhyhqlpMtq/6KDfani 4IcAn2Jn6BRoQc0zVr35FCyuH2q8bwx+ =mghD -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:15:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6005B1065687 for ; Wed, 1 Oct 2008 20:15:29 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2CD8FC15 for ; Wed, 1 Oct 2008 20:15:29 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Kl86a-000KkN-0N for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 16:15:28 -0400 Message-ID: From: "Grant Peel" To: Date: Wed, 1 Oct 2008 16:15:20 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Updating and Ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:15:29 -0000 Hi all, I have heard people chattering occasionally about /etc/make.conf. In a few days, I will be updating from 6.2, and 6.3, to RELENGE_6_3 and am curious how I can use / modufy /etc/make.conf so that I dont need to install all my ports again. Which leads to the question: I just installed /usr/ports/archivers/unzip onto all the servers, when I update to RELENG_6_3, will I need to reinstall them all over again? Which leads back to the original question, can I modify /etc/make.conf so that all ports currenly install are re installed? -Grant From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:25:10 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8730A106569A for ; Wed, 1 Oct 2008 20:25:10 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 32CC28FC23 for ; Wed, 1 Oct 2008 20:25:10 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.2/8.13.8) with ESMTP id m91KDZ3d067479; Wed, 1 Oct 2008 15:13:35 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7Wx7gONtFuvd; Wed, 1 Oct 2008 15:13:31 -0500 (CDT) Received: from archangel.daleco.biz (dsl.daleco.biz [209.125.108.70]) by ezekiel.daleco.biz (8.14.2/8.13.8) with ESMTP id m91KD94S067469; Wed, 1 Oct 2008 15:13:10 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <48E3D9CF.7020100@daleco.biz> Date: Wed, 01 Oct 2008 15:13:03 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.16) Gecko/20080719 SeaMonkey/1.1.11 MIME-Version: 1.0 To: questions@freebsd.org References: <48E3A52D.7080201@vivodinet.gr> In-Reply-To: <48E3A52D.7080201@vivodinet.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: John Vliouras Subject: Re: Scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:25:10 -0000 John Vliouras wrote: > I wonder if this is the right place to ask a question regarding FreeBsd7 > and the Handbook. It is, unless you have a specific "fix" (patch) for the handbook, in which case you send a PR and/or discuss it on the doc@ list (generally send a PR is correct; doc@ is a list for use by the doc writers, so it should be pretty important before we bother them). > I have installed FreeBsd7 both i386 and amd64 architectures in two > macines, one celeron dual core with 1GB, the other amd64x2 3800+ ,and I > have problem with my scanner. > > > The problem is my scanner a Canon Lide 60. Running #scanimage -L I get > "device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed > scanner" which is right and it shows up with xsane as root (when I am > lucky to use xsane as root in gnome) > > Now trying to: "7.6.4 Giving Other Users Access to the Scanner > > All previous operations have been done with root privileges. You may > however, need other users to have access to the scanner. The user will > need read and write permissions to the device node used by the scanner. > As an example, our USB scanner uses the device node /dev/uscanner0 which > is owned by the operator group. Adding the user joe to the operator > group will allow him to use the scanner: > > # pw groupmod operator -m joe > > For more details read the pw(8) manual page. You also have to set the > correct write permissions (0660 or 0664) on the /dev/uscanner0 device > node, by default the operator group can only read the device node. This > is done by adding the following lines to the /etc/devfs.rules file: > > [system=5] > add path uscanner0 mode 660 Since your device is "ugen0" instead of "uscanner0", you might try adjusting the line to fit that. > Then add the following to /etc/rc.conf and reboot the machine: > > devfs_system_ruleset="system" > > More information regarding these lines can be found in the devfs(8) > manual page. > > Note: Of course, for security reasons, you should think twice before > adding a user to any group, especially the operator group." > > I cannot find "/etc/devfs.rules" file, it does not exist. I tried to > make one adding what I was instructed, to no avail. I tried to put > "[system=5]" etc in the "/etc/defaults/devfs.rules" file, which exists, > but it did not work either. Well, you didn't find /etc/devfs.rules because it's not created by default, but only is used if additional local configuration is needed (for example, to change permissions on a scanners /dev/ node). :-) Creating the file in /etc/ is the way to go. Perhaps if you note what I said above it will work for you this time. However, IANAE, some it may not, (YMMV, #include "disclaimer.h" and all that). > I suppose I must be doing something wrong. Please bear in mind that this > is my first time that I am using the command line. I have been able to > thanks to the very easy and instructive FreeBSD's handbook. It is nice, isn't it? :-) > Thank you, > > John Vliouras Kevin Kinsey -- Don't despise your poor relations, they may become suddenly rich one day. -- Josh Billings From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:25:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF7DA1065688 for ; Wed, 1 Oct 2008 20:25:23 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5139F8FC13 for ; Wed, 1 Oct 2008 20:25:23 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edmwaa05.telusplanet.net ([204.209.205.55]) by priv-edmwes50.telusplanet.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20081001202522.NGQX3012.priv-edmwes50.telusplanet.net@priv-edmwaa05.telusplanet.net>; Wed, 1 Oct 2008 14:25:22 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edmwaa05.telusplanet.net (BorderWare Security Platform) with ESMTP id F2D93526381590DC; Wed, 1 Oct 2008 14:25:22 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id C384861E0; Wed, 1 Oct 2008 13:25:21 -0700 (PDT) Message-ID: <48E3DCB1.3010009@telus.net> Date: Wed, 01 Oct 2008 13:25:21 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Jeremy Chadwick References: <48E345AF.6050409@telus.net> <20081001112826.GA20013@icarus.home.lan> In-Reply-To: <20081001112826.GA20013@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:25:23 -0000 Jeremy Chadwick wrote: > On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: >> I've been trying to create a modified FreeBSD 7.0 install CD that will >> allow me to do installations entirely via the serial console on a >> headless system. Lots of digging on the Internet, reading the handbook, >> and I've gotten nowhere fast. > > Try this: > > http://jdc.parodius.com/freebsd/pxeboot_serial_install.html I was already aware of that solution, but it's not for me. There are times when I need to do the install and setting up a DHCP server et al is not viable. Installing FreeBSD via the network has no benefits for me and I will not be trying to install remotely. All I need is to be able to do a simple install using the local serial console because a keyboard and monitor is not practical in the situation. Can anyone tell me where the mistake is in my process? Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:28:30 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E4DD106569A for ; Wed, 1 Oct 2008 20:28:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id E98158FC0C for ; Wed, 1 Oct 2008 20:28:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id m91KSRrS017749; Wed, 1 Oct 2008 22:28:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 5044EBA8A; Wed, 1 Oct 2008 22:28:27 +0200 (CEST) Date: Wed, 1 Oct 2008 22:28:27 +0200 From: Roland Smith To: John Vliouras Message-ID: <20081001202827.GB58548@slackbox.xs4all.nl> References: <48E3A52D.7080201@vivodinet.gr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: <48E3A52D.7080201@vivodinet.gr> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: Scanner X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:28:30 -0000 --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2008 at 07:28:29PM +0300, John Vliouras wrote: > I wonder if this is the right place to ask a question regarding FreeBsd7 > and the Handbook. > The problem is my scanner a Canon Lide 60. Running #scanimage -L I get > "device `genesys:libusb:/dev/usb1:/dev/ugen0' is a Canon Lide 60 flatbed > scanner" which is right and it shows up with xsane as root (when I am > lucky to use xsane as root in gnome) > I cannot find "/etc/devfs.rules" file, it does not exist. I tried to > make one adding what I was instructed, to no avail. I tried to put > "[system=3D5]" etc in the "/etc/defaults/devfs.rules" file, which exists, > but it did not work either. A new install doesn't have a devfs.rules file. You must create it. What I did to get my scanner and other devices working is the following; - Use pw(8) to create a group named usb, adding my user-id to the group: pw groupadd -n usb -m my_user_id - Write /etc/devfs.rules to give the usb group access: [customruleset=3D10] add path 'da*' mode 0660 group usb add path 'msdosfs/*' mode 0660 group usb add path 'uscanner*' mode 0660 group usb add path 'usb*' mode 0660 group usb add path 'ugen*' mode 0660 group usb (The third 'add' line is for the scanner.) - Activate the ruleset in /etc/rc.conf: devfs_system_ruleset=3D"customruleset" - Now either reboot the machine, or restart devfs using=20 '/etc/rc.d/devfs restart' - Then plug in the scanner and switch it on. You should see /dev/uscanner appear with the right permissions. For the scanner to work in sane, you might need to edit its configuration files. You should edit /usr/local/etc/sane.d/dll.conf to make it load the genesys backend. (just add a line 'genesys' if not present.) The LiDE 60 is listed in /usr/local/etc/sane.d/genesys.conf, but if it doesn't work, add a line 'usb /dev/uscanner0' to genesys.conf. On my FreeBSD page[1] I documented the system configuration that I did on my machine. You might find it usefull. Roland [1] http://www.xs4all.nl/~rsmith/freebsd/index.html --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj3WsACgkQEnfvsMMhpyVYsgCeM+VGnRdPFEhNFv3gWFXt3wGo CKoAoIU8nPqImMg2F46e+XKEnLnC6vcX =jizV -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:35:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21829106568D for ; Wed, 1 Oct 2008 20:35:25 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id AD88E8FC29 for ; Wed, 1 Oct 2008 20:35:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id m91KZLLh098114; Wed, 1 Oct 2008 22:35:22 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id DC8FBBA8A; Wed, 1 Oct 2008 22:35:21 +0200 (CEST) Date: Wed, 1 Oct 2008 22:35:21 +0200 From: Roland Smith To: Grant Peel Message-ID: <20081001203521.GC58548@slackbox.xs4all.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Updating and 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, 01 Oct 2008 20:35:25 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2008 at 04:15:20PM -0400, Grant Peel wrote: > Hi all, >=20 > I have heard people chattering occasionally about /etc/make.conf. >=20 > In a few days, I will be updating from 6.2, and 6.3, to RELENGE_6_3 and a= m=20 > curious how I can use / modufy /etc/make.conf so that I dont need to inst= all=20 > all my ports again. You only have to reinstall your ports if you change to another major version, e.g. from 6.x to 7.x. For a change from 6.2 to RELENG_6_3 that isn't necessary.=20 Editing make.conf will not in any way reinstall ports for you. What it make.conf does is pass options to the 'make' program. Nothing more. Options in make.conf can be global or only apply when make is called from a specific directory: ----- make.conf example ----- # Global flag; documentation languages DOC_LANG=3Den_US.ISO8859-1 # Flag specific to the cups port. =2Eif ${.CURDIR:M*/print/cups*} CUPS_OVERWRITE_BASE=3Dtrue =2Eendif ----- make.conf example ----- Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj3wkACgkQEnfvsMMhpyUXCQCeOXfZ1pk9FAvyddBELTNINuYh AMAAnj1BMqdwy00Pwf1ucL8PEmeRN665 =I/Ej -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:39:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C931065677 for ; Wed, 1 Oct 2008 20:39:00 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C6C2B8FC1A for ; Wed, 1 Oct 2008 20:38:59 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m91KcpZk056005; Wed, 1 Oct 2008 22:38:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m91Kcoqi056002; Wed, 1 Oct 2008 22:38:51 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 22:38:50 +0200 (CEST) From: Wojciech Puchar To: Mungyung Ryu In-Reply-To: Message-ID: <20081001223759.E56000@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:39:00 -0000 > I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be > enough, > but it should support 1920x1200 resolution. > I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. > Anybody can recommend? none of them are supported on any arch. unless giving somewhat-working binary only, and x86-32 bit-only files you call a support. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:48:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23DF21065690 for ; Wed, 1 Oct 2008 20:48:37 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id F1BDD8FC14 for ; Wed, 1 Oct 2008 20:48:36 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 15224 invoked from network); 1 Oct 2008 20:48:37 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Oct 2008 20:48:37 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 830C428457; Wed, 1 Oct 2008 16:48:35 -0400 (EDT) To: Steve Bertrand References: <48E380C4.4090304@ibctech.ca> From: Lowell Gilbert Date: Wed, 01 Oct 2008 16:48:35 -0400 In-Reply-To: <48E380C4.4090304@ibctech.ca> (Steve Bertrand's message of "Wed\, 01 Oct 2008 09\:53\:08 -0400") Message-ID: <44hc7wqbx8.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Using global environment variables inside a subshell 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, 01 Oct 2008 20:48:37 -0000 Steve Bertrand writes: > I've fudged together a quick disk space monitor that I will run from > cron. Running the script works fine from the command line, but when I > run it from cron, the environment variable is empty. > > Can someone point out the err of my ways?: > > #!/bin/sh > > /bin/df | \ > /usr/bin/awk '{if($5 ~ "%" && $6 !~ "proc") {used=$5} else {used=""}; \ > sub(/%/, "", used); \ > if(used > 95) print $6 " is at " used"% on "ENVIRON["HOSTNAME"]"!"}' | \ > mail -s "Disk usage action required" email@addr.com The environment under which cron jobs are run is very spare. It's more or less limited to the variables that are listed in the crontab(5) manual. You need to get the value into your script another way. In this case, I would use hostname(1). -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:49:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93BCA106568A for ; Wed, 1 Oct 2008 20:49:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6758FC20 for ; Wed, 1 Oct 2008 20:49:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id m91Kn7W8049252; Wed, 1 Oct 2008 22:49:07 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D0E16BA8A; Wed, 1 Oct 2008 22:49:06 +0200 (CEST) Date: Wed, 1 Oct 2008 22:49:06 +0200 From: Roland Smith To: Mike Clarke Message-ID: <20081001204906.GD58548@slackbox.xs4all.nl> References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rz+pwK2yUstbofK6" Content-Disposition: inline In-Reply-To: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 20:49:09 -0000 --rz+pwK2yUstbofK6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: >=20 > I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS and= =20 > gutenprint. Black printing is fine but I've got problems with colours.=20 > The colour wheel on the CUPS test page comes out as a psychedelic=20 > collection of brightly coloured rings. If I print from gimp then the=20 > correct colours appear but they are very dark and "muddy". The colours=20 > start to look a bit more reasonable from the gimp if I push the gamma=20 > value up to 2. Have you installed a .ppd file for this printer? This is a file that tells cups about the capabilities of this printer. See http://www.linuxprinting.org/show_printer.cgi?recnum=3DCanon-PIXMA_IP43= 00_OR_PIXMA_IP4500 I'm not sure if just installing the ppd file works. It does for my PostScript printer. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --rz+pwK2yUstbofK6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj4kIACgkQEnfvsMMhpyWv1ACbBHbq4g53S9hgEw7LntFDQ0El yHIAn2h6+o/05l6Yd3XogZ3A/5jorMIu =rDw0 -----END PGP SIGNATURE----- --rz+pwK2yUstbofK6-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 21:03:39 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15DB1065689 for ; Wed, 1 Oct 2008 21:03:39 +0000 (UTC) (envelope-from peter.thoenen@yahoo.com) Received: from smtp107.prem.mail.sp1.yahoo.com (smtp107.prem.mail.sp1.yahoo.com [98.136.44.62]) by mx1.freebsd.org (Postfix) with SMTP id 70B118FC19 for ; Wed, 1 Oct 2008 21:03:39 +0000 (UTC) (envelope-from peter.thoenen@yahoo.com) Received: (qmail 10794 invoked from network); 1 Oct 2008 20:36:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=4xlc3EP7iw6MDncm+BWyE2ubcWeNMYtFPGGMVawmW4fiXLfdepY929M8R4DaXDiselENN4pb76SoUb82ZuBDOUIwFRArGRggl8/bC2bmH0PZjwXf5xCK4sGyPBlaiU+QF4CmGglFi7BQU07U8yi8+41Cma+A7c2dYAD0dmZ0dlA= ; Received: from unknown (HELO ?78.101.230.1?) (peter.thoenen@78.101.230.1 with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 1 Oct 2008 20:36:57 -0000 X-YMail-OSG: kHfiYrAVM1nfu1sZokyncVx1U.M8Lvd2aUMKewyRLz.6fKPnks5yuGscQUZgYZj9FBpenh6NyTCt6vLYvXNlFNRWaOHjXAbR2Yhvh_xqghxMGpytGx6a_EbRj5EMykXnF_78AYcjPABh1XVtRgODsFvCCgQ- X-Yahoo-Newman-Property: ymail-3 Message-ID: <48E3DF63.103@yahoo.com> Date: Wed, 01 Oct 2008 23:36:51 +0300 From: Peter Thoenen User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Lenovo X200s X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 21:03:39 -0000 The Thinkpad series has always had strong FreeBSD support with the two digit models (Xnn) but I am a bit iffy on Lenovo's attempts to morph the Thinkpads into something else via the three digit series (Xnnn). Anybody own a X200s and successfully running FreeBSD 7.x? Cheers, -Peter From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 21:22:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C74B41065686 for ; Wed, 1 Oct 2008 21:22:30 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp102.prem.mail.ac4.yahoo.com (smtp102.prem.mail.ac4.yahoo.com [76.13.13.41]) by mx1.freebsd.org (Postfix) with SMTP id 7097D8FC15 for ; Wed, 1 Oct 2008 21:22:30 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 48598 invoked from network); 1 Oct 2008 21:22:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=B2YaJSuvpJqOWDv3x6xWUGEDeQKlVAcUL8E1z5UE28G233T93T7Hd+yR6G5kh/YSx/loCGoevIUozDh+r1GEVaDtm34OAQfSUrOLVje8EuyDtTaVfHoypT5ECDmV/fNU8YzlIT6mPfbN5fzSgf3UfGLbYAVHLU1B8l4ogBABSxE= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp102.prem.mail.ac4.yahoo.com with SMTP; 1 Oct 2008 21:22:29 -0000 X-YMail-OSG: sTYB1g0VM1k9DpwEKP.2eiXTavU.30f5xtXxhjaqBVP.UBJYPqciq_hJ6_TAAUG9JZPk9d.F96qeRFB.wIn3fcO3yz_h3jqDy5x3ctBCmoMFkainqzxPR1IXoXY5gksL041WnYqQTP0xAJNbmkhGkLzpSOG1IIc5AMiAQ6DGZT9ZbPUK X-Yahoo-Newman-Property: ymail-3 Date: Wed, 1 Oct 2008 17:22:16 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081001172216.5015add3@scorpio> In-Reply-To: <18659.52849.278757.861259@jerusalem.litteratus.org> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/7KHV._0JS.dkohwiz6PVm8L"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Questions drivers for VGA and NIC 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, 01 Oct 2008 21:22:30 -0000 --Sig_/7KHV._0JS.dkohwiz6PVm8L Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 1 Oct 2008 15:24:33 -0400 Robert Huff wrote: [snip] > nVidia, at least, is aware of the issue and has offered to >write and maintain drivers ... provided certain capabilities are >added to the kernel. (See previous discussion in this mailing list.) > This has - obviously - not happened, and I do not know of work >in progress. > I do agree that the first vendor to provide working drivers >will make quite a few sales. (Me among them.) In all likelihood, the probability of any vendor creating FBSD specific drivers is directly proportionate to the expenditure of funds to create and maintain the driver versus the expected revenue from such an expenditure. Unfortunately, doing a quick search, I was not able to locate the article(s) you referenced above. I would like to see exactly what NVIDIA is requesting. --=20 Jerry gesbbb@yahoo.com Many people would rather die than think; in fact, most do. Bertrand Russell --Sig_/7KHV._0JS.dkohwiz6PVm8L Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj6hIACgkQBvaKIJWWCO1OowCeN5PRk0pFjAv/NXolexXKBj++ 1HEAoIFLN3e9L4yvFf4ulzt7+c8wkv82 =fg6M -----END PGP SIGNATURE----- --Sig_/7KHV._0JS.dkohwiz6PVm8L-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 21:25:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF58F1065677 for ; Wed, 1 Oct 2008 21:25:27 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 214C58FC19 for ; Wed, 1 Oct 2008 21:25:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m91LPJHW056254 for ; Wed, 1 Oct 2008 23:25:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m91LPJnW056251 for ; Wed, 1 Oct 2008 23:25:19 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 1 Oct 2008 23:25:19 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org In-Reply-To: <20081001172216.5015add3@scorpio> Message-ID: <20081001232502.G56202@wojtek.tensor.gdynia.pl> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 21:25:28 -0000 > In all likelihood, the probability of any vendor creating FBSD > specific drivers is directly proportionate to the expenditure of funds > to create and maintain the driver versus the expected revenue from such > an expenditure. giving out a specs will be the simplest way. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 21:52:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F78C1065692 for ; Wed, 1 Oct 2008 21:52:12 +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 BC4268FC0C for ; Wed, 1 Oct 2008 21:52:11 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 01 Oct 2008 17:52:11 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PCN70404; Wed, 1 Oct 2008 17:52:10 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 01 Oct 2008 17:52:08 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18659.61704.87342.180770@jerusalem.litteratus.org> Date: Wed, 1 Oct 2008 17:52:08 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20081001172216.5015add3@scorpio> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 21:52:12 -0000 Jerry : >> nVidia, at least, is aware of the issue and has offered to >>write and maintain drivers ... provided certain capabilities are >>added to the kernel. (See previous discussion in this mailing list.) >> This has - obviously - not happened, and I do not know of work >>in progress. >> I do agree that the first vendor to provide working drivers >>will make quite a few sales. (Me among them.) > >Unfortunately, doing a quick search, I was not able to locate the >article(s) you referenced above. I would like to see exactly what >NVIDIA is requesting. Sorry - wrong list. Try: http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 22:00:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B21091065687 for ; Wed, 1 Oct 2008 22:00:28 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp124.sat.emailsrvr.com (smtp124.sat.emailsrvr.com [66.216.121.124]) by mx1.freebsd.org (Postfix) with ESMTP id 90BF58FC16 for ; Wed, 1 Oct 2008 22:00:28 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from relay2.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay2.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id 002F7278B3C; Wed, 1 Oct 2008 18:00:27 -0400 (EDT) Received: by relay2.relay.sat.mlsrvr.com (Authenticated sender: henrik-AT-ecwwebworks.com) with ESMTP id BF4192714FD; Wed, 1 Oct 2008 18:00:27 -0400 (EDT) From: Henrik Hudson To: freebsd-questions@freebsd.org Date: Wed, 1 Oct 2008 14:00:24 -0800 User-Agent: KMail/1.9.7 References: <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> In-Reply-To: <20081001172216.5015add3@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810011400.25215.lists@rhavenn.net> Cc: Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@rhavenn.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 22:00:28 -0000 On Wednesday 01 October 2008, Jerry sent a missive stating: > On Wed, 1 Oct 2008 15:24:33 -0400 > Robert Huff wrote: > > [snip] > > > nVidia, at least, is aware of the issue and has offered to > >write and maintain drivers ... provided certain capabilities are > >added to the kernel. (See previous discussion in this mailing list.) > > This has - obviously - not happened, and I do not know of work > >in progress. > > I do agree that the first vendor to provide working drivers > >will make quite a few sales. (Me among them.) > > In all likelihood, the probability of any vendor creating FBSD > specific drivers is directly proportionate to the expenditure of funds > to create and maintain the driver versus the expected revenue from such > an expenditure. > > Unfortunately, doing a quick search, I was not able to locate the > article(s) you referenced above. I would like to see exactly what > NVIDIA is requesting. Digg through the nVidia forum. They've posted the specs / story there with a few links off to FreeBSD forum / lists as well. Henrik -- Henrik Hudson lists@rhavenn.net ------------------------------ "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 22:04:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6A25106568D for ; Wed, 1 Oct 2008 22:04:29 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp105.prem.mail.ac4.yahoo.com (smtp105.prem.mail.ac4.yahoo.com [76.13.13.44]) by mx1.freebsd.org (Postfix) with SMTP id 713C48FC17 for ; Wed, 1 Oct 2008 22:04:29 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 37716 invoked from network); 1 Oct 2008 22:04:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=mFSas1kWK/oEuTpt06ljyS9v3H5YgJBnf20x/9pJy4XKlvuxIO7UtFAP3yhL6GR5WuRxgf+bNgofXYT5sQkFlOXSQ6YIf2uQnqzJUlDfVywJdtnWVTpCyqmSA/CpWzYX1N7bR3/y32x23YrSncmd1driocku5EukpN6owFyb/mM= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp105.prem.mail.ac4.yahoo.com with SMTP; 1 Oct 2008 22:04:28 -0000 X-YMail-OSG: qDvsvvsVM1l6Vj7QXN3y47TN7gwxJ8drg8sZ3Tyi28RVbFELn2jkn4vqNcu2f0ZLesu805RQf61iuY4q.Og0lqyMJ_7T3d9ahRuvXUE5GSVvoGISVHYxQID1vn_MQFz5mNm3gIL0ecVPYdAKYRs2_Byblgj82i8RAYNJufIqQzYZEcIy X-Yahoo-Newman-Property: ymail-3 Date: Wed, 1 Oct 2008 18:04:24 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081001180424.56e6ca69@scorpio> In-Reply-To: <20081001232502.G56202@wojtek.tensor.gdynia.pl> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <20081001232502.G56202@wojtek.tensor.gdynia.pl> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/yAR_qJs0=D7jnUSEQF.TsOF"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Questions drivers for VGA and NIC 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, 01 Oct 2008 22:04:29 -0000 --Sig_/yAR_qJs0=D7jnUSEQF.TsOF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) Wojciech Puchar wrote: >> In all likelihood, the probability of any vendor creating FBSD >> specific drivers is directly proportionate to the expenditure of >> funds to create and maintain the driver versus the expected revenue >> from such an expenditure. =20 > >giving out a specs will be the simplest way. Any entity, or corporation, has a right to expect a return on their investment. To expect a corporation to simply give away something, thereby depriving their shareholders, partners or whatever, of their rightfully expected monetary reward is foolish. It certainly is not a well thought out business model. --=20 Jerry gesbbb@yahoo.com If man is only a little lower than the angels, the angels should reform. Mary Wilson Little --Sig_/yAR_qJs0=D7jnUSEQF.TsOF Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjj8+kACgkQBvaKIJWWCO2AogCfcw883J5LQvzP4Oz3cyI1nSrO UrwAmwf1VUvDc+wYKUVhLtT9ji+fvQ08 =CKui -----END PGP SIGNATURE----- --Sig_/yAR_qJs0=D7jnUSEQF.TsOF-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 22:23:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B29106569C for ; Wed, 1 Oct 2008 22:23:49 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id 28E9E8FC14 for ; Wed, 1 Oct 2008 22:23:49 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 79257 invoked from network); 1 Oct 2008 22:23:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=0jp1GyUimrSIOTIX74Zz07O4Y4M3GCE5ks1UbDJm5YN4iD4i4QVLNJhxWsKOUDDJEH+D5cjGRhXZiSHPIgVyo1tOWvO13wDV3K0wirh73U/eSDQm9NfASBsCqteNXPBnLpLYEFW17cFspEBqiBDq6EorpZ6eQ8drhywJC11Zfy8= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 1 Oct 2008 22:23:48 -0000 X-YMail-OSG: iKRBpPcVM1k9JKzIH.jU.ahd.JO12D1FUVAw.qggfcJwZa61tYKZCEcdES7YF82ov3QyA8qAvkfZozNzq4flLetGnUjB6sCul9lzZIif0SlohNUDK_0NDr_LdMkLBJgG7vxbhsV_wWTjCZqcfX8Rq_h8no.3XViOamAlYNZ78amCmo4X X-Yahoo-Newman-Property: ymail-3 Date: Wed, 1 Oct 2008 18:23:44 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081001182344.6e9bd339@scorpio> In-Reply-To: <18659.61704.87342.180770@jerusalem.litteratus.org> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <18659.61704.87342.180770@jerusalem.litteratus.org> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/nm7Y=6XOSS=N6ppazVUh+gl"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Questions drivers for VGA and NIC 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, 01 Oct 2008 22:23:49 -0000 --Sig_/nm7Y=6XOSS=N6ppazVUh+gl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 1 Oct 2008 17:52:08 -0400 Robert Huff wrote: > Sorry - wrong list. Try: > >http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html Thanks! Considering the age of the article, Thu Jun 29 11:12:35 UTC 2006, I am surprised that more has not transpired since then. It would appear that they are genuinely interested in at least attempting to get a fully functional driver in place for the FBSD architecture. --=20 Jerry gesbbb@yahoo.com I am very fond of the company of ladies. I like their beauty, I like their delicacy, I like their vivacity, and I like their silence. Samuel Johnson --Sig_/nm7Y=6XOSS=N6ppazVUh+gl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEUEARECAAYFAkjj+HEACgkQBvaKIJWWCO0ASgCY9ZyHK5Q9IenObBtl0FSQdxlA fQCeMsGiT+3ymJ05sQHk9q7T0EOOM14= =W4tm -----END PGP SIGNATURE----- --Sig_/nm7Y=6XOSS=N6ppazVUh+gl-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 22:36:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D03F106568B for ; Wed, 1 Oct 2008 22:36:38 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp204.sat.emailsrvr.com (smtp204.sat.emailsrvr.com [66.216.121.204]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6848FC13 for ; Wed, 1 Oct 2008 22:36:38 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from relay10.relay.sat.mlsrvr.com (localhost [127.0.0.1]) by relay10.relay.sat.mlsrvr.com (SMTP Server) with ESMTP id 8E27611B0DC9; Wed, 1 Oct 2008 18:36:37 -0400 (EDT) Received: by relay10.relay.sat.mlsrvr.com (Authenticated sender: henrik-AT-ecwwebworks.com) with ESMTP id 566189B04C3; Wed, 1 Oct 2008 18:36:37 -0400 (EDT) From: Henrik Hudson To: freebsd-questions@freebsd.org Date: Wed, 1 Oct 2008 14:36:26 -0800 User-Agent: KMail/1.9.7 References: <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> In-Reply-To: <20081001180424.56e6ca69@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810011436.27018.lists@rhavenn.net> Cc: Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@rhavenn.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 22:36:38 -0000 On Wednesday 01 October 2008, Jerry sent a missive stating: > On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) > > Wojciech Puchar wrote: > >> In all likelihood, the probability of any vendor creating FBSD > >> specific drivers is directly proportionate to the expenditure of > >> funds to create and maintain the driver versus the expected revenue > >> from such an expenditure. > > > >giving out a specs will be the simplest way. > > Any entity, or corporation, has a right to expect a return on their > investment. To expect a corporation to simply give away something, > thereby depriving their shareholders, partners or whatever, of their > rightfully expected monetary reward is foolish. It certainly is not a > well thought out business model. There is a difference between open sourcing the binary blob and possibly giving away optimizations, trade secrets, etc... and allowing easier access to either hardware register specs or specs to write a wrapper around a universal blob. Personally, I think they see it as a "quality" control issue, though the quality of their own code is sometimes circumspect. The card companies sell hardware and this is where their money is made and/or a better experience with the software drivers. Open the hardware spec, add a support clause that any "open source" drivers aren't officially supported and you're good to go. Opening the hardware spec will do nothing except sell more hardware. a) the average joe will continue to buy systems with the supported hardware / drivers, most likely Windows, OS X or a major Linux distro. Probably wouldn't even know the open source ones exist. b) the geeks of the world will start running the open source driver if it's better or not if it's worse for their applications. Either way, it will only sell more hardware. c) The FOSS only crowd will start using the hardware since it has a fully open source drivers. The open source driver doesn't need to be able to run Doom5 at incredible speeds, it just needs high quality 2d and the ability to handle some 3d compositing, etc... for desktop effects. My .02$ Henrik -- Henrik Hudson lists@rhavenn.net ------------------------------ "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/) From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 23:05:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18A7B106568A for ; Wed, 1 Oct 2008 23:05:54 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 19AC88FC28 for ; Wed, 1 Oct 2008 23:05:52 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m91N5nZD056797 for ; Thu, 2 Oct 2008 01:05:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m91N5mPM056794 for ; Thu, 2 Oct 2008 01:05:49 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 2 Oct 2008 01:05:48 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org In-Reply-To: <20081001180424.56e6ca69@scorpio> Message-ID: <20081002010447.V56773@wojtek.tensor.gdynia.pl> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 23:05:54 -0000 >> giving out a specs will be the simplest way. > > Any entity, or corporation, has a right to expect a return on their > investment. To expect a corporation to simply give away something, quite a difference. for example - documentation about say pentium 4 assembly language and opcodes are widely available. does it help say AMD making faster processor? no. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 23:52:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B803F106568C for ; Wed, 1 Oct 2008 23:52:57 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 92BF38FC0C for ; Wed, 1 Oct 2008 23:52:57 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KlBV2-000P00-Iu for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 19:52:56 -0400 Message-ID: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> From: "Grant Peel" To: Date: Wed, 1 Oct 2008 19:52:48 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Logrotate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2008 23:52:57 -0000 Hi all, I have recently started using logrotate to rotate all the logs in the users home directories. These are all apache logs files. /home/domain.com/logsaccess_log /home/domain.com/logsaccess_log.0.gz /home/domain.com/logsaccess_log.1.gz /home/domain.com/logsaccess_log.2.gz I have a problem though. Some of my domains have softlinks pointing to them, this causes the logs to be rotated 2 or more times (i.e. 1 time for the 'real' directory, and 1 time each for each softlink pointing to them). Example /home/domain.com/logs/ domain2.com -> domain.com domain3.com -> domain.com will result in the 'access_log' being rotated 3 times in one run, causing my log dirs to look like this: -rw-r--r-- 1 root holt 160 Oct 1 05:44 access_log -rw-r--r-- 1 root holt 446 Oct 1 05:44 error_log -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.1.gz -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.2.gz -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.3.gz -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.4.gz -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.5.gz -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.6.gz -rw-r--r-- 1 root holt 224 Oct 1 03:46 access_log.7.gz -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.8.gz -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.9.gz Here is this appropriate part of my logrotate.conf # logrotate.conf compress ... /home/*/logs/access_log { missingok rotate 14 daily create 644 root sharedscripts postrotate /usr/local/sbin/apachectl restart endscript } # End of logrotate.conf Question, is there a way to stop this from happening? -Grant From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 00:02:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D29106568B for ; Thu, 2 Oct 2008 00:02:36 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 444D38FC16 for ; Thu, 2 Oct 2008 00:02:36 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 3C6EF5C2E6B0 for ; Thu, 2 Oct 2008 09:59:06 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081001105337.GA47338@owl.midgard.homeip.net> References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <1222847649.8573.11.camel@laptop1.herveybayaustralia.com.au> <84763862@bb.ipt.ru> <1222857587.27652.8.camel@laptop1.herveybayaustralia.com.au> <20081001105337.GA47338@owl.midgard.homeip.net> Content-Type: text/plain Date: Thu, 02 Oct 2008 09:59:18 +1000 Message-Id: <1222905558.3927.1.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 3C6EF5C2E6B0.C09EB X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 00:02:36 -0000 On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: > On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: > > > > On Wed, 2008-10-01 at 12:57 +0400, Boris Samorodov wrote: > > > Da Rock writes: > > > > On Wed, 2008-10-01 at 15:40 +1000, Da Rock wrote: > > > > > > >> Has anyone else had trouble with starting mysql server with the rc > > > >> script? > > > >> > > > >> I've only just installed from ports (as a dependency, mind) and > > > >> technically it should just start when you run the rc script - it sets up > > > >> the db dirs and stuff so it can just run. But I can't get it to do the > > > >> setup stuff automatically, and so the script fails. I've done the setup > > > >> manually before so its no real biggy, but I imagine others would be more > > > >> than a little frustrated. > > > >> > > > >> Anyone else have this trouble? I just realised I had to do this last > > > >> time too... > > > >> > > > >> For reference: I'm starting the script manually for testing at this > > > >> point (if that makes a difference- which I believe it shouldn't). > > > > > > > > Manually running port installed rc scripts is not working manually. I'm > > > > trying mysql, courier-imap, and I've tried isc-dhcp in the past. None of > > > > these will work when run manually- even on different machines and bsd > > > > versions (all 6.x). > > > > > > > > Is it just me? > > > > > > Sorry for may be a dumb question: did you define an > > > _enable="YES" at /etc/rc.conf[.local]? For more info > > > you may look at the script you are trying to start. > > > > So are you saying I can't start a script manually without enabling it in > > rc.conf? I was not under that impression... I thought it could be > > started manually for testing before setting it for automatic startup- > > based on my reading in the handbook and man pages. > > Yes, you can. Use forcestart/forcestop instead of start/stop when running > the rc script if you do not have it enabled in rc.conf. This is documented > in rc(8) (and is very easily overlooked if you don't know what you are > looking for.) Well thank you both for that piece of information, I had overlooked that. I did end up using it that way, but I was still unaware that it was mandatory. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 01:30:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BD70106569F for ; Thu, 2 Oct 2008 01:30:37 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4682E8FC08 for ; Thu, 2 Oct 2008 01:30:37 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KlD1Y-0000ph-7n for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 21:30:36 -0400 Message-ID: <4C952FBB23ED4174A030514F6AB84030@GRANT> From: "Grant Peel" To: Date: Wed, 1 Oct 2008 21:30:26 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Bruteblocker X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 01:30:37 -0000 Hi all, I have been tinkering with bruteblock all night, and was wondering if anyone else on this list has used it. I can't seem to get proftpd.conf, syslog.conf setup correclty to log the ips to table one (in ipfw). Any assistance would be appreciated. -grant From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 01:56:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DDCF1065686 for ; Thu, 2 Oct 2008 01:56:07 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id DEC5A8FC1B for ; Thu, 2 Oct 2008 01:55:49 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m921tAOR051682; Wed, 1 Oct 2008 20:55:11 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081001204748.02a4fcd8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 01 Oct 2008 20:54:53 -0500 To: Chris Papageorgiou , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <19767056.post@talk.nabble.com> References: <19756184.post@talk.nabble.com> <6.0.0.22.2.20081001105719.02561358@mail.computinginnovations.com> <19767056.post@talk.nabble.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081001-0, 10/01/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/8369/Wed Oct 1 15:24:58 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m921tAOR051682 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: PXE real life use X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 01:56:07 -0000 At 02:04 PM 10/1/2008, Chris Papageorgiou wrote: >Dear Derek, >First Id like to thank you for your reply. >Yes I've read the handbook and lots of other technical articles on this >particular subject, >what concerns me is the overall 'worth' of this technique just to install >OS's on customer's computers through PXE and not by the traditional way. > >Best Regards, >Chris Chris, This is best used as a way to boot a client into an OS. You can then control the OS used for these clients, AND have just one place to worry about updates. It also gives you control on what applications you make available to the users. While you can use PXE,, bootp, or tftp to provide a boot and then load an OS to a local drive, that is usually more trouble than it is worth. -Derek >Derek Ragona wrote: > > > > At 03:03 AM 10/1/2008, Chris Papageorgiou wrote: > > > >>Hello all, > >>I'd like to point a subject on PXE server usage on a daily basis such as a > >>service department. > >>Im thinking of developing such system to load OS's(not strictly *NIX) > >>installations through LAN than using a CD each time. > >>What would be the cons,pros to such system and what are the limits? > >> > >>Looking forward for your replies. > >> > >>Best regards, > >>Chris Papageorgiou > > > > Chris, > > > > Have you read the handbook on diskless clients? That will give you some > > good background on the subject. > > > > The reason to use diskless clients is simplified support, where you only > > need to update the diskless client boot to update all the clients that use > > that boot. > > > > As for issues, bandwidth can be problematic, depending on the number of > > clients, and if they all boot at the same time. > > > > -Derek > > > > -- > > This message has been scanned for viruses and > > dangerous content by MailScanner, and is > > believed to be clean. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" > > > > > >-- >View this message in context: >http://www.nabble.com/PXE-real-life-use-tp19756184p19767056.html >Sent from the freebsd-questions mailing list archive at Nabble.com. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 02:38:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C4FE1065695 for ; Thu, 2 Oct 2008 02:38:53 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 72E448FC14 for ; Thu, 2 Oct 2008 02:38:52 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.13.1) with ESMTP id m922dAC1069978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 09:39:10 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.2/8.12.11) id m922hQ0p032206; Thu, 2 Oct 2008 09:43:26 +0700 (ICT) Date: Thu, 2 Oct 2008 09:43:26 +0700 (ICT) Message-Id: <200810020243.m922hQ0p032206@banyan.cs.ait.ac.th> From: Olivier Nicole To: juancr@dsa.es In-reply-to: <54674.217.114.136.134.1222857247.squirrel@mail.dsa.es> (juancr@dsa.es) References: <54674.217.114.136.134.1222857247.squirrel@mail.dsa.es> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Securing system with kern.securelevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 02:38:53 -0000 Hi, > Which would be the correct secure level ? 1, 2, or 3? Not sure, I usually use level 1 across the servers. > Also, where i must put the kern.securelevel? $ grep secure /etc/rc.conf kern_securelevel="1" kern_securelevel_enable="YES" Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 02:50:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423CA1065689 for ; Thu, 2 Oct 2008 02:50:53 +0000 (UTC) (envelope-from bounces+203543.15296656.213774@icpbounce.com) Received: from smtp5.icpbounce.com (smtp5.icpbounce.com [216.27.93.121]) by mx1.freebsd.org (Postfix) with ESMTP id E5C7A8FC19 for ; Thu, 2 Oct 2008 02:50:52 +0000 (UTC) (envelope-from bounces+203543.15296656.213774@icpbounce.com) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp5.icpbounce.com (Postfix) with ESMTP id C869B1E845 for ; Wed, 1 Oct 2008 22:31:09 -0400 (EDT) Date: Wed, 1 Oct 2008 22:31:09 -0400 To: freebsd-questions@freebsd.org From: Annette Locchi Message-ID: <76790db3cae8aee7b735294d63b607bf@localhost.localdomain> X-Priority: 3 X-Mailer: PHPMailer [version 1.72] Errors-To: bounces+203543.15296656.213774@icpbounce.com X-List-Unsubscribe: X-Unsubscribe-Web: X-ICPINFO: X-Return-Path-Hint: bounces+203543.15296656.213774@icpbounce.com MIME-Version: 1.0 Content-Type: text/plain; charset = "iso-8859-1" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Software Compliance audits (BSA) - no 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, 02 Oct 2008 02:50:53 -0000 assets • monitoring • community • inventory • security • patch • helpdesk • Web remote [http://gw.vtrenz.net/?SJIAXWWTT2:VYHOK5KD2D=ssID:141250888,email:rhalversen@triactive.com] Software That Pays For Itself? The Gartner Group states that companies are overbuying software licenses on 60% of their software title and out of compliance on 30%. This means that they are only spot on for 10% of the software in their environment! When it comes to EA renewals, this equates to big dollars. According to a multi-billion dollar reseller, for a company of 300 systems, typical savings from a properly balanced EA true-up is $28,000 for a 3-year agreement. For 2400 users, the savings is $208,000. Highlights: - Identify and remove unused software licenses from your environment - Wake-On-LAN, checkpoint/restart, auto-retry for software delivery - Save money by determining the right level of usage for each application - Reduce software license costs by at least 10-15% (procurement and renewals) - Leverage our 300k+ SW title catalog to identify all the SW in your environment - Customized Web dashboard and reports for your asset manager and CFO - Track usage on all systems whether on the LAN, remote, or traveling [http://gw.vtrenz.net/?SJIAXWWTT2:SS78RG78F3=ssID:141250888,email:rhalversen@triactive.com] "With accurate software installation data available from TriActive, we analyzed our software license compliance. We found some instances where we had too many licenses, and in others we did not have enough. Using TriActive’s solution, we saved $300,000!" This message was sent by: Annette Locchi, One Raffles Quay Level 25, North Tower, Singapore, none 449297, Singapore Powered by iContact: http://freetrial.icontact.com Manage your subscription: http://app.icontact.com/icp/mmail-mprofile.pl?r=15296656&l=15356&s=O4YX&m=213774&c=203543 Forward this message: http://app.icontact.com/icp/sub/forward?m=213774&s=15296656&c=O4YX&cid=203543 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 03:58:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B83591065686 for ; Thu, 2 Oct 2008 03:58:59 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC6E8FC08 for ; Thu, 2 Oct 2008 03:58:59 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7DC147834; Wed, 1 Oct 2008 22:58:58 -0500 (CDT) Received: from [192.168.1.143] (c-76-17-219-196.hsd1.mn.comcast.net [76.17.219.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 492704A6797; Wed, 1 Oct 2008 22:58:57 -0500 (CDT) Message-ID: <48E446CD.3090608@FreeBSD.org> Date: Wed, 01 Oct 2008 22:58:05 -0500 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Wojciech Puchar References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> <48E33CC6.7050504@infracaninophile.co.uk> <20081001111911.U8258@wojtek.tensor.gdynia.pl> In-Reply-To: <20081001111911.U8258@wojtek.tensor.gdynia.pl> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Danny Do , Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 03:58:59 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wojciech Puchar wrote: >> | | the simple answer is that software RAID on todays computers vastly >> | outperforms ANY hardware raid solution, maybe except the ones for >> 10000$ | or more. >> >> You're basically correct, but I think you're overestimating the price of >> a good RAID controller. > > no. please give me example of any RAID hardware below 10000$ that WILL > be faster than properly configure software RAID solution under FreeBSD > with same amount of same disks. > > i mean faster under normal unix-like load, which is lots of parallel > accesses to same or different things, not simple tests. > > > there are NONE. I have a number of systems running postgresql + a python web application that see fairly heavy concurrent access. The 3ware 9690SA outperforms gmirror and can be had in 4 port with the battery for $600 or so. 8 port with a battery is closer to $1000 Hardware RAID gets you boot support from stripes, email alerts for RAID events in many cases, and with a battery the option to turn write caching on on the controller. Unfortunately there are a number of bad and/or poorly supported RAID controllers out there, especially on FreeBSD. I'd never suggest to anyone that my highpoint 2300 or LSI 3041R-E are "high performance", but on the other hand, at real world tasks like a database that backs up a webserver doing millions of hits a day, the LSI 320-2E does RAID 10 faster than gvinum, and my 3ware 9690SA's are faster than gmirror at RAID 1, plus offer the option for a warm spare. Software RAID has advantages, namely hardware independance. And it can be faster than low end hardware RAID. But you don't have to spend much to get a hardware solution that will smoke software RAID at real world applications. - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI5EbNJvkB8SevrssRAvdLAJ96CLUVK3M2YLKNmAxmIPlxoqp+fgCgnLp6 H1OgEHevOKqDJ/FRg5+fHpU= =MQFo -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 04:09:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FCF61065694 for ; Thu, 2 Oct 2008 04:09:34 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id CC9B98FC0A for ; Thu, 2 Oct 2008 04:09:33 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so592066fgb.35 for ; Wed, 01 Oct 2008 21:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=mkMblUtfC1aiu6/ieOMVSF2Gp46AYNRFYjzu2DHEyLg=; b=AHtCLbQLgcYBZ99BHh5J4Z5TSxL/YNAKl9HjXYlF8g5dwWWauEh/B1V/jzLGKEw/ax j73vPHIkWZOQpmxM9972drptrDGXQqQHeERb2fk/LIJFuOIZv+JDfXm5lrcXJdLJiOWF vYH17E3OvZh9+ZVyPcD5nziuhqXYaLyKY3YWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=KNd4qh67cYd6k50QFuJDZ79t99XebjMi0sLVxISHx8nDJj3C+ASSYaIcSmdDckdMkU kkhilowFxOZbqtjlZdYjHPael4QsH+yyGZZh8t2ILbFlc0ombh9HnYSy4c4M+PX7LGld nTG5xUv7HLJylRm/sfTMaa7IopqjuGnOam5Qc= Received: by 10.180.236.14 with SMTP id j14mr5202764bkh.4.1222920572453; Wed, 01 Oct 2008 21:09:32 -0700 (PDT) Received: by 10.181.22.11 with HTTP; Wed, 1 Oct 2008 21:09:32 -0700 (PDT) Message-ID: Date: Thu, 2 Oct 2008 11:09:32 +0700 From: "fire jotawski" To: "Kevin Kinsey" In-Reply-To: <48DA7491.8030002@daleco.biz> MIME-Version: 1.0 References: <48DA7491.8030002@daleco.biz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, fbsd1@a1poweruser.com Subject: Re: nat and firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 04:09:34 -0000 On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey wrote: > FBSD1 wrote: > >> >> natd_enable="YES" This statement in rc.conf enables ipfw nated function. >> firewall_nat_enable="YES" This is an invalid statement. No such thing as >> you have here. >> > > This is no longer true; he did indeed find "firewall_nat_enable" > in /etc/defaults/rc.conf. The knob seems to have first appeared > in February in HEAD and I'm guessing it cues the system to use a > new kernel-based nat rather than natd(8), but I've not read anything > further about this, as my system isn't as up to date as the OP's. > I don't know when this change was MFC'ed, but apparently fairly > recently? > > I suppose we need someone a tad more "in the know" to straighten > that out for us. > up to this moment, i do not know if natd and firewall_nat function in the same or different. and is there firewall_nat_flags thing too ? thanks in advanced for any helps and hints. regards, psr > > Kevin Kinsey > -- > A wise man can see more from a mountain top > than a fool can from the bottom of a well. > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 05:57:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AC22106568C for ; Thu, 2 Oct 2008 05:57:47 +0000 (UTC) (envelope-from info@thedoctorsorders.com) Received: from smtp-1.opaltelecom.net (smtp-1.opaltelecom.net [62.24.128.29]) by mx1.freebsd.org (Postfix) with ESMTP id 27AF78FC12 for ; Thu, 2 Oct 2008 05:57:47 +0000 (UTC) (envelope-from info@thedoctorsorders.com) Received: from [78.151.166.53] (helo=[127.0.0.1]) by smtp-1.opaltelecom.net with smtp (Exim 4.30) id 1Kl80n-0000d5-KH for freebsd-questions@freebsd.org; Wed, 01 Oct 2008 21:09:30 +0100 Date: Wed, 1 Oct 2008 21:09:28 +0100 From: The Doctor's Orders To: Message-Id: <101219.LBFLICDE@thedoctorsorders.com> X-Mailer: MBM 5.7.2-US Original-recipient: rfc822;freebsd-questions@freebsd.org Content-transfer-encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: B-Boy Champs Warm Up & On The Real X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@thedoctorsorders.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 05:57:47 -0000 [hea=] The only official B-Boy Championships Warm Up Party [hea=] Friday 10th October 2008 @ Plan B, 418 Brixton Road, London SW9 (Brixton Tube) £3 B4 11pm / £5 B4 Midnight / £8 After With DJs James Pants (Stones Throw) Spin Doctor (The Doctor's Orders) Skeme Richards (Rock Steady Crew) DJ Timber (Zulu Kingz) = To mark the start of the busiest and most exciting week ends in British Hip-Hop London's premier party providers are heading south to host the only official B-Boy Champs' warm up party! With an incredible line up of US and UK talent, including two of the Champ's DJs, playing everything from the finest in party Hip-Hop, B-Boy breaks through to Disco and classic Soul there will no hiding place on the dance-floor as the UK's finest B-Boys and the dedicated Doctor's Orders crowd get down to the sounds of...=2E JAMES PANTS is the freshest thing to come out of the legendary Stones Throw label and with a roster that includes Madlib, Quasimoto & Guilty Simpson to name a few that is really saying something=2E With his production sound incorporating everything from 80's Boogie & Electro to New Wave Punk & Disco it is his Soul & Hip-Hop side that will be coming to the fore tonight as he blesses us with an exclusive London DJ set! SPIN DOCTOR is a favourite down at Plan B and pretty much everywhere he plays as there is no way you can not be having a good time when he is on the set=2E His party rocking sets of Hip-Hop in its broadest sense are not for the feint hearted and with this being a B-Boy special there are sure be to more than a few surprises in this set=2E SKEME RICHARDS has literally learnt from the best=2E Running a night alongside turntable legend DJ Cash Money and hailing from Philly the home of Jazzy Jeff, The Roots & Gill Scott to name a few has been as fine an education as any DJ could ask for=2E As a member of the legendary Rock Steady Crew he has played a variety of events all over the world from B-Boy battles to fashion shows and has rocked every last one! DJ TIMBER having grown in Belfast he has established himself as one of the world finest B-Boy DJs playing events in all corners of the globe=2E He will be treating us to a rare party set that will be as high energy as Red Bull on speed! [1]facebook Event _________________________________________________________________ On The Real Baby J Album Launch Party = [3D"] Bringing you true school Hip-Hop & Soul from Prince & Premier to Motown & Mos Def 9pm-3am Friday 17th October 2008 @ Bar Rumba, 36 Shaftesbury Avenue, London W1 (Picadilly Tube) £5 in advance through ticketweb=2Eco=2Euk / 0844-477-100 £10 on the door Baby J "Baby Food" Album Launch Party With special guests Baby J with live PA's from Million Dan, Tawiah, Alex Blood & Malik With Resident DJs Shortee Blitz (Kiss FM / Extended Players) & Spin Doctor (The Doctor's Orders) After 3 months of headline guests from the US in the shape of DJ Neil Armstrong, Sadat X and Bobbito matched by storming sets from our residents we are bringing back to the UK for this extremely special album launch party for the UK's most prolific and respected Hip-Hop producer who is pulling out all the stops and calling in an all star line up of MCs & singers to join him=2E Baby J is the UK's very own Kanye West=2E Both hailing away from their respective nations' perceived centers of Hip-Hop they have both become experts in their field and man-magnets for the finest in Hip-Hop & R&B talent=2E Having struck gold with his ska remix of Mark Ronson's "Valerie" featuring girl of the moment Amy Winehouse which reached number 2 in the national charts and stayed there for eleven weeks as well as spending 5 weeks at the top of MTV's airplay chart Baby J's star is shining brighter than ever=2E With production credits for American Hip-Hop giants including Wu-Tang Clan, Brand Nubian and Dead Prez for his new "Baby Food" album he has selected a stella line up of UK vocal talent many of whom will be performing on the night=2E Once again he has shown his credentials as a studio giant and will be showing how those talents are matched by his skills on the decks as he rocks the house for the dedicated party people=2E Joining Baby J to perform tracks from his new album is titan of the UK Hip-Hop scene Million Dan that has one of the most definitive styles of any MC in the land=2E Stepping up to display the stunning soulful vocals that have seen her selected to travel the world as the primary vocalist for Marc Ronson's live show is Tawiah=2E Derby native Alex Blood will display the his lyrical dexterity that is as equally influenced by Marc Bolan as it is Toots and the Maytals=2E Malik will also be stepping up to raise the roof with the help of another packed dance-floor=2E [2]Check the interview wth Bobbito & Spin Doctor [3]Get your advance tickets [4]Facebook Event for more party details checkout [5]www= =2Ethedoctorsorders=2Ecom & to be removed from the Doctors Orders list reply with unsubscribe as the subject References 1. 3D"http://www=2Enew=2Efacebook=2Ecom/event=2Ephp?eid=3D82863095393" 2. 3D"http://www=2Enew=2Efacebook=2Ecom/group=2Ephp?gid=3D15318919999" 3. 3D"http://www=2Eticketweb=2Eco=2Euk/user/?region=3Dgb_london&query= 4. 3D"http://www=2Enew=2Efacebook=2Ecom/event=2Ephp?eid=3D27173833181" 5. 3D"http://www=2Ethedoctorsorders=2Ecom"/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 06:09:20 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71F201065695 for ; Thu, 2 Oct 2008 06:09:20 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0136F8FC0C for ; Thu, 2 Oct 2008 06:09:19 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so272250eyi.7 for ; Wed, 01 Oct 2008 23:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=7DKBBPUYJQlySycqxsrhoDPdr6DKaJbudJsH802LtUo=; b=tCLvNwoP0BKddyMpzwDFdB19ywg0bpDvrhO2oT83oO+LdW2ZdIBGXT3n7nkup+okq/ Sj9YPbaz85psOFyUnFIvBy5sXxokR0G1uK59lNFfcwjhls74k/17Lf2hqsx2jAedKZaT AlKKGzTdpSZd0hglFVoD03XAIuV8isqZzRP+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=F7RfC2IoFRRpRk7eVZGzvkXVNqzGZXhGj2hkUnmAPGbACr/GIADoniOdHFPqTmGz+a bmpSBUatxc1YqTRSmuRvBp9INxUTDHyQqZpz4flfx2cO2TKmrw0hw5KPf9jLrCTMprkn xxjnP+r4ANmRNA1Y0yhkfUzkKM0uClbIr6e78= Received: by 10.210.89.4 with SMTP id m4mr9758994ebb.195.1222927758684; Wed, 01 Oct 2008 23:09:18 -0700 (PDT) Received: by 10.210.45.16 with HTTP; Wed, 1 Oct 2008 23:09:18 -0700 (PDT) Message-ID: <692660060810012309t29bed3aby5cf52abb92adb0df@mail.gmail.com> Date: Thu, 2 Oct 2008 08:09:18 +0200 From: "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" To: "Grant Peel" In-Reply-To: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> MIME-Version: 1.0 References: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Logrotate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 06:09:20 -0000 Hi, I'm not sure but I think you can try use "sharedscripts" in yor logrotete script. Another solution is make script which unlink/link logs. Best regards, Shamrock From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 06:26:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08A721065693 for ; Thu, 2 Oct 2008 06:26:55 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id E1D798FC23 for ; Thu, 2 Oct 2008 06:26:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id MiCe1a0030vp7WLA4iSurX; Thu, 02 Oct 2008 06:26:54 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id MiSt1a0024v8bD78RiStZv; Thu, 02 Oct 2008 06:26:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=0b_mWL7R4F_OpD4DzywA:9 a=zUzrgBb-FIHA2t8nQLlOA8XI6mcA:4 a=iYmc3lcGIqYA:10 a=18V52DnGmcoA:10 a=pPeV6em2N6YA:10 a=xNMxlJ1DscwA:10 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 00BE8C9432; Wed, 1 Oct 2008 23:26:52 -0700 (PDT) Date: Wed, 1 Oct 2008 23:26:52 -0700 From: Jeremy Chadwick To: Grant Peel Message-ID: <20081002062652.GA40660@icarus.home.lan> References: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Logrotate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 06:26:55 -0000 On Wed, Oct 01, 2008 at 07:52:48PM -0400, Grant Peel wrote: > I have recently started using logrotate to rotate all the logs in the > users home directories. These are all apache logs files. > > /home/domain.com/logsaccess_log > /home/domain.com/logsaccess_log.0.gz > /home/domain.com/logsaccess_log.1.gz > /home/domain.com/logsaccess_log.2.gz > > I have a problem though. Some of my domains have softlinks pointing to > them, this causes the logs to be rotated 2 or more times (i.e. 1 time for > the 'real' directory, and 1 time each for each softlink pointing to > them). > > Example > > /home/domain.com/logs/ > domain2.com -> domain.com > domain3.com -> domain.com > > will result in the 'access_log' being rotated 3 times in one run, causing > my log dirs to look like this: > > -rw-r--r-- 1 root holt 160 Oct 1 05:44 access_log > -rw-r--r-- 1 root holt 446 Oct 1 05:44 error_log > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.1.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.2.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.3.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.4.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.5.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.6.gz > -rw-r--r-- 1 root holt 224 Oct 1 03:46 access_log.7.gz > -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.8.gz > -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.9.gz > > Here is this appropriate part of my logrotate.conf > > # logrotate.conf > > compress > > ... > > /home/*/logs/access_log { > missingok > rotate 14 > daily > create 644 root > sharedscripts > postrotate > /usr/local/sbin/apachectl restart > endscript > } > > # End of logrotate.conf > > > Question, is there a way to stop this from happening? The problem is that you're using a wildcard in your log list: /home/*/logs/access_log is going to expand to: /home/domain.com/logs/access_log /home/domain2.com/logs/access_log /home/domain3.com/logs/access_log /home/...anythingelse.../logs/access_log So the software will do exactly what you asked for. What we use on our production webservers: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined CustomLog "/var/log/httpd-access.log" combined This puts the VirtualHost name being accessed as the first field in the logfile. Every night, via a cronjob, we split the file up per VirtualHost using a script that comes with Apache called split-logfile. E.g.: cd where_you_want_the_logs /usr/local/sbin/split-logfile < /var/log/httpd-access.log This will make a separate logfile per virtual host name, and you can do whatever you want from there on out. There's a performance advantage here as well: one logfile means only one file descriptor open, which is Good(tm). Multiple logfiles opened under Apache does not scale well. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 06:59:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 133B7106568A for ; Thu, 2 Oct 2008 06:59:47 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id 1B7828FC1D for ; Thu, 2 Oct 2008 06:59:44 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m926pf0X013513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2008 08:51:41 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Thu, 2 Oct 2008 09:03:48 +0200 User-Agent: KMail/1.9.7 References: <48E345AF.6050409@telus.net> <20081001112826.GA20013@icarus.home.lan> <48E3DCB1.3010009@telus.net> In-Reply-To: <48E3DCB1.3010009@telus.net> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.378 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Subject: Re: Cannot create custom FreeBSD 7.0 install CD for serial console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 06:59:47 -0000 On Wednesday 01 October 2008 22:25:21 Carl wrote: > Jeremy Chadwick wrote: > > On Wed, Oct 01, 2008 at 02:41:03AM -0700, Carl wrote: > >> I've been trying to create a modified FreeBSD 7.0 install CD that will > >> allow me to do installations entirely via the serial console on a > >> headless system. Lots of digging on the Internet, reading the handbook, > >> and I've gotten nowhere fast. > > > > Try this: > > > > http://jdc.parodius.com/freebsd/pxeboot_serial_install.html > > I was already aware of that solution, but it's not for me. There are > times when I need to do the install and setting up a DHCP server et al > is not viable. Installing FreeBSD via the network has no benefits for me > and I will not be trying to install remotely. All I need is to be able > to do a simple install using the local serial console because a keyboard > and monitor is not practical in the situation. Can anyone tell me where > the mistake is in my process? Look back through the list archives: Martin McCormick and I had a long discussion about this about a year ago (I think at least some of it ended up on this list). Here's an extract from one of the messages: On a system running 6.2-RELEASE, with a 6.2-RELEASE Disc 1 in the CD drive but not mounted: mkdir serialcd tar xvfC /dev/acd0 serialcd These two commands created a directory tree in serialcd containing most of the contents of the CD. There was a ``tar ignoring out-of-order file'' error, and when I mounted the CD and ran diff -qr /cdrom serialcd it reported that RELNOTES.TXT differed - in fact the version in the serialcd directory turned out to have zero length. [I suspect you could probably do this comparison quicker with mtree, and I never did bother to fix it or find out why it was happening] I edited serialcd/boot/loader.conf to include the line console="comconsole" I then ran mkisofs -J -r -b boot/cdboot -no-emul-boot -o serialcd.iso serialcd and got an ISO image, serial.iso, which is about 600MB. The only drawback with this method is that the serial console only cuts in just before the boot menu. I suspect that if you wanted to have a serial console for every stage of the boot you would need to mess about with the ramdisk image on the CD. HTH Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 07:15:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 247D9106569C for ; Thu, 2 Oct 2008 07:15:02 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from hermes.hst.org.za (onix.hst.org.za [209.203.2.133]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2F58FC17 for ; Thu, 2 Oct 2008 07:15:00 +0000 (UTC) (envelope-from jonathan+freebsd-questions@hst.org.za) Received: from sysadmin.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) (authenticated bits=0) by hermes.hst.org.za (8.13.8/8.13.8) with ESMTP id m9276anP013979 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 09:06:36 +0200 (SAST) (envelope-from jonathan+freebsd-questions@hst.org.za) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Thu, 2 Oct 2008 09:18:43 +0200 User-Agent: KMail/1.9.7 References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <20081001105337.GA47338@owl.midgard.homeip.net> <1222905558.3927.1.camel@laptop1.herveybayaustralia.com.au> In-Reply-To: <1222905558.3927.1.camel@laptop1.herveybayaustralia.com.au> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Spam-Score: -4.378 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.61 on 209.203.2.133 Cc: Da Rock Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 07:15:02 -0000 On Thursday 02 October 2008 01:59:18 Da Rock wrote: > On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: > > On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: > > > > > > So are you saying I can't start a script manually without enabling it > > > in rc.conf? I was not under that impression... I thought it could be > > > started manually for testing before setting it for automatic startup- > > > based on my reading in the handbook and man pages. > > > > Yes, you can. Use forcestart/forcestop instead of start/stop when > > running the rc script if you do not have it enabled in rc.conf. This is > > documented in rc(8) (and is very easily overlooked if you don't know what > > you are looking for.) > > Well thank you both for that piece of information, I had overlooked > that. I did end up using it that way, but I was still unaware that it > was mandatory. The problem with forcestart is that it ignores any errors that may occur. The better option for a manual start is onestart, which simply bypasses the test for the option being enabled but still fails on any other error (missing dependencies, startup problems etc). Jonathan From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 07:45:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9F51065686 for ; Thu, 2 Oct 2008 07:45:14 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s32.blu0.hotmail.com (blu0-omc4-s32.blu0.hotmail.com [65.55.111.171]) by mx1.freebsd.org (Postfix) with ESMTP id A74548FC1C for ; Thu, 2 Oct 2008 07:45:14 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W14 ([65.55.111.137]) by blu0-omc4-s32.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Oct 2008 00:45:14 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , Date: Thu, 2 Oct 2008 07:45:14 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2008 07:45:14.0222 (UTC) FILETIME=[CE3C40E0:01C92462] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: vbox building and freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 07:45:15 -0000 I'm posting this to two mailing lists because of the environment. # /home/moleque/VirtualBox-2.0.0/./configure Checking for environment: Determined build machine: freebsd.amd64=2C target= machine: freebsd.amd64=2C OK. Checking for kBuild: found=2C OK. Checking for gcc: found version 4.2.1=2C OK. Checking for as86: found version 0.16.17=2C OK. Checking for bcc: found version 0.16.17=2C OK. Checking for iasl: found version 20070320=2C OK. Checking for xslt: found=2C OK. Checking for pthread: found=2C OK. /libexec/ld-elf.so.1: Shared object "libc.so.6" not found=2C required by "k= mk_sed" Checking for libxml2: /libexec/ld-elf.so.1: Shared object "libc.so.6" not f= ound=2C required by "kmk_sed" xml2 not found at -L/usr/local/lib -lxml2 -lpthread or xml2 headers no= t found Check the file /usr/home/moleque/sdk/bindings/configure.log for detailed = error information. =3D=3D=3D> Installing for libxml2-2.6.32 =3D=3D=3D> libxml2-2.6.32 depends on executable: pkg-config - found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> Checking if textproc/libxml2 already installed =3D=3D=3D> libxml2-2.6.32 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of textproc/libxml2 without deleting it first=2C set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/textproc/libxml2. There seems to be a conflict here. I also want to post a patch sent to me for bin86. I don't know the original= source but would like to see it added. It will help x86 builds on amd64 ho= sts. I was asked to share it. from:walt (w41ter@gmail.com) "Desmond Chapman wrote: > Thanks for offering the help. How do I apply the patch that you sent? =20 My pleasure. The 'patch' program has a zillion confusing options because it has morphed many times from its original incarnation=2C but the '-p' fla= g is the main one to understand. =20 I didn't make the patch I posted=2C but this is how I would have done it: =20 #cd /tmp (or wherever you prefer) #tar -xvzf /path/to/bin86-0.16.17.tar.gz #cd bin86-0.16.17 (customary to generate patches from the top directory) #cp ld/x86_aout.h ld/x86_aout.h.orig (the usual naming=2C but arbitrary) #vi ld/x86_aout.h (make the needed changes and save them) #diff -u ld/x86_aout.h.orig ld/x86_aout.h > /tmp/mynewpatch =20 Now=2C look at the beginning of mynewpatch: =20 --- ld/x86_aout.h.orig 2003-01-28 17:17:14.000000000 -0500 +++ ld/x86_aout.h 2005-05-07 22:40:05.000000000 -0400 =20 That's important because it tells you I made the patch from the top of the source directory=2C but that's a tradition that not everyone obeys. =20 Applying a patch is the mirror image of making a patch=2C so you need to know where to be in the source directory before you apply it. Hence=2C the -p flag is critical. =20 This is how I would apply this particular patch: =20 #cd /tmp (see the mirror image process already?) #tar -xvzf /path/to/bin86-0.16.17.tar.gz #cd bin86-0.16.17 #patch -p0 < /path/to/mynewpatch (there's that -p flag at last!) =20 That -p0 tells 'patch' that you are now in the same directory where the patch was first generated. If you instead chose to be in the /tmp/bin86-0.16.17/ld directory when applying the patch=2C you would use -p1 instead of -p0. =20 That's just a clue. You need to read the patch manpage for the rest! =20 Please do pass this post on to anyone/everyone you think needs help. That's what opensource is all about. Let me know if you're still confused." On my own behalf=2C forgive me if I am a bit confusing=3B but=2C I am divin= g head first into a development environment I have little experience with. How do I solve the xml2 conflict listed above the patch? =20 _________________________________________________________________ Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie= . http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 08:22:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D5161065686 for ; Thu, 2 Oct 2008 08:22:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E21B78FC1C for ; Thu, 2 Oct 2008 08:22:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from lack-of-gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m928MED4068981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 09:22:20 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m928MED4068981 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222935740; bh=H4mS9Ry/pjvCyA YmZjWt7YbrYwn5zQDhXg444lBSods=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type: Content-Transfer-Encoding:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<48E484B6.7 090502@infracaninophile.co.uk>|Date:=20Thu,=2002=20Oct=202008=2009: 22:14=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-Agent:=20Thunderbird= 202.0.0.16=20(X11/20080811)|MIME-Version:=201.0|To:=20=3D?UTF-8?B?U 2ViYXN0aWFuIFR5bWvDs3c=3D?=3D=20|CC:=20 John=20Almberg=20,=20freebsd-questions@freebs d.org|Subject:=20Re:=20Best=20way=20to=20back=20up=20mysql=20databa se|References:=20<835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> =09<94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com>=09 <81F44C16-59C8-4A44-AE2A-B9F233834383@identry.com>=20<6926600608100 10933t6ada2c85g18b3e0e60d2cf02d@mail.gmail.com>|In-Reply-To:=20<692 660060810010933t6ada2c85g18b3e0e60d2cf02d@mail.gmail.com>|X-Enigmai l-Version:=200.95.6|Content-Type:=20text/plain=3B=20charset=3DUTF-8 =3B=20format=3Dflowed|Content-Transfer-Encoding:=208bit; b=cEs/hf2u POY3rA6wAY+eVdaTGwsATAsEaPs9+rFB08odJ3oWo4Mzi4ox4W6ne7NlIag5tQuU1rc 2ej8xiqyP9JK0qoDNQ8VqwUfgL9eraXPvnbKH1yFx1fSgBAS2y1XEDWVYYETDuoB6TO gLjp9lO3LdhyaVyk0nQo/D4RPILrw= Message-ID: <48E484B6.7090502@infracaninophile.co.uk> Date: Thu, 02 Oct 2008 09:22:14 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.16 (X11/20080811) MIME-Version: 1.0 To: =?UTF-8?B?U2ViYXN0aWFuIFR5bWvDs3c=?= References: <835F48BA-494E-44A0-8D2B-D9F139AB2125@identry.com> <94136a2c0810010201y6d561828lb125419de1613aee@mail.gmail.com> <81F44C16-59C8-4A44-AE2A-B9F233834383@identry.com> <692660060810010933t6ada2c85g18b3e0e60d2cf02d@mail.gmail.com> In-Reply-To: <692660060810010933t6ada2c85g18b3e0e60d2cf02d@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [81.187.76.162]); Thu, 02 Oct 2008 09:22:20 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8370/Thu Oct 2 04:51:47 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: John Almberg , freebsd-questions@freebsd.org Subject: Re: Best way to back up mysql database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 08:22:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Sebastian Tymków wrote: | Hello, | | You can store whole db files too. It's faster to run database from scratch | than use mysqldump and mysql "source". Um... no. In general you cannot do this, and it is exceedingly irresponsible to suggest such a thing. The *only* way this would ever be workable is if you shut down MySQL completely while your backup process was running. For anything other than a pissant little hobbyist DB that does no real work, that idea is just going to be a non-starter. If MySQL is running, then there is no guarantee that the contents of any disk file has been properly synched with the in-memory working copy of the data. Basically what you'ld be copying off the disk drive will be full of inconsistencies and hence useless as a backup. This is why programs like mysqldump(1) exist. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkjkhLYACgkQ3jDkPpsZ+VYlrQCgs+tBSJfxa8cKHF+oYsu5Cai2 qZEAoJ6lZupzjapi9ugrE20Jp6Ol1xxj =PMs9 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 09:49:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 230501065690 for ; Thu, 2 Oct 2008 09:49:39 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id C112B8FC18 for ; Thu, 2 Oct 2008 09:49:38 +0000 (UTC) (envelope-from yonyossef.lists@gmail.com) Received: by gxk14 with SMTP id 14so1151321gxk.19 for ; Thu, 02 Oct 2008 02:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=94nJ30lKl26ZCWb0rI7xHVH8XiXZvlPs2sH8ZNCgLvw=; b=gnxc9XTAyd3anjYrsrWCcehStMYNjgXJOxgYxSwPUUot+EB0WDdz/dk/EiYQEKCUJ3 vpYh56sHT/p2hb4LVCynxmjocEJt15UCJFZOr1/+YwltuevBces/L94PVF8Bz3igJCtr P/41+yLPhQhWw0YBLaVKfrVsIiuMBnlbtmSK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=JIoexTrK8JmZYT1yjMwg12/7i+niyhBSERY9IGUj3DRGUNaHZnZtvgezPpkuGMr2o3 cA5XieD87QaA0Uy2S+Bb+0ZvbQ50aKdsWFhViKW2KT014UrhOf69jpbF8dACzZwwDAyg 2RRrxepElR8cg2X65sDSEYYfZaBCy22g4p/u4= Received: by 10.150.225.10 with SMTP id x10mr6748166ybg.153.1222939000379; Thu, 02 Oct 2008 02:16:40 -0700 (PDT) Received: by 10.151.84.2 with HTTP; Thu, 2 Oct 2008 02:16:40 -0700 (PDT) Message-ID: <20def4870810020216x31f9c0d8yd4776622928c412e@mail.gmail.com> Date: Thu, 2 Oct 2008 12:16:40 +0300 From: "Yony Yossef" To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Freeing an mbuf cluster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 09:49:39 -0000 Hi All, I'm trying to manually build an mbuf chain with clusters in various sizes. I'm doing it using the MGETHDR and MEXTADD macros, it works fine. Now I'm looking for the simplest way to free an mbuf cluster, since I want to free the clusters seperately. This function will be given as a parameter to MEXTADD. Is there a simple command like 'free(buf)' to free an mbuf cluster? Thanks Yony From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 09:50:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1FA2106569B for ; Thu, 2 Oct 2008 09:50:29 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id A7E788FC4D for ; Thu, 2 Oct 2008 09:50:29 +0000 (UTC) (envelope-from gpagnoni@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so899202rvf.43 for ; Thu, 02 Oct 2008 02:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=nleVRZCAB3/EJC1QklVBccAfhq7oMIxrjo9TLy9XYmM=; b=ZH6fuP53KNZOAiUYHfgDg5C00y/qWdYDeP+YlN5rbkN3MYWVGBb0Vmu/S3Z4qvcJst 40n2lYnb+4IjDxKiMkzbuLOatPzDCp+HaDKOYlIejH99y0B3GyRJeSB8qol3SP7d5zm1 ckOGlm1nPi07ik0XrYoHG4BfMA6kVqurr/Ao0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ttmHKLDK4E9m1kXy6JWpl3373Z74i2TmX43WR4WXweiVFXP7LXePTc1hni+meacMxm oZGR90NMYBZ1qaVJDy2uCxcFHDkkRrti7CnRCe+lqU0M/U+JzBhytxBXEfi43PKjoyaT UcBbKdS4Rr88EFAtBe+E7LIoS+UuuvMi7z54A= Received: by 10.142.251.9 with SMTP id y9mr3797047wfh.46.1222939349388; Thu, 02 Oct 2008 02:22:29 -0700 (PDT) Received: by 10.143.31.15 with HTTP; Thu, 2 Oct 2008 02:22:29 -0700 (PDT) Message-ID: <92056ebc0810020222w71d812e3j1b809872d2da9255@mail.gmail.com> Date: Thu, 2 Oct 2008 11:22:29 +0200 From: "Giuseppe Pagnoni" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: LG combo drive and installation: drive not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 09:50:29 -0000 Dear FreeBSD experts, I am trying to install FreeBSD 7.0 on a new i386 machine with no OS installed yet. I start the install process with the 1st CD of the distribution, and I go through the partition phase with no problem. However, when I get to the point where I select the installation media (CD/DVD) it says that it cannot find the CD/DVD. I read on the FAQ list on the FreeBSD site that this can happen when the drive is configured as a slave with no master. So I opened up the box, and I saw that the drive has its own ATAPI/IDE cable/slot on the motherboard and the jumpers on the drive are set as MASTER. The drive is a new LG combo drive, I believe GH22LP20 or something close to it. I also tried to install Ubuntu and it works fine (but I really would like FreeBSD!). Any help or suggestion will be highly appreciated, thanks in advance giuseppe -- Dip. Scienze Biomediche Sezione Fisiologia Univ. di Modena e Reggio Emilia Via Campi 287 I-41100 Modena, Italy Tel: +39-059-205-5742 Fax: +39-059-205-5363 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 10:01:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D0CA10657A1 for ; Thu, 2 Oct 2008 10:01:22 +0000 (UTC) (envelope-from popofnewslists@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id BC14B8FC12 for ; Thu, 2 Oct 2008 10:01:21 +0000 (UTC) (envelope-from popofnewslists@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so816231mue.3 for ; Thu, 02 Oct 2008 03:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=hReGNd3Yv5Rq9QgSRztZWELY+KXkTGMHM8qGDPDyHAo=; b=V5MNTR7b3TFdwwIU56NlJZy583MrDIHX0WSQvtRYBTKCajboLjnd1I1LfACJmSQXer QCldowZwGzFoS4vUx0RYvUnvitVzoRTkzMepxWVcTHHzUMQtABZJYfXkRYKatwbYjhYd EQNdGKAJKcoJdXV58b7xYEyL2P/Cz1dxXY1nw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=NGmOt6g4oRPGJ9fUm0lzv3bTMcpvXY3REhpyRqN9cwTnLiGtQwCUM62E3ltOfRgujf Um+EAi2RbWCFotMNE24ebqfiRDSsmuzJb04X8Dxrla86Nhk3RmOXbIMsrtnMmJujNt3Q gtojuIrXpwn+Nn2wO4XOOU8lRln2tGCaeBssQ= Received: by 10.103.220.18 with SMTP id x18mr6621930muq.81.1222941678807; Thu, 02 Oct 2008 03:01:18 -0700 (PDT) Received: by 10.103.12.18 with HTTP; Thu, 2 Oct 2008 03:01:18 -0700 (PDT) Message-ID: <9196e72b0810020301se3056c1u17716d95575e638b@mail.gmail.com> Date: Thu, 2 Oct 2008 12:01:18 +0200 From: "Popof Popof" Sender: popofnewslists@gmail.com To: freebsd-questions@freebsd.org In-Reply-To: <20081001170712.GA1391@phenom.cordula.ws> MIME-Version: 1.0 References: <48D3D0A8.7070504@mindling.com> <1221876046.4625.4.camel@laptop1.herveybayaustralia.com.au> <48D53DA1.2040808@mindling.com> <200809211527.53755.af300wsm@gmail.com> <48D85B3A.8070706@mindling.com> <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com> <20081001170712.GA1391@phenom.cordula.ws> X-Google-Sender-Auth: bb6425b60f9ae3db Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Realtek 8111C? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 10:01:22 -0000 I hav a mobo with the same NIC, I use it on a FreeNAS box that's runing a version based on FreeBSD 6.3. In order to make the NIC work i had to compile the drivers from realtek with an other FreeBSD box and load the module on startup. But data transfer from / to my FreeNAS box are slow. Anyone had the same problem with this NIC / Realtek drivers? Did someone used the drivers from FreeBSD 7.1 with (or without) FreeNAS ? Does the transfer speed are correct ? 2008/10/1 cpghost > On Tue, Sep 30, 2008 at 10:26:14PM -0600, Andrew Falanga wrote: > > On Mon, Sep 22, 2008 at 8:58 PM, Sebastian wrote: > > > Andrew Falanga wrote: > > >> > > >> On Saturday 20 September 2008 12:14:57 Sebastian wrote: > > >> > > >>> > > >>> Da Rock wrote: > > >>> > > >>>> > > >>>> I have used the compiled driver on 6.3 with success- but then I've > used > > >>>> the driver linked in a post to drivers list. 7.0 is a no go. > > >>>> > > >>> > > >>> I tried to compile the current OEM Realtek driver under (v176) on > fbsd > > >>> 6.3, but couldn't get it to build. My foo is a little thin here. :) > > >>> > > >>> > > >> > > >> Where did you get this OEM driver? > > >> > > > > > > The oem driver can be found here: > > > > > > > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false > > > > > > It builds just fine on 6.3, once I read the file manual on how to build > a > > > kernel module. > > > > > > So far no problems running it with a fair amount of traffic. > > > > Awesome! Thanks. If I've been understanding another thread on here, > > it sounds like there's a FreeBSD driver coming in 7.1. > > Just for the record: the re(4) driver on my FreeBSD 7.1-PRERELEASE #0: > Fri Sep 26 14:43:33 CEST 2008 (both i386 and amd64) now runs like a > charm on a RealTek 8111C on-board NIC (at least with 100baseTX, I didn't > test with Gigabit): > > re0: Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff, > 0xfdfe0000-0xfdfeffff irq 17 at device 0.0 on pci2 > re0: Chip rev. 0x3c000000 > re0: MAC rev. 0x00200000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > > $ ifconfig re0 > re0: flags=8843 metric 0 mtu 1460 > options=389b WOL_UCAST,WOL_MCAST,WOL_MAGIC> > ether 00:21:85:XX:YY:ZZ > inet6 fe80::221:85ff:feXX:YYYZZ%re0 prefixlen 64 scopeid 0x1 > inet 192.168.254.60 netmask 0xffffff00 broadcast 192.168.254.255 > media: Ethernet autoselect (100baseTX ) > status: active > > $ lspci -v > > (...) > > 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B > PCI Express Gigabit Ethernet controller (rev 02) > Subsystem: Micro-Star International Co., Ltd. Unknown device 501c > Flags: bus master, fast devsel, latency 0, IRQ 17 > I/O ports at e800 > Memory at fdfff000 (64-bit, prefetchable) > Memory at fdfe0000 (64-bit, prefetchable) > Expansion ROM at feaf0000 [disabled] > Capabilities: [40] Power Management version 3 > Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ > Queue=0/1 Enable- > Capabilities: [70] Express Endpoint, MSI 01 > Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2 > Capabilities: [d0] Vital Product Data > > > Andy > > > > -- > > A: Because it messes up the order in which people normally read text. > > Q: Why is it such a bad thing? > > A: Top-posting. > > Q: What is the most annoying thing on usenet and in e-mail? > > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 10:17:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2A77106568E for ; Thu, 2 Oct 2008 10:17:30 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 83B568FC21 for ; Thu, 2 Oct 2008 10:17:30 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KlLFM-0006MH-NH; Thu, 02 Oct 2008 11:17:24 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m92AHNMm022781; Thu, 2 Oct 2008 11:17:23 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id D8968FCA4AD; Thu, 2 Oct 2008 11:17:17 +0100 (BST) Date: Thu, 2 Oct 2008 11:17:17 +0100 From: Frank Shute To: Grant Peel Message-ID: <20081002101717.GA10650@melon.esperance-linux.co.uk> Mail-Followup-To: Grant Peel , freebsd-questions@freebsd.org References: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <668A2B1DDBEC40BCAC6A82589B5D1159@GRANT> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Thu, 02 Oct 2008 11:17:23 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Logrotate X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 10:17:31 -0000 On Wed, Oct 01, 2008 at 07:52:48PM -0400, Grant Peel wrote: > > Hi all, > > I have recently started using logrotate to rotate all the logs in the users > home directories. These are all apache logs files. > > /home/domain.com/logsaccess_log > /home/domain.com/logsaccess_log.0.gz > /home/domain.com/logsaccess_log.1.gz > /home/domain.com/logsaccess_log.2.gz > > I have a problem though. Some of my domains have softlinks pointing to > them, this causes the logs to be rotated 2 or more times (i.e. 1 time for > the 'real' directory, and 1 time each for each softlink pointing to them). > > Example > > /home/domain.com/logs/ > domain2.com -> domain.com > domain3.com -> domain.com > > will result in the 'access_log' being rotated 3 times in one run, causing > my log dirs to look like this: > > -rw-r--r-- 1 root holt 160 Oct 1 05:44 access_log > -rw-r--r-- 1 root holt 446 Oct 1 05:44 error_log > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.1.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.2.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.3.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.4.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.5.gz > -rw-r--r-- 1 root holt 20 Oct 1 03:46 access_log.6.gz > -rw-r--r-- 1 root holt 224 Oct 1 03:46 access_log.7.gz > -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.8.gz > -rw-r--r-- 1 root holt 20 Sep 30 03:46 access_log.9.gz > > Here is this appropriate part of my logrotate.conf > > # logrotate.conf > > compress > > ... > > /home/*/logs/access_log { > missingok > rotate 14 > daily > create 644 root > sharedscripts > postrotate > /usr/local/sbin/apachectl restart > endscript > } > > # End of logrotate.conf > > > Question, is there a way to stop this from happening? > > -Grant > Aswell as doing what Jeremy Chadwick mentioned, you might want to use newsyslog(8) to rotate your logs. It's got a couple of advantages that I know of: it's part of the base system and it gracefully sends Apache a signal (SIGUSR1) to stop it writing to the logfile before it rotates it. You want something like the following in newsyslog.conf(5): /var/log/httpd-access.log 644 5 200 * B /var/run/httpd.pid 30 Obviously, adjust the parameters to suit your needs. You want the 30 at the end. All explained in the manpage. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 10:40:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0BE9106568B for ; Thu, 2 Oct 2008 10:40:01 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E3DEE8FC15 for ; Thu, 2 Oct 2008 10:40:00 +0000 (UTC) (envelope-from free.bsd@gmx.net) Received: (qmail invoked by alias); 02 Oct 2008 10:13:19 -0000 Received: from unknown (EHLO [192.168.0.228]) [203.70.36.119] by mail.gmx.net (mp031) with SMTP; 02 Oct 2008 12:13:19 +0200 X-Authenticated: #20105305 X-Provags-ID: V01U2FsdGVkX19/+P8G6qh/GFvUqOo1L3Q/vb3ZLR/7yxSYR6TjJt Y1vT/5tf/AgGGr Message-ID: <48E49EB4.3060806@gmx.net> Date: Thu, 02 Oct 2008 18:13:08 +0800 From: FreeBSD Daemon User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 Cc: Subject: php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 10:40:01 -0000 dear list, i just upgraded my system from 5.4R to 6.3-p3 when i now try to install php5 w/ apache integration (apache module) i get the following error when i try to start apache20: Cannot load /usr/local/libexec/apache2/libphp5.so into server: /usr/local/libexec/apache2/libphp5.so: Undefined symbol "__res_ninit" I googled but neither of the solution provided by the net community works ... i would really appreciate help. Thanks in advance! Zheyu From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 10:51:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CA9C106569F for ; Thu, 2 Oct 2008 10:51:57 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (mail.e-soul.co.za [196.211.117.44]) by mx1.freebsd.org (Postfix) with ESMTP id 1DD1E8FC22 for ; Thu, 2 Oct 2008 10:51:55 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 1084E9B48C for ; Thu, 2 Oct 2008 12:51:51 +0200 (SAST) Received: by thavinci.za.net (Postfix, from userid 1002) id E21249B494; Thu, 2 Oct 2008 12:51:50 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id D12589B489 for ; Thu, 2 Oct 2008 12:51:50 +0200 (SAST) From: "Marcel Grandemange" To: Date: Thu, 2 Oct 2008 12:51:21 +0200 Message-ID: <01f001c9247c$ceb123f0$6c136bd0$@za.net> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AckkfM48x9h29ycdTiugCKplZmSKFg== Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SNMP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 10:51:57 -0000 Anybody have docs on how to get ucd-snmp-4.2.7.1 working on FreeBSD? I used to have net-snmp working but had to switch over as FreeRadius only supported ucd-snmp. Advice? Thanks. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 11:00:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7ACF1065687 for ; Thu, 2 Oct 2008 11:00:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.145]) by mx1.freebsd.org (Postfix) with ESMTP id 43AE68FC0A for ; Thu, 2 Oct 2008 11:00:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by ptb-relay01.plus.net with esmtp (Exim) id 1KlLuu-000079-W5 for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 12:00:21 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KlLth-0000ee-5L for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 11:59:05 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Thu, 2 Oct 2008 11:59:04 +0100 User-Agent: KMail/1.9.7 References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <20081001204906.GD58548@slackbox.xs4all.nl> In-Reply-To: <20081001204906.GD58548@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810021159.04926.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 9917af3b42fafa04c91eb82c515000f6 Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 11:00:23 -0000 On Wednesday 01 October 2008, Roland Smith wrote: > On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: > > I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS > > and gutenprint. Black printing is fine but I've got problems with > > colours. The colour wheel on the CUPS test page comes out as a > > psychedelic collection of brightly coloured rings. If I print from > > gimp then the correct colours appear but they are very dark and > > "muddy". The colours start to look a bit more reasonable from the > > gimp if I push the gamma value up to 2. > > Have you installed a .ppd file for this printer? This is a file that > tells cups about the capabilities of this printer. I'm using the ppd file bundled with cups (/usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP4500.5.1.ppd.gz). > See > http://www.linuxprinting.org/show_printer.cgi?recnum=Canon-PIXMA_IP43 >00_OR_PIXMA_IP4500 > > I'm not sure if just installing the ppd file works. It does for my > PostScript printer. That didn't work for me. I couldn't find anywhere to download just the ppd file file so I downloaded cnijfilter-ip4500series_2.80-1_i386.deb from Canon's site and extracted the ppd file from that with tar. That failed with the message "Unable to execute /usr/local/libexec/cups/filter/pstocanonij: No such file or directory". Then I edited the cupsfilter line in the ppd file and replaced pstocanonij with rastertogutenprint.5.1 but that just resulted in "Gutenprint Fatal error: Corrupted NickName attribute in PPD file". The link you quoted implied that the IP4300 driver might also work for the IP4500 so I tried to configure it as an IP4300 but it only spat out a blank page when I tried a test print. Interestingly the CUPS test page (/usr/local/share/cups/data/testprint.ps) only produces the psychedelic rings in the colour wheel if I print it from the local CUPS web page or from KGhostView, if I open it with the gimp and print from there I get the correct colour pattern but with very muddy colours. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 11:24:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D54561065689 for ; Thu, 2 Oct 2008 11:24:09 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc2-s17.bay0.hotmail.com (bay0-omc2-s17.bay0.hotmail.com [65.54.246.153]) by mx1.freebsd.org (Postfix) with ESMTP id BCF6B8FC23 for ; Thu, 2 Oct 2008 11:24:09 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from BAY126-DS2 ([65.55.131.29]) by bay0-omc2-s17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Oct 2008 04:24:09 -0700 X-Originating-IP: [69.243.66.105] X-Originating-Email: [millenia2000@hotmail.com] Message-ID: In-Reply-To: <48E49EB4.3060806@gmx.net> From: "Sean Cavanaugh" X-Unsent: 1 To: "FreeBSD Daemon" , , References: <48E49EB4.3060806@gmx.net> Date: Thu, 2 Oct 2008 07:24:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-OriginalArrivalTime: 02 Oct 2008 11:24:09.0625 (UTC) FILETIME=[638BB090:01C92481] Cc: Subject: Re: php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 11:24:09 -0000 did you rebuild apache first after doing the upgrade? -------------------------------------------------- From: "FreeBSD Daemon" Sent: Thursday, October 02, 2008 6:13 AM To: ; Subject: php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3 > dear list, > > i just upgraded my system from 5.4R to 6.3-p3 > when i now try to install php5 w/ apache integration (apache module) i > get the following error when i try to start apache20: > > Cannot load /usr/local/libexec/apache2/libphp5.so into server: > /usr/local/libexec/apache2/libphp5.so: Undefined symbol "__res_ninit" > > I googled but neither of the solution provided by the net community > works ... i would really appreciate help. > > Thanks in advance! > > Zheyu > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 11:26:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6E8B10656A1 for ; Thu, 2 Oct 2008 11:26:37 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp101.prem.mail.ac4.yahoo.com (smtp101.prem.mail.ac4.yahoo.com [76.13.13.40]) by mx1.freebsd.org (Postfix) with SMTP id 8584F8FC22 for ; Thu, 2 Oct 2008 11:26:37 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 5520 invoked from network); 2 Oct 2008 11:26:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=v/hntfxuqtv4WddXiOW4+awTiQP/18n4ewj8uQpDV1Hk0T3Frc+4AsjhQez6A+3a+Xoj57iNyEBRvfmbSmm74iHXHFiqTA0RZlEz1nqOrgYrQrURVKIf5aKN7WFm4q7aHHygKmrU+G3HXhcwVMGAM4rWBQu2Cx8+9ERm3mcD7C4= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp101.prem.mail.ac4.yahoo.com with SMTP; 2 Oct 2008 11:26:36 -0000 X-YMail-OSG: vB0QKnIVM1k_x0S57780HPpFHhNKybiY5VSotzz6Xah1HucvzsiBiniJFsNEpMMZrWHPOd4rf92wmosqK9WiAY6.iivAE2VxDQJdpnX129XUGxWUgYay3G5UIAKeqG6AQID5DFgEd8Cp1M4OibuSV2tqVA8wdxICJtvgMBmmv8RZpElU X-Yahoo-Newman-Property: ymail-3 Date: Thu, 2 Oct 2008 07:26:22 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081002072622.0284a05d@scorpio> In-Reply-To: <200810011436.27018.lists@rhavenn.net> References: <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> <200810011436.27018.lists@rhavenn.net> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/YyZQtYMAEf3Whu0u8lqXaWG"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 11:26:37 -0000 --Sig_/YyZQtYMAEf3Whu0u8lqXaWG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 1 Oct 2008 14:36:26 -0800 Henrik Hudson wrote: >On Wednesday 01 October 2008, Jerry sent a missive >stating:=20 >> On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) >> >> Wojciech Puchar wrote: >> >> In all likelihood, the probability of any vendor creating FBSD >> >> specific drivers is directly proportionate to the expenditure of >> >> funds to create and maintain the driver versus the expected >> >> revenue from such an expenditure. >> > >> >giving out a specs will be the simplest way. >> >> Any entity, or corporation, has a right to expect a return on their >> investment. To expect a corporation to simply give away something, >> thereby depriving their shareholders, partners or whatever, of their >> rightfully expected monetary reward is foolish. It certainly is not a >> well thought out business model. > >There is a difference between open sourcing the binary blob and >possibly giving away optimizations, trade secrets, etc... and allowing >easier access to either hardware register specs or specs to write a >wrapper around a universal blob. > >Personally, I think they see it as a "quality" control issue, though >the quality of their own code is sometimes circumspect. The card >companies sell hardware and this is where their money is made and/or a >better experience with the software drivers. Open the hardware spec, >add a support clause that any "open source" drivers aren't officially >supported and you're good to go. Unfortunately, that is not a legally binding disclaimer in many locales. It is equivalent to wearing a T-Shirt with "Touch me and I'll kill you" embroidered on it. If someone touches you and you kill them you cannot then claim that they were fore warned. That is from an actual lecture I receive in a business class. >Opening the hardware spec will do nothing except sell more hardware. Unproven and if it were in factually correct, more businesses would make use of it. >a) the average joe will continue to buy systems with the supported >hardware / drivers, most likely Windows, OS X or a major Linux distro. >Probably wouldn't even know the open source ones exist. A bit naive in my personal opinion. The overwhelming majority of users that I am acquainted with and many of them are college students, buy what ever works best for them with the least amount of user intervention. The majority of users that I am familiar with do not want to spent valuable time attempting to configure a PC; they have better things to do. How many discussions have we had on this forum regarding the lack of a functional 'Flash' plug-in for web browsing, etc. Until problems like that are solved, expanding the base for FBSD is a touch uphill climb. >b) the geeks of the world will start running the open source driver if >it's better or not if it's worse for their applications. Either way, >it will only sell more hardware. Again, unproven. >c) The FOSS only crowd will start using the hardware since it has a >fully open source drivers. > >The open source driver doesn't need to be able to run Doom5 at >incredible speeds, it just needs high quality 2d and the ability to >handle some 3d compositing, etc... for desktop effects. Sorry; however, I totally disagree. A half-ass driver is akin to being slightly pregnant. You are either pregnant or you are not. A driver is either fully functional, or it is broken. To make arbitrary limits on what it should and should not be able to do is absurd. If I want to play a game, and your half-ass driver will not run it, then that driver is as useless as 'Tits on a bull'. It either works, or it doesn't. Too many people today accept inferior products/performance under just the guise you are employing. >My .02$ > >Henrik Again, it appears that NVIDIA has attempted to work with the FBSD community. Evidently, nothing has come of it. Unfortunate, to say the least. --=20 Jerry gesbbb@yahoo.com Not Hercules could have knock'd out his brains, for he had none. Shakespeare --Sig_/YyZQtYMAEf3Whu0u8lqXaWG Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjkr+kACgkQBvaKIJWWCO31bgCcDAMHUPKWktg7Ifo6R1GGJ85D z0YAn1yKzS+NaqsYMMQiQExSE/dull9X =CD6C -----END PGP SIGNATURE----- --Sig_/YyZQtYMAEf3Whu0u8lqXaWG-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 11:56:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D17D5106568E for ; Thu, 2 Oct 2008 11:56:27 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 903168FC0C for ; Thu, 2 Oct 2008 11:56:27 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id A38215C2EE4B for ; Thu, 2 Oct 2008 21:52:59 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <200810020918.44161.jonathan+freebsd-questions@hst.org.za> References: <1222839623.8573.5.camel@laptop1.herveybayaustralia.com.au> <20081001105337.GA47338@owl.midgard.homeip.net> <1222905558.3927.1.camel@laptop1.herveybayaustralia.com.au> <200810020918.44161.jonathan+freebsd-questions@hst.org.za> Content-Type: text/plain Date: Thu, 02 Oct 2008 21:53:19 +1000 Message-Id: <1222948400.3927.12.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: A38215C2EE4B.097C9 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: mysql rc script failure - correction: most installed rc scripts not running manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 11:56:27 -0000 On Thu, 2008-10-02 at 09:18 +0200, Jonathan McKeown wrote: > On Thursday 02 October 2008 01:59:18 Da Rock wrote: > > On Wed, 2008-10-01 at 12:53 +0200, Erik Trulsson wrote: > > > On Wed, Oct 01, 2008 at 08:39:47PM +1000, Da Rock wrote: > > > > > > > > So are you saying I can't start a script manually without enabling it > > > > in rc.conf? I was not under that impression... I thought it could be > > > > started manually for testing before setting it for automatic startup- > > > > based on my reading in the handbook and man pages. > > > > > > Yes, you can. Use forcestart/forcestop instead of start/stop when > > > running the rc script if you do not have it enabled in rc.conf. This is > > > documented in rc(8) (and is very easily overlooked if you don't know what > > > you are looking for.) > > > > Well thank you both for that piece of information, I had overlooked > > that. I did end up using it that way, but I was still unaware that it > > was mandatory. > > The problem with forcestart is that it ignores any errors that may occur. The > better option for a manual start is onestart, which simply bypasses the test > for the option being enabled but still fails on any other error (missing > dependencies, startup problems etc). > > Jonathan Well that might be more useful (and best practice)... Cheers for the heads up guys From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:01:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA5D61065686 for ; Thu, 2 Oct 2008 12:01:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id A967C8FC0C for ; Thu, 2 Oct 2008 12:01:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 8564B5C2E997 for ; Thu, 2 Oct 2008 21:57:30 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <9196e72b0810020301se3056c1u17716d95575e638b@mail.gmail.com> References: <48D3D0A8.7070504@mindling.com> <1221876046.4625.4.camel@laptop1.herveybayaustralia.com.au> <48D53DA1.2040808@mindling.com> <200809211527.53755.af300wsm@gmail.com> <48D85B3A.8070706@mindling.com> <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com> <20081001170712.GA1391@phenom.cordula.ws> <9196e72b0810020301se3056c1u17716d95575e638b@mail.gmail.com> Content-Type: text/plain Date: Thu, 02 Oct 2008 21:57:53 +1000 Message-Id: <1222948673.3927.16.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 8564B5C2E997.258CE X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: Realtek 8111C? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:01:04 -0000 On Thu, 2008-10-02 at 12:01 +0200, Popof Popof wrote: > I hav a mobo with the same NIC, I use it on a FreeNAS box that's runing a > version based on FreeBSD 6.3. > In order to make the NIC work i had to compile the drivers from realtek with > an other FreeBSD box and load the module on startup. > But data transfer from / to my FreeNAS box are slow. > > Anyone had the same problem with this NIC / Realtek drivers? > Did someone used the drivers from FreeBSD 7.1 with (or without) FreeNAS ? > Does the transfer speed are correct ? > > 2008/10/1 cpghost I thought that mine might be slow, but I couldn't be sure as its pretty weak hardware anyway. Might be worth some investigation. (I'm running 6.2 and 6.3) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:04:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8E8B10656A5 for ; Thu, 2 Oct 2008 12:04: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 A2DAC8FC13 for ; Thu, 2 Oct 2008 12:04:28 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 02 Oct 2008 08:04:28 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PCO69954; Thu, 2 Oct 2008 08:04:27 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 02 Oct 2008 08:04:27 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18660.47307.108170.97105@jerusalem.litteratus.org> Date: Thu, 2 Oct 2008 08:04:27 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20081002072622.0284a05d@scorpio> References: <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> <200810011436.27018.lists@rhavenn.net> <20081002072622.0284a05d@scorpio> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:04:29 -0000 Jerry : > Again, it appears that NVIDIA has attempted to work with the > FBSD community. Evidently, nothing has come of it. Unfortunate, > to say the least. The next step - sometimes suggested, but never to my knowledge attepted - would be for someone to run a collection to hire someone to do the programming. Considering we're talking about messing with the memory system, one suspects quality help would not come cheap. On the other hand, this is (as I understand it) not a FreeBSD issue; it's a (Free, Net, Open, Dragonfly)BSD issue. Trolling for interest/talent/funds in the other user bases might useful, Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:20:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F6EB1065686 for ; Thu, 2 Oct 2008 12:20:59 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 829578FC17 for ; Thu, 2 Oct 2008 12:20:58 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:53350) by b.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlNAu-00026B-4Y for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 14:20:56 +0200 Received: from iwr61.iwr.ru.ac.za ([146.231.64.161]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlNAt-000CUJ-Ut for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 14:20:56 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Thu, 02 Oct 2008 14:20:50 +0200 MIME-Version: 1.0 Message-ID: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: b.mail.ru.ac.za (146.231.129.34) Subject: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: iwrTech@iwr.ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:20:59 -0000 I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from newsyslog.conf /var/log/apache/httpd-access.log 640 13 * $M1D8 B /var/run/httpd.pid 30 with a similar one for the error log. I have to manually start apache after this rotates the log. I alos see that 'apachectl restart' stops apache but it doesn't restart. any ideas? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:39:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A0C1065693 for ; Thu, 2 Oct 2008 12:39:26 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id DDD518FC14 for ; Thu, 2 Oct 2008 12:39:25 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so232253qwb.7 for ; Thu, 02 Oct 2008 05:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7BbuZwwO6UzfN5u8sukqxQvRq1GqCKHBdt/0lX8lkV8=; b=J8kpSSMFHnlckbTtc1ZriAD5WAL396+Gn8yPc2it7iHsZYtI50N+9A9mKtL6oEliku S0fjJv9brLHO8NCjAMU+Gr/E7ICtgw1Ex2FBvcrZuevffJVjQhI4gJTt9B59LA1zopCB I3Q3wfGUAWf3tYyxKPK8Ou5xpFZ+H0jmytuSo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=k/0LaX5IchdF8ilAPyRjIqqExeJEqKTjf37WJTAVZzm6FOdiEJebIL35xQLLV87fTk iO0wMCJZW5q5/4+rNqEvD2ywu897D/WsttwpfAwtz81fqdfFG94BzpRvMKEqkvf3PUFJ Sqc96Ft+bPAUYJpiaPcSRMruRmGWepHaEe8hU= Received: by 10.215.101.5 with SMTP id d5mr9611234qam.8.1222951164687; Thu, 02 Oct 2008 05:39:24 -0700 (PDT) Received: by 10.215.39.4 with HTTP; Thu, 2 Oct 2008 05:39:24 -0700 (PDT) Message-ID: <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> Date: Thu, 2 Oct 2008 14:39:24 +0200 From: "Dominique Goncalves" To: "fire jotawski" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DA7491.8030002@daleco.biz> Cc: freebsd-questions@freebsd.org Subject: Re: nat and firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:39:26 -0000 Hi, On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski wrote: > On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey wrote: > >> FBSD1 wrote: >> >>> >>> natd_enable="YES" This statement in rc.conf enables ipfw nated function. >>> firewall_nat_enable="YES" This is an invalid statement. No such thing as >>> you have here. >>> >> >> This is no longer true; he did indeed find "firewall_nat_enable" >> in /etc/defaults/rc.conf. The knob seems to have first appeared >> in February in HEAD and I'm guessing it cues the system to use a >> new kernel-based nat rather than natd(8), but I've not read anything >> further about this, as my system isn't as up to date as the OP's. >> I don't know when this change was MFC'ed, but apparently fairly >> recently? >> >> I suppose we need someone a tad more "in the know" to straighten >> that out for us. >> > > up to this moment, i do not know if natd and firewall_nat function in the > same or different. > and is there firewall_nat_flags thing too ? I'll try to explain, natd_* knobs are for natd(8), a daemon firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel firewall_nat_* was added in the begenning of year in RELENG_7 http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 The NAT configuration is done by /etc/rc.firewall, you can read this file to know how the configuration is done. This is two different ways to do NAT. I can't speak about performance, kernel vs daemon. Hope this helps. > thanks in advanced for any helps and hints. > regards, > psr > > >> >> Kevin Kinsey >> -- >> A wise man can see more from a mountain top >> than a fool can from the bottom of a well. >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:48:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066941065693 for ; Thu, 2 Oct 2008 12:48:17 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp110.prem.mail.ac4.yahoo.com (smtp110.prem.mail.ac4.yahoo.com [76.13.13.93]) by mx1.freebsd.org (Postfix) with SMTP id 8F6A38FC0C for ; Thu, 2 Oct 2008 12:48:16 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 79324 invoked from network); 2 Oct 2008 12:48:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=tR7FjujnoNg5FWs/rdSd2EOsboiaqyk3O1tl/9IYFNYDkqKqGEfS/zPrTxzXvQq6AO1eYey3aQRsrZ+HVFH179+7anwMxI80sas6o50XZi5u0J4bGJ9cP0oPpTGpSRzD77/ggl54OuHvVZwlrKZii3Qnr+6+mGhrpa/PsuKuFbE= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp110.prem.mail.ac4.yahoo.com with SMTP; 2 Oct 2008 12:48:15 -0000 X-YMail-OSG: HwM1UYkVM1ldVtIPE.ht910Tdtm7DNW0MHyx5vKwJUwBZKp91llJ9omDTT4D9Iaao2ZuAeN3sxCA907Z.BnT2j8uPyELc8y33JclR.UenPhmIEmfTucMbMqbspn1EgW3o4_ucD8LE_XRQdE2Xrjz86McZ5X8vdEGSSFR2zfmRciDZ.1G X-Yahoo-Newman-Property: ymail-3 Date: Thu, 2 Oct 2008 08:48:11 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081002084811.6fe9a50d@scorpio> In-Reply-To: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zj/osFUnv0PyPKRKGRYVKE0"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:48:17 -0000 --Sig_/zj/osFUnv0PyPKRKGRYVKE0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 02 Oct 2008 14:20:50 +0200 "DA Forsyth" wrote: >I used to have one big apache log file, but decided to rotate it once=20 >a month using newsyslog. > >However, now apache stops and does not restart when the log is=20 >rotated. > >line from newsyslog.conf >/var/log/apache/httpd-access.log 640 13 * $M1D8 B =20 > /var/run/httpd.pid 30 > >with a similar one for the error log. > >I have to manually start apache after this rotates the log. > >I alos see that 'apachectl restart' stops apache but it doesn't=20 >restart. > >any ideas? I use 'rotatelogs': http://httpd.apache.org/docs/2.0/programs/rotatelogs.html to facilitate the rotating of logs. If you need further information, contact me OL. --=20 Jerry gesbbb@yahoo.com To see a need and wait to be asked, is to already refuse. --Sig_/zj/osFUnv0PyPKRKGRYVKE0 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjkwwwACgkQBvaKIJWWCO1WiQCfZWkoIYqjCqewYnIS64sZrTyT 85wAnRUkUvMhmdzBuUfNR031lhvl/VYa =nrSw -----END PGP SIGNATURE----- --Sig_/zj/osFUnv0PyPKRKGRYVKE0-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:51:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75F0310656A2 for ; Thu, 2 Oct 2008 12:51:03 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 0B67B8FC14 for ; Thu, 2 Oct 2008 12:51:02 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id E6DD35C2E726 for ; Thu, 2 Oct 2008 22:48:29 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081002072622.0284a05d@scorpio> References: <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> <200810011436.27018.lists@rhavenn.net> <20081002072622.0284a05d@scorpio> Content-Type: text/plain Date: Thu, 02 Oct 2008 22:48:53 +1000 Message-Id: <1222951733.3927.27.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: E6DD35C2E726.B5A50 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:51:03 -0000 On Thu, 2008-10-02 at 07:26 -0400, Jerry wrote: > On Wed, 1 Oct 2008 14:36:26 -0800 > Henrik Hudson wrote: > > >On Wednesday 01 October 2008, Jerry sent a missive > >stating: > >> On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) > >> > >> Wojciech Puchar wrote: > >> >> In all likelihood, the probability of any vendor creating FBSD > >> >> specific drivers is directly proportionate to the expenditure of > >> >> funds to create and maintain the driver versus the expected > >> >> revenue from such an expenditure. > >> > > >> >giving out a specs will be the simplest way. > >> > >> Any entity, or corporation, has a right to expect a return on their > >> investment. To expect a corporation to simply give away something, > >> thereby depriving their shareholders, partners or whatever, of their > >> rightfully expected monetary reward is foolish. It certainly is not a > >> well thought out business model. > > > >There is a difference between open sourcing the binary blob and > >possibly giving away optimizations, trade secrets, etc... and allowing > >easier access to either hardware register specs or specs to write a > >wrapper around a universal blob. > > > >Personally, I think they see it as a "quality" control issue, though > >the quality of their own code is sometimes circumspect. The card > >companies sell hardware and this is where their money is made and/or a > >better experience with the software drivers. Open the hardware spec, > >add a support clause that any "open source" drivers aren't officially > >supported and you're good to go. > > Unfortunately, that is not a legally binding disclaimer in many > locales. It is equivalent to wearing a T-Shirt with "Touch me and I'll > kill you" embroidered on it. If someone touches you and you kill them > you cannot then claim that they were fore warned. That is from an > actual lecture I receive in a business class. > > >Opening the hardware spec will do nothing except sell more hardware. > > Unproven and if it were in factually correct, more businesses would > make use of it. > > >a) the average joe will continue to buy systems with the supported > >hardware / drivers, most likely Windows, OS X or a major Linux distro. > >Probably wouldn't even know the open source ones exist. > > A bit naive in my personal opinion. The overwhelming majority of users > that I am acquainted with and many of them are college students, buy > what ever works best for them with the least amount of user > intervention. The majority of users that I am familiar with do not > want to spent valuable time attempting to configure a PC; they have > better things to do. How many discussions have we had on this forum > regarding the lack of a functional 'Flash' plug-in for web browsing, > etc. Until problems like that are solved, expanding the base for FBSD > is a touch uphill climb. > > >b) the geeks of the world will start running the open source driver if > >it's better or not if it's worse for their applications. Either way, > >it will only sell more hardware. > > Again, unproven. > > >c) The FOSS only crowd will start using the hardware since it has a > >fully open source drivers. > > > >The open source driver doesn't need to be able to run Doom5 at > >incredible speeds, it just needs high quality 2d and the ability to > >handle some 3d compositing, etc... for desktop effects. > > Sorry; however, I totally disagree. A half-ass driver is akin to being > slightly pregnant. You are either pregnant or you are not. A driver is > either fully functional, or it is broken. To make arbitrary limits on > what it should and should not be able to do is absurd. If I want to > play a game, and your half-ass driver will not run it, then that driver > is as useless as 'Tits on a bull'. It either works, or it doesn't. Too > many people today accept inferior products/performance under just the > guise you are employing. > > >My .02$ > > > >Henrik > > Again, it appears that NVIDIA has attempted to work with the FBSD > community. Evidently, nothing has come of it. Unfortunate, to say the > least. I apologise for jumping into this thread mid way, but wouldn't the problem be simply a case of nil NDA? If an FOSS programmer signed an NDA with say NVidia, then wouldn't the hardware supplier be more willing to supply more specific details? Anyone with experience in the legalities here? From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:51:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8C81065696 for ; Thu, 2 Oct 2008 12:51:27 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.189]) by mx1.freebsd.org (Postfix) with ESMTP id 537EF8FC1C for ; Thu, 2 Oct 2008 12:51:27 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so318673rne.12 for ; Thu, 02 Oct 2008 05:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=q1FsmOfIgoU8Z21ObNd0UXFivnqpJ5QI9gDXv7FSMb4=; b=CRvs9f4Cs7T7xxcvUNvMfH00fHn8YzsV0nwstWyCbZA4MrkPqCohXt28GQjESjLGh/ y5pLi6b3zksNfEfdQ615iscQs8lMhI2uuY6SvC7SrdfJ7lJHmUpflIOd8QqmIlOu9YUY QtEj8DvqkxfWHsJg26kOhsJIwQdXGbMrTBViI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BZ2OAsospSRJNjNqbc5sk0dvI/UQjEAjX8fbL1YlRDrDxJ90IoXfzzVnLhUzE28DK2 5uMEBkPIgjw9tXVahYQJWU7bW4bySnCkeNiNncEQBu9bq2GfqGJWPYyTN0nAsVe3W9Ff UXoPOfILw98SDSBwMRXv86ahjKaLBoM/EXy60= Received: by 10.151.42.21 with SMTP id u21mr3143202ybj.23.1222951886523; Thu, 02 Oct 2008 05:51:26 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 2 Oct 2008 05:51:26 -0700 (PDT) Message-ID: <94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6@mail.gmail.com> Date: Thu, 2 Oct 2008 14:51:26 +0200 From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org In-Reply-To: <20081002084811.6fe9a50d@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> <20081002084811.6fe9a50d@scorpio> Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:51:27 -0000 Hello, 2008/10/2 Jerry : > On Thu, 02 Oct 2008 14:20:50 +0200 > "DA Forsyth" wrote: > >>I used to have one big apache log file, but decided to rotate it once >>a month using newsyslog. >> >>However, now apache stops and does not restart when the log is >>rotated. >> >>line from newsyslog.conf >>/var/log/apache/httpd-access.log 640 13 * $M1D8 B >> /var/run/httpd.pid 30 >> >>with a similar one for the error log. >> >>I have to manually start apache after this rotates the log. >> >>I alos see that 'apachectl restart' stops apache but it doesn't >>restart. >> >>any ideas? > > > I use 'rotatelogs': No need to change log rotation software since the problem clearly is somewhere else. You need to inspect Apache's error logs to see why it cannot start. -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 13:05:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00D11106568B for ; Thu, 2 Oct 2008 13:05:58 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id CB57E8FC14 for ; Thu, 2 Oct 2008 13:05:57 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id CF6CD17137A; Thu, 2 Oct 2008 08:46:22 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Thu, 02 Oct 2008 08:46:22 -0400 X-Sasl-enc: 2MkX8hjFlbJGIgzevviyxLSbtLFeKNDPbZ20VrrT90m+ 1222951582 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 3478A31009; Thu, 2 Oct 2008 08:46:22 -0400 (EDT) Message-ID: <48E4C29D.1020200@FreeBSD.org> Date: Thu, 02 Oct 2008 13:46:21 +0100 From: "Bruce M. Simpson" User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: Yony Yossef References: <20def4870810020216x31f9c0d8yd4776622928c412e@mail.gmail.com> In-Reply-To: <20def4870810020216x31f9c0d8yd4776622928c412e@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Freeing an mbuf cluster X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 13:05:58 -0000 Yony Yossef wrote: > Hi All, > > I'm trying to manually build an mbuf chain with clusters in various sizes. > I'm doing it using the MGETHDR and MEXTADD macros, it works fine. > Now I'm looking for the simplest way to free an mbuf cluster, since I want > to free the clusters seperately. This function will be given as a parameter > to MEXTADD. > > Is there a simple command like 'free(buf)' to free an mbuf cluster? > You don't specify if you are trying to add the external storage from a pool you manage, in which case, you're on your own. m_free() for a cluster or mbuf should just "do the right thing". Since the UMA cleanup there are destructor functions which should free the mbuf or cluster using the right pool. m_freem() works on chains, of course. cheers BMS From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 13:50:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2DE1065686 for ; Thu, 2 Oct 2008 13:50:08 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF978FC0C for ; Thu, 2 Oct 2008 13:50:06 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1017448uge.39 for ; Thu, 02 Oct 2008 06:50:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=AG1tSxPnRY8x4JLmHPSFlFvZUIDEoD5KsU5DkDUfMOk=; b=qvis2w1T2/8lTqk4ETVmPVG7YSjkiaQoGfCikfYDDCuvaH6tvc2etOt2W8deFtHUzU DLtxQgNzfzdGOw+S081SXUCvyRF21l+I/X8D09BV/pME/0mFxH8LDD3tnVQyZP8Toi4N FNbt7WAgtbd570ds3u4gL1VCSxYxoDkecTe9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fDVm9B0/h4cM4NNLw63jGSar+k1rv+v9KTpvk3dn/opc++kfmwJtVEvW8ajFqSIUye AB7QZuA/vATEdH8u8fVFP5pa4UUFl3fNqYb1sXxSHUuzyQwqjhHsG1crgiHvKa1YCfs1 8r/gSjKciuV5WOXdc5X+dLWZkb2dXCLebE0Os= Received: by 10.210.91.17 with SMTP id o17mr11387060ebb.172.1222954189336; Thu, 02 Oct 2008 06:29:49 -0700 (PDT) Received: by 10.210.49.15 with HTTP; Thu, 2 Oct 2008 06:29:49 -0700 (PDT) Message-ID: Date: Thu, 2 Oct 2008 08:29:49 -0500 From: Matt To: "Desmond Chapman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions@freebsd.org Subject: Re: vbox building and freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 13:50:08 -0000 On Thu, Oct 2, 2008 at 2:45 AM, Desmond Chapman wrote: > > I'm posting this to two mailing lists because of the environment. > > # /home/moleque/VirtualBox-2.0.0/./configure > Checking for environment: Determined build machine: freebsd.amd64, target machine: freebsd.amd64, OK. > Checking for kBuild: found, OK. > Checking for gcc: found version 4.2.1, OK. > Checking for as86: found version 0.16.17, OK. > Checking for bcc: found version 0.16.17, OK. > Checking for iasl: found version 20070320, OK. > Checking for xslt: found, OK. > Checking for pthread: found, OK. > /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "kmk_sed" > Checking for libxml2: /libexec/ld-elf.so.1: Shared object "libc.so.6" not found, required by "kmk_sed" > > xml2 not found at -L/usr/local/lib -lxml2 -lpthread or xml2 headers not found > Check the file /usr/home/moleque/sdk/bindings/configure.log for detailed error information. > [snip] > How do I solve the xml2 conflict listed above the patch? > Install the misc/compat6x port to gain access to the libc.so.6 that the pre-compiled kmk_sed was likely compiled with. If that doesn't work, you'll need to follow the kmake instructions to build from source. Matt From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:11:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95FDA1065686 for ; Thu, 2 Oct 2008 14:11:37 +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 47BD78FC21 for ; Thu, 2 Oct 2008 14:11:36 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 02 Oct 2008 10:11:36 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PCO98260; Thu, 2 Oct 2008 10:11:35 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 02 Oct 2008 10:11:33 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18660.54932.394443.382443@jerusalem.litteratus.org> Date: Thu, 2 Oct 2008 10:11:32 -0400 To: Da Rock In-Reply-To: <1222951733.3927.27.camel@laptop1.herveybayaustralia.com.au> References: <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> <200810011436.27018.lists@rhavenn.net> <20081002072622.0284a05d@scorpio> <1222951733.3927.27.camel@laptop1.herveybayaustralia.com.au> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:11:37 -0000 Da Rock writes: > I apologise for jumping into this thread mid way, but wouldn't > the problem be simply a case of nil NDA? If an FOSS programmer > signed an NDA with say NVidia, then wouldn't the hardware > supplier be more willing to supply more specific details? > > Anyone with experience in the legalities here? It's not just the legalities, it's the philosophy. Accepting the N.D.A. would allow the writing of a driver ... which would - based on what I know about siilar N.D.A.s - have to be released as a binary. Now that could happen, and be a working solution; it's worked for other products. (Examples are left as an exercise for the reader.) But it's the (rare) exception and not the rule for a reason. Ignoring philosophical disagreements, it makes it harder to find and fix problems. Case in point: FreeBSD supports Intel non-CPU hardware; in at least one case (the /em/ network driver) Intel not only writes the code (for free) but releases it under an appropriate license. This gains Intel a lot of cred. (The fact that it's superior code on a superior card doesn't hurt, nor does tha fact that the writer is available, responsive, and friendly.) Robert Huff From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:27:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F8321065688 for ; Thu, 2 Oct 2008 14:27:00 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 085C48FC35 for ; Thu, 2 Oct 2008 14:26:59 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id m92EPJT5052203 for ; Thu, 2 Oct 2008 10:25:19 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id m92EPJUp052202 for freebsd-questions@freebsd.org; Thu, 2 Oct 2008 10:25:19 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 2 Oct 2008 10:25:19 -0400 From: Jerry McAllister To: freebsd-questions@freebsd.org Message-ID: <20081002142519.GG51954@gizmo.acns.msu.edu> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081001180424.56e6ca69@scorpio> User-Agent: Mutt/1.4.2.2i Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:27:00 -0000 On Wed, Oct 01, 2008 at 06:04:24PM -0400, Jerry wrote: > On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) > Wojciech Puchar wrote: > > >> In all likelihood, the probability of any vendor creating FBSD > >> specific drivers is directly proportionate to the expenditure of > >> funds to create and maintain the driver versus the expected revenue > >> from such an expenditure. > > > >giving out a specs will be the simplest way. > > Any entity, or corporation, has a right to expect a return on their > investment. To expect a corporation to simply give away something, > thereby depriving their shareholders, partners or whatever, of their > rightfully expected monetary reward is foolish. It certainly is not a > well thought out business model. First, in cases like this, giving out the specs so someone can write a good driver could increase their sales of cards which could, in turn, increase their profit. So, it would help their business rather than hurt it. They do not sell those drivers. They just use them to sell video cards. Since the lack of a driver that works in FreeBSD limits their sales of video cards, then they are making the business mistake you are indicating, only in a reverse sort of way. Second, and very important. No corporation has any right to expect a return on their investment. Investment is always a risk. They might hope for a return, but they will have to work for it. They will be fortunate to get it. More business ventures fail than succeed. Maybe it is only a case of using the wrong word, but it is still important to remember that there is no guarantee of profit. That was the big failing of price controls - that the government got in to the business of guaranteeing profits and then the whole thing fell apart. ////jerry Jerry McAllister jerrymc@msu.edu > > -- > Jerry > gesbbb@yahoo.com > > If man is only a little lower than the angels, the angels should reform. > > Mary Wilson Little From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:47:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2627E1065697 for ; Thu, 2 Oct 2008 14:47:07 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s35.blu0.hotmail.com (blu0-omc4-s35.blu0.hotmail.com [65.55.111.174]) by mx1.freebsd.org (Postfix) with ESMTP id E0B778FC1A for ; Thu, 2 Oct 2008 14:47:06 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W19 ([65.55.111.137]) by blu0-omc4-s35.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Oct 2008 07:47:06 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , Date: Thu, 2 Oct 2008 14:47:06 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2008 14:47:06.0712 (UTC) FILETIME=[BDA7B580:01C9249D] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: the patch from walt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:47:07 -0000 --- ld/x86_aout.h.orig 2003-01-28 17:17:14.000000000 -0500 +++ ld/x86_aout.h 2005-05-07 22:40:05.000000000 -0400 @@ -13=2C7 +13=2C9 @@ typedef long Long=3B #define __OUT_OK 1 #else -typedef char Long[4]=3B +#define __OUT_OK 1 +#include +typedef int32_t Long=3B #endif Sorry about that.=20 _________________________________________________________________ Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie= . http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:54:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23BBA1065687 for ; Thu, 2 Oct 2008 14:54:23 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from blu0-omc4-s13.blu0.hotmail.com (blu0-omc4-s13.blu0.hotmail.com [65.55.111.152]) by mx1.freebsd.org (Postfix) with ESMTP id DDFFC8FC0C for ; Thu, 2 Oct 2008 14:54:22 +0000 (UTC) (envelope-from que_deseja@hotmail.com) Received: from BLU126-W48 ([65.55.111.136]) by blu0-omc4-s13.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Oct 2008 07:54:22 -0700 Message-ID: X-Originating-IP: [98.192.204.41] From: Desmond Chapman To: , Date: Thu, 2 Oct 2008 14:54:22 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 02 Oct 2008 14:54:22.0717 (UTC) FILETIME=[C188CAD0:01C9249E] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: More vbox and build troubles. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:54:23 -0000 ***** Checking libpng ***** compiling the following source file: #include #include extern "C" int main(void) { printf("found version %s"=2C PNG_LIBPNG_VER_STRING)=3B #if PNG_LIBPNG_VER >=3D 10205 printf("=2C OK.\n")=3B return 0=3B #else printf("=2C expected version 1.2.5 or higher\n")=3B return 1=3B #endif } using the following command line: g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpng " .tmp_src.cc:2:17: error: png.h: No such file or directory .tmp_src.cc: In function 'int main()': .tmp_src.cc:5: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scop= e I need the headers for this library- libpng-1.2.32. Are they in ports as pa= rt of another package or do I need to build them? If so=2C how? _________________________________________________________________ See how Windows Mobile brings your life together=97at home=2C work=2C or on= the go. http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 14:59:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21CE81065693 for ; Thu, 2 Oct 2008 14:59:04 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id D2D4F8FC12 for ; Thu, 2 Oct 2008 14:59:03 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 4C80C944FEE for ; Thu, 2 Oct 2008 09:59:03 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yV1h+7bdsDe9 for ; Thu, 2 Oct 2008 09:58:57 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 39939944567 for ; Thu, 2 Oct 2008 09:58:57 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Thu, 2 Oct 2008 09:58:54 -0500 User-Agent: KMail/1.9.9 X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810020958.54563.kirk@strauser.com> Subject: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 14:59:04 -0000 I have an AMD system with 6GB of RAM. From dmesg: usable memory = 6428237824 (6130 MB) avail memory = 6203797504 (5916 MB) However, most of it is just sitting there when it looks like it could be used for buffers or cache: Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf, 138M Free Swap: 8192M Total, 900K Used, 8191M Free Since I've yet to find a great explanation for what the different types of memory are, could someone say why all that inactive memory is better than using it for cache or buffers? -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:05:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256801065696 for ; Thu, 2 Oct 2008 15:05:07 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id D61958FC1F for ; Thu, 2 Oct 2008 15:05:06 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 74F98944FED for ; Thu, 2 Oct 2008 10:05:06 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z3dgAabO5zlY for ; Thu, 2 Oct 2008 10:04:59 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id 5E5F2944567 for ; Thu, 2 Oct 2008 10:04:59 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Thu, 2 Oct 2008 10:04:56 -0500 User-Agent: KMail/1.9.9 References: <200810020958.54563.kirk@strauser.com> In-Reply-To: <200810020958.54563.kirk@strauser.com> X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810021004.56210.kirk@strauser.com> Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:05:07 -0000 On Thursday 02 October 2008, Kirk Strauser wrote: > I have an AMD system with 6GB of RAM. From dmesg: > > usable memory = 6428237824 (6130 MB) > avail memory = 6203797504 (5916 MB) > > However, most of it is just sitting there when it looks like it could be > used for buffers or cache: On another AMD64 machine, also with 6GB of RAM, I have: Mem: 482M Active, 1044M Inact, 363M Wired, 3792K Cache, 214M Buf, 4023M Free Swap: 8192M Total, 8192M Free I can understand that on the other machine maybe inactive memory is more beneficial than cache or buffers, but this system is just sitting there with 4GB free (and the exact same amount of buffer memory as on the other, which seems a little too coincidental). -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:12:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E4A81065686 for ; Thu, 2 Oct 2008 15:12:03 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp2.tls.net (smtp2.tls.net [65.124.104.105]) by mx1.freebsd.org (Postfix) with ESMTP id A98498FC15 for ; Thu, 2 Oct 2008 15:12:02 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 82544 invoked from network); 2 Oct 2008 15:12:01 -0000 Received: by simscan 1.2.3 ppid: 82527, pid: 82541, t: 0.1325s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp-2.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=10.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-11-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.11.201) by ssl-smtp2.tls.net with ESMTPA; 2 Oct 2008 15:12:01 -0000 Message-ID: <48E4E4B8.90202@pixelhammer.com> Date: Thu, 02 Oct 2008 11:11:52 -0400 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: 'User Questions' Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:12:03 -0000 Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because the script uses su to become nobody. echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 2) nobody, as expected, has no shell or home dir in /etc/password. I searched around for an answer but didn't see anything concerning this other than a patch to cron to check if setuid fails. Is setting the user to nobody in /etc/crontab not possible? Thanks, DAve -- Don't tell me I'm driving the cart! From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:36:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90E191065697 for ; Thu, 2 Oct 2008 15:36:48 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 36B868FC15 for ; Thu, 2 Oct 2008 15:36:47 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id DFCF468BA6623; Thu, 2 Oct 2008 08:36:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6j9YP2MmT+SY; Thu, 2 Oct 2008 08:36:46 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id C3C45680036BF; Thu, 2 Oct 2008 08:36:46 -0700 (PDT) Date: Thu, 2 Oct 2008 08:36:46 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20081002153646.GA24929@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <48E4E4B8.90202@pixelhammer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E4E4B8.90202@pixelhammer.com> User-Agent: Mutt/1.5.18 OpenPKG/% (2008-05-17) Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:36:48 -0000 You can use ``su -c '/path/to/command' username'' to run scripts as users other than root. Another way is to use ``crontab -u username''. man crontab for details. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Of all the contrivances devised for cheating the laboring classes of mankind, none has been more effective than that which deludes him with paper money. -- -Daniel Webster From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:45:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56D411065677 for ; Thu, 2 Oct 2008 15:45:18 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0E48FC21 for ; Thu, 2 Oct 2008 15:45:17 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m92FjF9i079259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Oct 2008 10:45:15 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m92FJlTN097742; Thu, 2 Oct 2008 10:19:47 -0500 (CDT) (envelope-from dan) Date: Thu, 2 Oct 2008 10:19:47 -0500 From: Dan Nelson To: Desmond Chapman Message-ID: <20081002151947.GL86326@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: vbox-dev@virtualbox.org, freebsd-questions@freebsd.org Subject: Re: More vbox and build troubles. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:45:18 -0000 In the last episode (Oct 02), Desmond Chapman said: > > ***** Checking libpng ***** > compiling the following source file: > #include > #include > extern "C" int main(void) > { > printf("found version %s", PNG_LIBPNG_VER_STRING); > #if PNG_LIBPNG_VER >= 10205 > printf(", OK.\n"); > return 0; > #else > printf(", expected version 1.2.5 or higher\n"); > return 1; > #endif > } > using the following command line: > g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpng " > .tmp_src.cc:2:17: error: png.h: No such file or directory > .tmp_src.cc: In function 'int main()': > .tmp_src.cc:5: error: 'PNG_LIBPNG_VER_STRING' was not declared in this scope > > > I need the headers for this library- libpng-1.2.32. Are they in ports > as part of another package or do I need to build them? If so, how? Assuming you have the png port installed, add -I/usr/local/include -L/usr/local/lib to your compile line. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 15:57:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BA8E1065692 for ; Thu, 2 Oct 2008 15:57:06 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: from smtp1.tls.net (smtp1.tls.net [65.124.104.104]) by mx1.freebsd.org (Postfix) with ESMTP id C4E848FC1C for ; Thu, 2 Oct 2008 15:57:05 +0000 (UTC) (envelope-from dave.list@pixelhammer.com) Received: (qmail 86425 invoked from network); 2 Oct 2008 15:57:04 -0000 Received: by simscan 1.2.3 ppid: 86393, pid: 86422, t: 0.1283s scanners: attach: 1.2.3 spam: 3.2.1 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on smtp1.tls.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=10.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.1 Received: from 64-184-11-201.bb.hrtc.net (HELO ?192.168.1.46?) (ldg@tls.net@64.184.11.201) by ssl-smtp1.tls.net with ESMTPA; 2 Oct 2008 15:57:04 -0000 Message-ID: <48E4EF49.5080605@pixelhammer.com> Date: Thu, 02 Oct 2008 11:56:57 -0400 From: DAve User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <48E4E4B8.90202@pixelhammer.com> <20081002153646.GA24929@ayn.mi.celestial.com> In-Reply-To: <20081002153646.GA24929@ayn.mi.celestial.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:57:07 -0000 Bill Campbell wrote: > You can use ``su -c '/path/to/command' username'' to run scripts as > users other than root. > > Another way is to use ``crontab -u username''. man crontab for > details. > > Bill I am being told the developer tried a user crontab without success. I've not suggested they try su yet though I dropped hints. Still seems odd that setting the user to nobody in /etc/crontab did not work. Dave -- Don't tell me I'm driving the cart! From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 16:05:16 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F3D2106568B for ; Thu, 2 Oct 2008 16:05:16 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id E507A8FC13 for ; Thu, 2 Oct 2008 16:05:15 +0000 (UTC) (envelope-from nino80@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so574723wag.27 for ; Thu, 02 Oct 2008 09:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=iqfXK2V3hQ9fb1DXEscvB6enThILD+9CKA8aoRSZlGI=; b=n/IzbL3oSpVu3Gzc36ZSfAXKccPlij6UtGzCY3W571CbIWjLSxQZNlwSSAn90cmK0j 6EdZGVfKNEvkWv5vyUkbHyMu5JQ347/OJhknQE2339RD2oBE53bWRNe4y3Qe8SqXRQa6 XEGsBimTwi3kR4t3ZtL9xCV8Z5hrOtLb3yodE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=IDpWxLZ1LX3aucvintaX7s0ASdzVjZusslJ+NDbDoDbZTYS87/nCCF/AkXn5SotP3Q 5Va8iQyCtZy4kRIeRT4iTsMVEo8dZlxU1+bxWyrdLwLlvac2DIUbgfy9EvNAMSlLO0ey /vTskUoIETb3cpL+sQkJUVCEHowSgjmvxldfc= Received: by 10.115.32.8 with SMTP id k8mr11015986waj.89.1222963515243; Thu, 02 Oct 2008 09:05:15 -0700 (PDT) Received: by 10.114.26.14 with HTTP; Thu, 2 Oct 2008 09:05:15 -0700 (PDT) Message-ID: <92bcbda50810020905r9b5788ayb41cffe65834cd1c@mail.gmail.com> Date: Thu, 2 Oct 2008 18:05:15 +0200 From: "n j" To: "FreeBSD Questions" In-Reply-To: <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DA7491.8030002@daleco.biz> <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> Subject: Re: nat and firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 16:05:16 -0000 >> This is no longer true; he did indeed find "firewall_nat_enable" >> in /etc/defaults/rc.conf. The knob seems to have first appeared >> in February in HEAD and I'm guessing it cues the system to use a >> new kernel-based nat rather than natd(8), but I've not read anything >> further about this, as my system isn't as up to date as the OP's. >> I don't know when this change was MFC'ed, but apparently fairly >> recently? > firewall_nat_* was added in the begenning of year in RELENG_7 > http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 > > This is two different ways to do NAT. I can't speak about performance, > kernel vs daemon. Apologies for jumping in another thread commenting on my own question, but I think the questions are very similar (see "Recompile kernel or module for ipfw+nat?", http://lists.freebsd.org/pipermail/freebsd-questions/2008-September/183418.html). It would seem that doing NAT with ipfw (in-kernel as opposed to using userland natd) is not possible in 7.0-RELEASE-p4 without recompiling the kernel to include IPDIVERT even though IPDIVERT was converted to loadable module way back. And I have doubts that even recompiling the kernel would help doing "ipfw add nat 123 all from any to any". However, I found the reason for that might be the following CVS commit message: # $FreeBSD: src/sys/modules/ipfw_nat/Makefile,v 1.1 2008/02/29 22:27:18 piso Exp $ "Move ipfw's nat code into its own kld: ipfw_nat." which got commited to RELENG_7 and HEAD only (explains why it doesn't work on my 7.0-RELEASE-p4). My guess is that this functionality is already available in 7.1-BETA since the code freeze began in September and ipfw nat code got committed in February. I can only guess if what I wrote above if correct, but I'll upgrade one machine to 7.1-BETA as soon as I get some spare time. Regards, -- Nino From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 16:54:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EFC81065691 for ; Thu, 2 Oct 2008 16:54:59 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id D10D88FC22 for ; Thu, 2 Oct 2008 16:54:58 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id m92Gsu4D086643; Thu, 2 Oct 2008 18:54:57 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 3B350B84E; Thu, 2 Oct 2008 18:54:56 +0200 (CEST) Date: Thu, 2 Oct 2008 18:54:56 +0200 From: Roland Smith To: Mike Clarke Message-ID: <20081002165456.GA91912@slackbox.xs4all.nl> References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <20081001204906.GD58548@slackbox.xs4all.nl> <200810021159.04926.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <200810021159.04926.jmc-freebsd2@milibyte.co.uk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 16:54:59 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 02, 2008 at 11:59:04AM +0100, Mike Clarke wrote: > On Wednesday 01 October 2008, Roland Smith wrote: >=20 > > On Wed, Oct 01, 2008 at 03:46:29PM +0100, Mike Clarke wrote: > > > I've just installed a Canon Pixma iP4500 on a 6.3 system using CUPS > > > and gutenprint. Black printing is fine but I've got problems with > > > colours. The colour wheel on the CUPS test page comes out as a > > > psychedelic collection of brightly coloured rings. If I print from > > > gimp then the correct colours appear but they are very dark and > > > "muddy". The colours start to look a bit more reasonable from the > > > gimp if I push the gamma value up to 2. > > > > Have you installed a .ppd file for this printer? This is a file that > > tells cups about the capabilities of this printer. >=20 > I'm using the ppd file bundled with cups=20 > (/usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP4500.5.= 1.ppd.gz). >=20 > > See > > http://www.linuxprinting.org/show_printer.cgi?recnum=3DCanon-PIXMA_IP43 > >00_OR_PIXMA_IP4500 > > > > I'm not sure if just installing the ppd file works. It does for my > > PostScript printer. >=20 > That didn't work for me. I couldn't find anywhere to download just the=20 > ppd file file so I downloaded cnijfilter-ip4500series_2.80-1_i386.deb=20 > from Canon's site and extracted the ppd file from that with tar. That=20 > failed with the message "Unable to=20 > execute /usr/local/libexec/cups/filter/pstocanonij: No such file or=20 > directory". Then I edited the cupsfilter line in the ppd file and=20 > replaced pstocanonij with rastertogutenprint.5.1 but that just resulted= =20 > in "Gutenprint Fatal error: Corrupted NickName attribute in PPD file". I was afraid that might happen. It needs a specific filter program. I'm assuming that pstocanonij is a binary-only Linux program? You could try getting it to work using FreeBSD's Linux emulation. =20 > Interestingly the CUPS test page=20 > (/usr/local/share/cups/data/testprint.ps) only produces the psychedelic= =20 > rings in the colour wheel if I print it from the local CUPS web page or= =20 > from KGhostView, if I open it with the gimp and print from there I get=20 > the correct colour pattern but with very muddy colours. Gimp uses Gutenprint doesn't it? So you could try using the gutenprint driv= er? My strategy is to try and avoid these troubles. Spend a bit more and get a printer that works with postscript. Those will work on any UNIX-like OS. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjk/OAACgkQEnfvsMMhpyXCzACgmEXZsKssSHtP7+sgnghWG/s3 Ag0An1D71iD2gFsMjXKEDTq9Q5PaOXxX =32x7 -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 16:58:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24AAE1065690 for ; Thu, 2 Oct 2008 16:58:31 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp108.prem.mail.ac4.yahoo.com (smtp108.prem.mail.ac4.yahoo.com [76.13.13.47]) by mx1.freebsd.org (Postfix) with SMTP id B4A888FC0A for ; Thu, 2 Oct 2008 16:58:30 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: (qmail 12880 invoked from network); 2 Oct 2008 16:58:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:X-Face:Mime-Version:Content-Type; b=FAkTUUzQKwoMhQLWuGAxjpYW90eOFiKZHxQXvB0QECnb/odDMRo+RgFLz0aWTbAfUerFnLPnlo6GVbjvuWaeEtoNBLDDeETpqRR2J8nY0nRHMJWludTTpk4VsUWFgpASCe7GZPxbBMgC/AX4SLYUKaoT64+rkkHyNU3iOWPmMu4= ; Received: from unknown (HELO scorpio) (gesbbb@67.189.233.182 with login) by smtp108.prem.mail.ac4.yahoo.com with SMTP; 2 Oct 2008 16:58:29 -0000 X-YMail-OSG: nC0YHQUVM1kA_FtSItKIxeBXsFlyicHVzeKxzUM.KDzjz4PQX5_Wyckv_BTh9T31DOsY8JT4wcm59GWGWVY5W3HjPjEt79pBBg_cCrHXBEdDWQdXHQVKhhQwmbdLRIPBkdySO2mKrQFRqaPoI5mCMnwd4bNCZ8f6uBa7wvQizaAFCUWu X-Yahoo-Newman-Property: ymail-3 Date: Thu, 2 Oct 2008 12:58:18 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20081002125818.561909c4@scorpio> In-Reply-To: <94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6@mail.gmail.com> References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> <20081002084811.6fe9a50d@scorpio> <94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6@mail.gmail.com> Organization: seibercom.net X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/CSBBaRuMddUUg.HOoNUt3Oy"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 16:58:31 -0000 --Sig_/CSBBaRuMddUUg.HOoNUt3Oy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 2 Oct 2008 14:51:26 +0200 "Zbigniew Szalbot" wrote: >No need to change log rotation software since the problem clearly is >somewhere else. You need to inspect Apache's error logs to see why it >cannot start. All the information on getting it working correctly is located here: http://httpd.apache.org/docs/1.3/logs.html#rotation --=20 Jerry gesbbb@yahoo.com "Surely you can't be serious." "I am serious, and don't call me Shirley." --Sig_/CSBBaRuMddUUg.HOoNUt3Oy Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjk/bMACgkQBvaKIJWWCO3DQwCfXE7U82cwHIERwWdsGdvQOX9r 4v4AnRPv/ZpvID/PyfvMwo7QfPSbnACZ =Oilt -----END PGP SIGNATURE----- --Sig_/CSBBaRuMddUUg.HOoNUt3Oy-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:04:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16AD1065691 for ; Thu, 2 Oct 2008 17:04:06 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E4E788FC15 for ; Thu, 2 Oct 2008 17:04:05 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m92H3vr4005605; Thu, 2 Oct 2008 19:03:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m92H3vVZ005602; Thu, 2 Oct 2008 19:03:57 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 2 Oct 2008 19:03:57 +0200 (CEST) From: Wojciech Puchar To: Kirk Strauser In-Reply-To: <200810020958.54563.kirk@strauser.com> Message-ID: <20081002190329.B5593@wojtek.tensor.gdynia.pl> References: <200810020958.54563.kirk@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:04:06 -0000 > > usable memory = 6428237824 (6130 MB) > avail memory = 6203797504 (5916 MB) > > However, most of it is just sitting there when it looks like it could be > used for buffers or cache: > > Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf, 138M Free > Swap: 8192M Total, 900K Used, 8191M Free i don't really know what it's actually are but "inact" are disk caches often. your files are cached From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:04:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E11C31065686 for ; Thu, 2 Oct 2008 17:04:06 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 92BBA8FC1C for ; Thu, 2 Oct 2008 17:04:06 +0000 (UTC) (envelope-from zszalbot@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so63907ana.13 for ; Thu, 02 Oct 2008 10:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pQrCip43T51l8RBM4MHZo1mCJm18nt9xfmYfz9BMZws=; b=HnjkqRrHz2pRMAKVOK3RuyDiKEpb6J5nlocBT1fzooss4WNhGet/VZhA9tsrNhSLnV BzfTe1ZSv8XvkhaSuWBkygPX1FGpepo6rnD16mCcJ5FfNCuQsZeYG/Tbyz16GSes74yK coV5OAISfrXV8kpPhjgLplAdlN0XdZthnT0Tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=eEKaA9Xe0k6oPQmWiTVe+d6E+L//hfFATEbSqEVI0wcyrtbQWjxRGdMAjBGEMbG7wf FwxjWp7IvCdeqiEgxdVkJOoxiXrX2gCFG+ZMs1ysPeXFDycASrD0ee/vy3zQYppfGlc9 8hw3eTUxL1Ao8jKCB2YfnSCKVA3YTxpd6sjME= Received: by 10.65.112.18 with SMTP id p18mr17145624qbm.38.1222967044783; Thu, 02 Oct 2008 10:04:04 -0700 (PDT) Received: by 10.64.112.18 with HTTP; Thu, 2 Oct 2008 10:04:04 -0700 (PDT) Message-ID: <94136a2c0810021004i3f826087pb9eb701a9a30b74d@mail.gmail.com> Date: Thu, 2 Oct 2008 19:04:04 +0200 From: "Zbigniew Szalbot" To: freebsd-questions@freebsd.org In-Reply-To: <20081002125818.561909c4@scorpio> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> <20081002084811.6fe9a50d@scorpio> <94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6@mail.gmail.com> <20081002125818.561909c4@scorpio> Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:04:07 -0000 2008/10/2 Jerry : > On Thu, 2 Oct 2008 14:51:26 +0200 > "Zbigniew Szalbot" wrote: > >>No need to change log rotation software since the problem clearly is >>somewhere else. You need to inspect Apache's error logs to see why it >>cannot start. > > All the information on getting it working correctly is located here: > > http://httpd.apache.org/docs/1.3/logs.html#rotation But he clearly stated: "I alos see that 'apachectl restart' stops apache but it doesn't restart." So I guess first thing is to check why apachectl does not restart the server. -- Zbigniew Szalbot From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:04:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFCF1065687 for ; Thu, 2 Oct 2008 17:04:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD948FC19 for ; Thu, 2 Oct 2008 17:04:29 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m92H4PwK005613; Thu, 2 Oct 2008 19:04:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m92H4P1i005610; Thu, 2 Oct 2008 19:04:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 2 Oct 2008 19:04:25 +0200 (CEST) From: Wojciech Puchar To: Kirk Strauser In-Reply-To: <200810021004.56210.kirk@strauser.com> Message-ID: <20081002190409.M5593@wojtek.tensor.gdynia.pl> References: <200810020958.54563.kirk@strauser.com> <200810021004.56210.kirk@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:04:30 -0000 > Mem: 482M Active, 1044M Inact, 363M Wired, 3792K Cache, 214M Buf, 4023M Free > Swap: 8192M Total, 8192M Free > > I can understand that on the other machine maybe inactive memory is more > beneficial than cache or buffers, but this system is just sitting there > with 4GB free (and the exact same amount of buffer memory as on the other, > which seems a little too coincidental). > -- just more files was not read already :) From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:06:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C10F1065692; Thu, 2 Oct 2008 17:06:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 622428FC14; Thu, 2 Oct 2008 17:06:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m92H6P3E005643; Thu, 2 Oct 2008 19:06:25 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m92H6O3w005640; Thu, 2 Oct 2008 19:06:24 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 2 Oct 2008 19:06:24 +0200 (CEST) From: Wojciech Puchar To: Josh Paetzel In-Reply-To: <48E446CD.3090608@FreeBSD.org> Message-ID: <20081002190449.O5593@wojtek.tensor.gdynia.pl> References: <1222681181.48e0a25d094c3@www.inbox.lv> <48E21C66.8080407@FreeBSD.org> <20080930161407.E16761@wojtek.tensor.gdynia.pl> <20080930205435.B20033@wojtek.tensor.gdynia.pl> <00ee01c92346$69508fa0$3bf1aee0$@com> <20080930224447.GA58065@icarus.home.lan> <20081001083637.C7317@wojtek.tensor.gdynia.pl> <48E33CC6.7050504@infracaninophile.co.uk> <20081001111911.U8258@wojtek.tensor.gdynia.pl> <48E446CD.3090608@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Danny Do , Jeremy Chadwick , freebsd-questions@freebsd.org Subject: Re: Optimal File System config for 2.5TB RAID5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:06:31 -0000 > The 3ware 9690SA outperforms gmirror and can be had in 4 port with the did you made tests comparing it with gmirror with the same config? > battery for $600 or so. 8 port with a battery is closer to $1000 > > Hardware RAID gets you boot support from stripes, already said what should be done. > email alerts for RAID smartmontools... of course - if someone is happy spending money for such things - it's OK, their manufacturers are happy too. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:14:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89AEB106568C for ; Thu, 2 Oct 2008 17:14:37 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 58CF58FC22 for ; Thu, 2 Oct 2008 17:14:37 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 5C46AEBC3F; Thu, 2 Oct 2008 13:14:36 -0400 (EDT) Date: Thu, 2 Oct 2008 13:14:35 -0400 From: Bill Moran To: Kirk Strauser Message-Id: <20081002131435.efa1d07f.wmoran@potentialtech.com> In-Reply-To: <200810021004.56210.kirk@strauser.com> References: <200810020958.54563.kirk@strauser.com> <200810021004.56210.kirk@strauser.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:14:37 -0000 In response to Kirk Strauser : > On Thursday 02 October 2008, Kirk Strauser wrote: > > > I have an AMD system with 6GB of RAM. From dmesg: > > > > usable memory = 6428237824 (6130 MB) > > avail memory = 6203797504 (5916 MB) > > > > However, most of it is just sitting there when it looks like it could be > > used for buffers or cache: > > On another AMD64 machine, also with 6GB of RAM, I have: > > Mem: 482M Active, 1044M Inact, 363M Wired, 3792K Cache, 214M Buf, 4023M Free > Swap: 8192M Total, 8192M Free > > I can understand that on the other machine maybe inactive memory is more > beneficial than cache or buffers, but this system is just sitting there > with 4GB free (and the exact same amount of buffer memory as on the other, > which seems a little too coincidental). inactive, cache, and buffer are all different types of "buffer". I've never been 100% clear on the exact differences, but it basically has to do with where the data in RAM came from. Depending on whether it was a VM page, or a disk page will determine what bucket it goes into when it moves out of active. I'm fairly sure that inactive is memory used by program code. When the program terminates, the memory is marked as inactive, which means the next time the program starts the code can simply be moved back to active and the program need not be reloaded from disk. Buffer and cache memory are disk data held at different points within the kernel. I've never been 100% clear on the difference, and I believe it depends heavily on a thorough understanding of how the kernel works. The other rule of thumb I've heard is that the closer memory is to the left side of top output, the less expensive it is for the kernel to move it to active ... inactive being the most efficient and cache requiring the most work by the kernel ... I could be wrong, though. I know that a lot of what I'm saying isn't authoritative, so I hope I'm not remembering any of this wrong. I think to fully understand how it works you'll need to read _The_Design_and_Implementation_. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:40:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C80B61065687 for ; Thu, 2 Oct 2008 17:40:10 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5979D8FC17 for ; Thu, 2 Oct 2008 17:40:09 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so348473eyi.7 for ; Thu, 02 Oct 2008 10:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=Nkpexmf1W+5v6b2qynh9Kn75+psEwHfLcdq52SFP3Tk=; b=YVy6JQp6CvRGNNglXzyt9YmjwAZO8cQ0atkVnbIYAjkvckO8OgCyfb8SggM8nRmt93 cy+d3OOjEM058l6RZ+Km3LGYm652y/Tkrk9FuV4SX3VhyYBvIS3ej2swv1/xjJ/LnAef zU/z6khEcoLUWG8Xo+mPVEE/d+MXZFlJGAfcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=qpQzG1AxvVXv7/iW2bTXHHE5ezvZqLyS9jk2cy4dmI53kRLNUVRMZwSwSvihF/Dqri Cxfh5t5CsFGTAzGzvTc66hf+TgQn9LfnXD7E8KUtRXQcuHVSwjYUeP94I6+aGOhoYWMv TCT5Md84aJ/2RtFcgf+T8b0yWJfm4d6pPm5tQ= Received: by 10.103.243.7 with SMTP id v7mr7007854mur.24.1222967954579; Thu, 02 Oct 2008 10:19:14 -0700 (PDT) Received: from ?192.168.0.194? ([86.120.24.220]) by mx.google.com with ESMTPS id y37sm2826346mug.13.2008.10.02.10.19.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Oct 2008 10:19:13 -0700 (PDT) Message-ID: <48E50299.3040808@gmail.com> Date: Thu, 02 Oct 2008 20:19:21 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: mysqldump no match 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: Thu, 02 Oct 2008 17:40:10 -0000 Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases > backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I use the command: mysqldump -u root -p --all-databases >backup.sql I get the password prompt, I type the passwd and everythig works great. It seems that there is a problem with -p, i've tried --password with same result. If anyone has any ideea please let me know about it. I mention that i use Freebsd 7_0 and mysql 5.0.67 Thank you -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:44:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 197611065730 for ; Thu, 2 Oct 2008 17:44:24 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id E83348FC21 for ; Thu, 2 Oct 2008 17:44:23 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 31037 invoked from network); 2 Oct 2008 17:44:23 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Oct 2008 17:44:23 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A4F3B2845C; Thu, 2 Oct 2008 13:44:21 -0400 (EDT) To: "DSA - JCR" References: <54674.217.114.136.134.1222857247.squirrel@mail.dsa.es> From: Lowell Gilbert Date: Thu, 02 Oct 2008 13:44:21 -0400 In-Reply-To: <54674.217.114.136.134.1222857247.squirrel@mail.dsa.es> (DSA's message of "Wed\, 1 Oct 2008 10\:34\:07 -0000 \(GMT\)") Message-ID: <44iqsayjre.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Securing system with kern.securelevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:44:24 -0000 "DSA - JCR" writes: > I would like to use securelevel to secure a backup schedluded box made > with FreeBSD. > > This box mount and unmount external USB disk where the backup is made once > a week. In that case, you can't set the securelevel higher than 1. > Which would be the correct secure level ? 1, 2, or 3? 0 or 1. > I don't want nobody modify scripts and root things, like adding a user to > make the thing by itself, ... or modify my crontab scripts, etc... Is this a machine that typically has users logging into it? If not, I would concentrate on securing the login procedures available rather than working on limiting the abilities of accounts once they have access to the machine. Securelevel is useful in a fairly narrow range of situations: some of the less obvious are that you have to be sure that you will notice quickly if the machine reboots, and the machine has to be physically secure. > Also, where i must put the kern.securelevel? Set it in rc.conf. > I didnt understood very well in the manual and handbook in which part of > the bootin process (rc) i must put the line in rc.conf? See the manual for rc.conf(5). You will want the kern_securelevel_enable and kern_securelevel variables. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 17:44:52 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD12810656B5 for ; Thu, 2 Oct 2008 17:44:52 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.189]) by mx1.freebsd.org (Postfix) with ESMTP id 40D5C8FC1A for ; Thu, 2 Oct 2008 17:44:52 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so210997gve.39 for ; Thu, 02 Oct 2008 10:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=dAWyAW179D7yTX3dD0Elxkh5zqTjlTeDgM3X78mInsc=; b=P9IqLRnvNZP9W6Ovpt8RHgaJX02DoJw75K6gZ0GnasQTnta/xtnUGuURVPRVBPC3DL 2eDsVY05xZCosSStyqR26EsnH0uKKHdWnCd6f8Rb7Vi5ayzLmAYioYvPe5Wc/TYTGQrS zBkaAZPcA708z9vJ4t9SDrUMthrhEmng5tSok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=bGagJNh/mSxa+GCg3Djd0czXNNFgOyRJSFT+LfMESLWTj37i3/JRgRd/+mbZlKF7OS mGPzQs6hqlcuoTLfJ4rADIFmIIoL5NqKmAj4GsqvP4ECL+xB0E21CbDGVntQSSTrWSuT Miyi7OFFlv0vW6csWWlon8hd3Dh1mjxjxQF8I= Received: by 10.102.253.6 with SMTP id a6mr6955963mui.92.1222967525657; Thu, 02 Oct 2008 10:12:05 -0700 (PDT) Received: from ?192.168.0.194? ([86.120.24.220]) by mx.google.com with ESMTPS id i5sm7487258mue.11.2008.10.02.10.12.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Oct 2008 10:12:04 -0700 (PDT) Message-ID: <48E500EC.9010100@gmail.com> Date: Thu, 02 Oct 2008 20:12:12 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 17:44:52 -0000 Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases > backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I use the command: mysqldump -u root -p --all-databases >backup.sql I get the password prompt, I type the passwd and everythig works great. It seems that there is a problem with -p, i've tried --password with same result. If anyone has any ideea please let me know about it. I mention that i use Freebsd 7_0 and mysql 5.0.67 Thank you -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 18:05:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3017106568B for ; Thu, 2 Oct 2008 18:05:04 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id A8F638FC1A for ; Thu, 2 Oct 2008 18:05:04 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 90437 invoked by uid 1008); 2 Oct 2008 18:39:37 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 2 Oct 2008 18:39:37 -0000 Message-ID: <48E5070D.8050400@el.net> Date: Thu, 02 Oct 2008 13:38:21 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ssh jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 18:05:05 -0000 hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that? thanks... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 18:09:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960BF1065687 for ; Thu, 2 Oct 2008 18:09:57 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 452458FC25 for ; Thu, 2 Oct 2008 18:09:56 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by gxk14 with SMTP id 14so1693551gxk.19 for ; Thu, 02 Oct 2008 11:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+FV8WzDbDCkAWj5XMU8JUFRfvNdSaqSqGT3JfxxavyY=; b=Gz4P4bT6lwHxBbb46LNIHrxMqacAZI4jgkK067cDOFocEJw1t4fL3Fvnnr4ilvlDjg 89YFwur6a3DW8qy+RCLk+kcwow3V09kBQfOsRo7fHn1aLiMv3vBnvAHxieVDEC9hilYh MS4Wa9uI4TF59vvpezTUQnSiAOQrhvNnMoZRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=ZK84nVz0nybZOAI8YS0rpGqt1ZPH8n46Zvz/18oj8E3Id1kVJQyBELKlE70TmuCg3N h/nT3eR0r/2NTaShAtdWzfCsNlXegPraPxM9S7sIdnN8R5cIQjQV8PoSvXvAJUeUFye/ cBsvEcIUKkO384isLEC4HARLEJ7fYnuIvwpc4= Received: by 10.151.142.2 with SMTP id u2mr172689ybn.141.1222970996417; Thu, 02 Oct 2008 11:09:56 -0700 (PDT) Received: by 10.151.11.21 with HTTP; Thu, 2 Oct 2008 11:09:56 -0700 (PDT) Message-ID: <8cb6106e0810021109m7a82d3d3j7e29f9e0ba406e13@mail.gmail.com> Date: Thu, 2 Oct 2008 14:09:56 -0400 From: "Josh Carroll" To: "Bill Moran" In-Reply-To: <20081002131435.efa1d07f.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810020958.54563.kirk@strauser.com> <200810021004.56210.kirk@strauser.com> <20081002131435.efa1d07f.wmoran@potentialtech.com> Cc: freebsd-questions@freebsd.org Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 18:09:57 -0000 > inactive, cache, and buffer are all different types of "buffer". That is my understanding as well. > I'm fairly sure that inactive is memory used by program code. When the > program terminates, the memory is marked as inactive, which means the > next time the program starts the code can simply be moved back to > active and the program need not be reloaded from disk. I think non-program code can also be "inactive". For example, top memory output before: Mem: 337M Active, 1455M Inact, 407M Wired, 352K Cache, 214M Buf, 1745M Free and after: find /usr/src -type f -print0 | xargs -0 cat > /dev/null 2>&1 Mem: 348M Active, 1905M Inact, 402M Wired, 912K Cache, 214M Buf, 1288M Free I am also not sure exactly what constitutes each of these. I only know what the top man page says. And for Buf it says: Buf: number of pages used for BIO-level disk caching I'm not entirely sure what "BIO-level disk caching" is, but it is apparently NOT the caching of filesystem data. Josh From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 18:34:43 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79C64106568B for ; Thu, 2 Oct 2008 18:34:43 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 380948FC1B for ; Thu, 2 Oct 2008 18:34:42 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from adsl-89-217-215-4.adslplus.ch ([89.217.215.4] helo=gahrtop.gahr.ch) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KlT0b-0007pz-VG; Thu, 02 Oct 2008 20:34:42 +0200 Message-ID: <48E51421.2040407@FreeBSD.org> Date: Thu, 02 Oct 2008 20:34:09 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Andrei Brezan References: <48E500EC.9010100@gmail.com> In-Reply-To: <48E500EC.9010100@gmail.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 18:34:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Andrei Brezan wrote: | Hello list, | | I wanna do a | mysqldump -u user -ppasswd --all-databases > backup.sql | | and all I get is | mysqldump: No match. | | This happens either i put --all-databases or I specify any of the | databases. I want to do a backup as user root, that's why I use | all-databases opt. | | If I use the command: | mysqldump -u root -p --all-databases >backup.sql | I get the password prompt, I type the passwd and everythig works great. | It seems that there is a problem with -p, i've tried --password with | same result. | | If anyone has any ideea please let me know about it. | I mention that i use Freebsd 7_0 and mysql 5.0.67 Same MySQL version here, but running CURRENT. Everything works fine.. | | Thank you | | - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkjlFCAACgkQwMJqmJVx947dzgCgmOM46RQWS+lTEHXHd/wXkZUX Uz8AoJEkwynwlaH9rMjRxgp7Xvja82M1 =On8Y -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 19:01:10 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 644D61065686 for ; Thu, 2 Oct 2008 19:01:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id DBB8C8FC1D for ; Thu, 2 Oct 2008 19:01:09 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m92J11xq095214; Thu, 2 Oct 2008 20:01:02 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m92J11xq095214 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222974062; bh=j8nOoRLF4qZ+jY 4EY2OnqvgCJDxE4VX339AR8zK8THc=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E51A66.7050507@infracaninophile.co.uk>|Date:=20Thu,=2 002=20Oct=202008=2020:00:54=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201 .0|To:=20Andrei=20Brezan=20|CC:=20questions@fr eebsd.org|Subject:=20Re:=20Mysqldump=20password=20issue|References: =20<48E500EC.9010100@gmail.com>|In-Reply-To:=20<48E500EC.9010100@gm ail.com>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/sig ned=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp -signature"=3B=0D=0A=20boundary=3D"------------enigC27C910D028914A8 431440D3"; b=otb79gCdSRqCW8vMX9S/lQ1OaAbPXjobvC3dShsxdEu1IWLZ/8SPGt c4v4TQ2trWHwqXd0jvrGqe39F/NhLJNxDQOdbIwyvsz8yOIBY0OESEvta4bFBecX8zm JqZQr7F1pm+eJILq8LOuMwu7TQmVeG0eRl2BRqy7NmriqYG95g= Message-ID: <48E51A66.7050507@infracaninophile.co.uk> Date: Thu, 02 Oct 2008 20:00:54 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Andrei Brezan References: <48E500EC.9010100@gmail.com> In-Reply-To: <48E500EC.9010100@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC27C910D028914A8431440D3" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 02 Oct 2008 20:01:02 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8372/Thu Oct 2 16:21:47 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 19:01:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC27C910D028914A8431440D3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Andrei Brezan wrote: > Hello list, >=20 > I wanna do a > mysqldump -u user -ppasswd --all-databases > backup.sql >=20 > and all I get is > mysqldump: No match. >=20 > This happens either i put --all-databases or I specify any of the > databases. I want to do a backup as user root, that's why I use > all-databases opt. >=20 > If I use the command: > mysqldump -u root -p --all-databases >backup.sql > I get the password prompt, I type the passwd and everythig works great.= > It seems that there is a problem with -p, i've tried --password with > same result. >=20 > If anyone has any ideea please let me know about it. > I mention that i use Freebsd 7_0 and mysql 5.0.67 >=20 My guess is that the password (which you've obviously elided) contains characters of syntactic significance to the shell. Any of the following will lead to wailing and gnashing of teeth: * ? [ < > & ; ! | $ Probably others as well. The general way to get round this is to put 'quote' marks around your password -- but this will only work if the password is a separate word on the command line -- ie. whitespace between it and any other tokens. I believe that the '-p' flag to MySQL is a bit painful in that regard as it doesn't allow whitespace between itself and the password. Hmmm... untested, but it should work if you just quote around the -p like so: '-ppassword'. Alternatively, just change the password to one containing less troublesome characters: a-zA-Z0-9:@#~+=3D-_^%., I recommend use of 'apg' to generate randomised but strangely memorable passwords. Oh, and simply making the password longer makes it much more secure even if you're limited to a relatively small alphabet. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigC27C910D028914A8431440D3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjlGm0ACgkQ8Mjk52CukIxeZQCfbNly1kruTqDuck61u+qYsf5x KekAoIu2lyfWgLMWoaMe9Np/Qi7aJaqw =aqwv -----END PGP SIGNATURE----- --------------enigC27C910D028914A8431440D3-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 19:05:13 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7AE61065687 for ; Thu, 2 Oct 2008 19:05:13 +0000 (UTC) (envelope-from bmettee@pchotshots.com) Received: from mail.pchotshots.com (mail.pchotshots.com [12.172.123.237]) by mx1.freebsd.org (Postfix) with SMTP id 8A5C28FC08 for ; Thu, 2 Oct 2008 19:05:13 +0000 (UTC) (envelope-from bmettee@pchotshots.com) Received: (qmail 99569 invoked by uid 89); 2 Oct 2008 18:38:50 -0000 Received: from unknown (HELO dev2.pchotshots.com) (bmettee@12.172.123.228) by mail.pchotshots.com with ESMTPA; 2 Oct 2008 18:38:50 -0000 Message-Id: <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com> X-Sender: bmettee@pchotshots.com@mail.pchotshots.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 02 Oct 2008 14:38:32 -0400 To: questions@freebsd.org From: Brad Mettee In-Reply-To: <48E51421.2040407@FreeBSD.org> References: <48E500EC.9010100@gmail.com> <48E500EC.9010100@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 19:05:13 -0000 Shouldn't there be a space between -p and the password? Like this: mysqldump -u user -p passwd --all-databases > backup.sql At 02:34 PM 10/2/2008, you wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA512 > >Andrei Brezan wrote: >| Hello list, >| >| I wanna do a >| mysqldump -u user -ppasswd --all-databases > backup.sql >| >| and all I get is >| mysqldump: No match. >| >| This happens either i put --all-databases or I specify any of the >| databases. I want to do a backup as user root, that's why I use >| all-databases opt. >| >| If I use the command: >| mysqldump -u root -p --all-databases >backup.sql >| I get the password prompt, I type the passwd and everythig works great. >| It seems that there is a problem with -p, i've tried --password with >| same result. >| >| If anyone has any ideea please let me know about it. >| I mention that i use Freebsd 7_0 and mysql 5.0.67 > >Same MySQL version here, but running CURRENT. Everything works fine.. > >| >| Thank you >| >| > > >- -- >Pietro Cerutti >gahr@FreeBSD.org > >PGP Public Key: >http://gahr.ch/pgp > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v2.0.9 (FreeBSD) > >iEYEAREKAAYFAkjlFCAACgkQwMJqmJVx947dzgCgmOM46RQWS+lTEHXHd/wXkZUX >Uz8AoJEkwynwlaH9rMjRxgp7Xvja82M1 >=On8Y >-----END PGP SIGNATURE----- >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 19:17:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3FD8106568C for ; Thu, 2 Oct 2008 19:17:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0708FC25 for ; Thu, 2 Oct 2008 19:17:17 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id m92JH8fi095885; Thu, 2 Oct 2008 20:17:09 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.7.2 smtp.infracaninophile.co.uk m92JH8fi095885 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1222975029; bh=dBMyfVOcbS6jVM BDgfO3/ohAW8n1x3s26NMC/0469b8=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<48E51E2E.90500@infracaninophile.co.uk>|Date:=20Thu,=200 2=20Oct=202008=2020:17:02=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User-A gent:=20Thunderbird=202.0.0.17=20(X11/20080929)|MIME-Version:=201.0 |To:=20kalin=20m=20|CC:=20freebsd-questions@freebsd.o rg|Subject:=20Re:=20ssh=20jail|References:=20<48E5070D.8050400@el.n et>|In-Reply-To:=20<48E5070D.8050400@el.net>|X-Enigmail-Version:=20 0.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B =0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary =3D"------------enig8FD55FBC995DE8AD1C0091CD"; b=SiS5zTku0Mjyucz5Mn p0/YWzCZbBwvGnYvUSSXWcKMZm/LvgmKjrf4ZtKVnst64P1du7Z01MtcSsmHjpIhNro 71ADtkZXMKZk1Qm2D8QZFmDTDMbIvI4ZsF0a5nzItpor811ytWNX9FaW/7JRZrx0q8X +dzljYrlZ5AAcWJ9cXs= Message-ID: <48E51E2E.90500@infracaninophile.co.uk> Date: Thu, 02 Oct 2008 20:17:02 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: kalin m References: <48E5070D.8050400@el.net> In-Reply-To: <48E5070D.8050400@el.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8FD55FBC995DE8AD1C0091CD" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 02 Oct 2008 20:17:09 +0100 (BST) X-Virus-Scanned: ClamAV 0.94/8372/Thu Oct 2 16:21:47 2008 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ssh jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 19:17:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8FD55FBC995DE8AD1C0091CD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable kalin m wrote: >=20 > hi all... >=20 > i have openssh 5. i want to jail the users to their home directories so= =20 > they can go down but not up. >=20 > i didn't see a directive that does that in the man or in the sshd_confi= g. >=20 > how do i do that? You need a specially patched version of OpenSSH. You can download the patches from here: http://chrootssh.sourceforge.net/download/ and try patching the system sources. If you're not an experienced developer wise in the ways of patch(1) and diff(1) and make(1) this definitely isn't a good idea especially for something as security sensitive as OpenSSH. Realistically, just install the security/openssh-portable port and make sure to check the 'OPENSSH_CHROOT' box in the config dialog. Note: if you choose to select the 'OVERWRITE_BASE' option, be sure to disable building ssh in the base system by making the appropriate entries in /etc/src.conf (see src.conf(5)) or otherwise ensure that whatever system update mechanism you use won't accidentally blow away your specially patched ssh daemon. If you don't overwrite the base system, then double check that the init scripts are starting up the openssh-portable version. You'll need at least this in /etc/rc.conf: sshd_enable=3D"NO" openssh_enable=3D"YES" Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig8FD55FBC995DE8AD1C0091CD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkjlHjQACgkQ8Mjk52CukIx8hACgkxPwEQ9yldjr3z23hkywhSH/ fmwAoJKwNeqnyeTeWB82y3ueEfsWohP7 =Zuc6 -----END PGP SIGNATURE----- --------------enig8FD55FBC995DE8AD1C0091CD-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 20:00:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3773910656B6 for ; Thu, 2 Oct 2008 20:00:10 +0000 (UTC) (envelope-from kalin@el.net) Received: from mail.el.net (mail.el.net [64.81.218.253]) by mx1.freebsd.org (Postfix) with ESMTP id BD6EA8FC3E for ; Thu, 2 Oct 2008 20:00:09 +0000 (UTC) (envelope-from kalin@el.net) Received: (qmail 35980 invoked by uid 1008); 2 Oct 2008 21:01:24 -0000 Received: from unknown (HELO kalins-macbook-pro.local) (kalin@el.net@74.1.12.115) by mail.el.net with ESMTPA; 2 Oct 2008 21:01:24 -0000 Message-ID: <48E52848.701@el.net> Date: Thu, 02 Oct 2008 16:00:08 -0400 From: kalin m User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Matthew Seaman References: <48E5070D.8050400@el.net> <48E51E2E.90500@infracaninophile.co.uk> In-Reply-To: <48E51E2E.90500@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ssh jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 20:00:10 -0000 thanks.. i'll look at the patches.... Matthew Seaman wrote: > kalin m wrote: >> >> hi all... >> >> i have openssh 5. i want to jail the users to their home directories >> so they can go down but not up. >> >> i didn't see a directive that does that in the man or in the >> sshd_config. >> >> how do i do that? > > You need a specially patched version of OpenSSH. You can download > the patches from here: > > http://chrootssh.sourceforge.net/download/ > > and try patching the system sources. If you're not an experienced > developer wise in the ways of patch(1) and diff(1) and make(1) this > definitely isn't a good idea especially for something as security > sensitive as OpenSSH. > > Realistically, just install the security/openssh-portable port and > make sure to check the 'OPENSSH_CHROOT' box in the config dialog. > Note: if you choose to select the 'OVERWRITE_BASE' option, be sure > to disable building ssh in the base system by making the appropriate > entries in /etc/src.conf (see src.conf(5)) or otherwise ensure that > whatever system update mechanism you use won't accidentally blow away > your specially patched ssh daemon. > > If you don't overwrite the base system, then double check that the > init scripts are starting up the openssh-portable version. You'll > need at least this in /etc/rc.conf: > > sshd_enable="NO" > openssh_enable="YES" > > Cheers, > > Matthew > From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 20:16:07 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A446106568C for ; Thu, 2 Oct 2008 20:16:07 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id D72768FC16 for ; Thu, 2 Oct 2008 20:16:06 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so1106237uge.39 for ; Thu, 02 Oct 2008 13:16:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=qZ3KuRTc6lXbVCAcaaU0zFkc9ZuwBH1bYWEDcVCLj4c=; b=lSd7aGrhLh/NRnoG+0Vv//hkb9PwjQjHKQD55MQ9QQZ1gmIKFYCiY4i5UHwk40xo42 Ynv/LrAq6vQXx7QRXm2LJYXzNxQ7SHagO9dVXYR7F6LDpVBvQuzoP877Z6Gx9A7ehUFW WjTuy1dA7FijA3Wdx6gSz5LM2sFMcOXrHcA/A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=IfWpsaTFuIWwaTn8U/SWi5b1cBr92NOSZurDg/ENSalDq5A83I9zWM3xjPKA2jqvzV Ca4i1YpR6hqPxqERWJa/q3XhmHCxxAhOd6llJBoVlP5Z2Nj/VAGL+/HktKNGKxhkZXjU DDENfer8BItCcOkyjW6deOklphVqKcQ1YQ9mE= Received: by 10.103.239.5 with SMTP id q5mr51802mur.58.1222978564720; Thu, 02 Oct 2008 13:16:04 -0700 (PDT) Received: from ?192.168.0.194? ([86.120.24.220]) by mx.google.com with ESMTPS id i5sm8570971mue.11.2008.10.02.13.16.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Oct 2008 13:16:03 -0700 (PDT) Message-ID: <48E52C0C.8030300@gmail.com> Date: Thu, 02 Oct 2008 23:16:12 +0300 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: questions@freebsd.org References: <48E500EC.9010100@gmail.com> <48E51A66.7050507@infracaninophile.co.uk> In-Reply-To: <48E51A66.7050507@infracaninophile.co.uk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 20:16:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Seaman wrote: > Andrei Brezan wrote: >> Hello list, >> >> I wanna do a >> mysqldump -u user -ppasswd --all-databases > backup.sql >> >> and all I get is >> mysqldump: No match. >> >> This happens either i put --all-databases or I specify any of the >> databases. I want to do a backup as user root, that's why I use >> all-databases opt. >> >> If I use the command: >> mysqldump -u root -p --all-databases >backup.sql >> I get the password prompt, I type the passwd and everythig works great. >> It seems that there is a problem with -p, i've tried --password with >> same result. >> >> If anyone has any ideea please let me know about it. >> I mention that i use Freebsd 7_0 and mysql 5.0.67 >> > > My guess is that the password (which you've obviously elided) contains > characters of syntactic significance to the shell. Any of the following > will lead to wailing and gnashing of teeth: > > * ? [ < > & ; ! | $ > > Probably others as well. The general way to get round this is to > put 'quote' marks around your password -- but this will only work if > the password is a separate word on the command line -- ie. whitespace > between it and any other tokens. I believe that the '-p' flag to MySQL > is a bit painful in that regard as it doesn't allow whitespace between > itself and the password. Hmmm... untested, but it should work if you > just quote around the -p like so: '-ppassword'. > > Alternatively, just change the password to one containing less > troublesome characters: a-zA-Z0-9:@#~+=-_^%., I recommend use of > 'apg' to generate randomised but strangely memorable passwords. Oh, > and simply making the password longer makes it much more secure even > if you're limited to a relatively small alphabet. > > Cheers, > > Matthew > Thank you Matthew, you were right. My password contains special characters. It works now with '-ppasswd' or with --password='passwd' - -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjlLAwACgkQUmw8msqk48YKugCfasoH9/cfo/xgss7wmuAIlnK6 xS8An0idODUSkUnwKLlRKYKqoCQ5Cy3P =UQ5J -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 20:34:18 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF13910656B8 for ; Thu, 2 Oct 2008 20:34:18 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from sushi.quinn.com (sushi.quinn.com [216.27.181.95]) by mx1.freebsd.org (Postfix) with ESMTP id 6578B8FC15 for ; Thu, 2 Oct 2008 20:34:18 +0000 (UTC) (envelope-from fcondo@quinn.com) Received: from [192.168.1.100] (cpe-76-170-216-193.socal.res.rr.com [76.170.216.193]) (authenticated bits=0) by sushi.quinn.com (8.14.2/8.14.2) with ESMTP id m92KDiVx088603 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 2 Oct 2008 13:13:44 -0700 (PDT) (envelope-from fcondo@quinn.com) Message-Id: <55808659-9401-4D7A-8565-D7851D8E1F0B@quinn.com> From: Fred Condo To: Andrei Brezan In-Reply-To: <48E51A66.7050507@infracaninophile.co.uk> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 2 Oct 2008 13:13:43 -0700 References: <48E500EC.9010100@gmail.com> <48E51A66.7050507@infracaninophile.co.uk> X-Mailer: Apple Mail (2.929.2) Cc: questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 20:34:18 -0000 On Oct 2, 2008, at 12:00 PM, Matthew Seaman wrote: > Andrei Brezan wrote: >> Hello list, >> I wanna do a >> mysqldump -u user -ppasswd --all-databases > backup.sql >> and all I get is >> mysqldump: No match. >> This happens either i put --all-databases or I specify any of the >> databases. I want to do a backup as user root, that's why I use >> all-databases opt. >> If I use the command: >> mysqldump -u root -p --all-databases >backup.sql >> I get the password prompt, I type the passwd and everythig works >> great. >> It seems that there is a problem with -p, i've tried --password with >> same result. >> If anyone has any ideea please let me know about it. >> I mention that i use Freebsd 7_0 and mysql 5.0.67 > > My guess is that the password (which you've obviously elided) contains > characters of syntactic significance to the shell. Any of the > following > will lead to wailing and gnashing of teeth: > > * ? [ < > & ; ! | $ > > Probably others as well. The general way to get round this is to > put 'quote' marks around your password -- but this will only work if > the password is a separate word on the command line -- ie. whitespace > between it and any other tokens. I believe that the '-p' flag to > MySQL > is a bit painful in that regard as it doesn't allow whitespace between > itself and the password. Hmmm... untested, but it should work if you > just quote around the -p like so: '-ppassword'. > > Alternatively, just change the password to one containing less > troublesome characters: a-zA-Z0-9:@#~+=-_^%., I recommend use of > 'apg' to generate randomised but strangely memorable passwords. Oh, > and simply making the password longer makes it much more secure even > if you're limited to a relatively small alphabet. If consistent with your security policies, you can store the password in your ~/.my.cnf file: [client] user=db_user password=funny&password From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 22:32:51 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D85A106568E for ; Thu, 2 Oct 2008 22:32:51 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id C5C5B8FC21 for ; Thu, 2 Oct 2008 22:32:50 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from adsl-89-217-215-4.adslplus.ch ([89.217.215.4] helo=gahrtop.gahr.ch) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KlWj2-0001iJ-Qe; Fri, 03 Oct 2008 00:32:48 +0200 Message-ID: <48E54BEF.4010608@FreeBSD.org> Date: Fri, 03 Oct 2008 00:32:15 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (X11/20081002) MIME-Version: 1.0 To: Brad Mettee References: <48E500EC.9010100@gmail.com> <48E500EC.9010100@gmail.com> <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com> In-Reply-To: <4.3.2.7.2.20081002143717.0377a950@mail.pchotshots.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 22:32:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Brad Mettee wrote: | Shouldn't there be a space between -p and the password? Like this: | | mysqldump -u user -p passwd --all-databases > backup.sql ~From the man page: The password to use when connecting to the server. If you use the short option form (-p), you cannot have a space between the option and the password. If you omit the password value following the - --password or -p option on the command line, you are prompted for one. | | At 02:34 PM 10/2/2008, you wrote: | Andrei Brezan wrote: | | Hello list, | | | | I wanna do a | | mysqldump -u user -ppasswd --all-databases > backup.sql | | | | and all I get is | | mysqldump: No match. | | | | This happens either i put --all-databases or I specify any of the | | databases. I want to do a backup as user root, that's why I use | | all-databases opt. | | | | If I use the command: | | mysqldump -u root -p --all-databases >backup.sql | | I get the password prompt, I type the passwd and everythig works great. | | It seems that there is a problem with -p, i've tried --password with | | same result. | | | | If anyone has any ideea please let me know about it. | | I mention that i use Freebsd 7_0 and mysql 5.0.67 | | Same MySQL version here, but running CURRENT. Everything works fine.. | | | | | Thank you | | | | | | _______________________________________________ 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" | Brad Mettee | PC HotShots, Inc. | Baltimore, MD | (410) 426-7617 | -> Let us bring out the *Power* of your PCs. <- | -> Custom Business Software Solutions since 1991 <- | visit http://www.pchotshots.com for information about our company. | _______________________________________________ | 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" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkjlS+4ACgkQwMJqmJVx9471cgCguT2IPIG/o1mJVpGwgfJlYWS/ EBoAn3+nAjiehzJ/YX8BhcPjj7xaz2ZW =Spnn -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 22:58:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CA5110656A2 for ; Thu, 2 Oct 2008 22:58:35 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 2D1E28FC1A for ; Thu, 2 Oct 2008 22:58:34 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1KlX7u-0001H8-3u; Thu, 02 Oct 2008 23:58:30 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m92MwTTd029372; Thu, 2 Oct 2008 23:58:29 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id EBD44FCA4AD; Thu, 2 Oct 2008 23:58:23 +0100 (BST) Date: Thu, 2 Oct 2008 23:58:23 +0100 From: Frank Shute To: Mungyung Ryu Message-ID: <20081002225823.GA13439@melon.esperance-linux.co.uk> Mail-Followup-To: Mungyung Ryu , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Thu, 02 Oct 2008 23:58:29 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 22:58:35 -0000 On Wed, Oct 01, 2008 at 02:18:10PM -0400, Mungyung Ryu wrote: > > Hi BSD folks! > > I installed FreeBSD 7 Release - amd64. > I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver > for Linux or FreeBSD! > So, I'm considering to replace the dam ATI card with NVIDIA Geforce. > I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be > enough, > but it should support 1920x1200 resolution. > I wonder if what Geforce model is supported by the FreeBSD 7R - amd64. > Anybody can recommend? Have you tried using: x11-drivers/xf86-video-ati? That should build on your machine. You can use: x11-drivers/xf86-video-nv with Nvidia cards on AMD64. The supported cards are listed in the manpage: http://xorg.freedesktop.org/archive/X11R7.0/doc/html/nv.4.html Cards that will drive your resolution are mentioned in this discussion: http://fixunix.com/hardware/8213-what-video-card-support-1920x1200-dvi-resolution.html I dare say anything newish should manage it. I use the nv driver and am quite happy with it (I'm a desktop user but non-gameplayer). It's rock solid in my experience and preferable to running a blob. > > Second, I want to use zero-copy facility of FreeBSD. > As far as I know, the hardware (NIC) support (Scatter-Gather DMA) is needed > for that as well as using sendfile() api. > Among the NIC products which has SGDMA function in the market, > which one is the most well supported by FreeBSD 7R - amd64? > I got a technical support from Intel, and they said there is no Intel NIC > which supports SGDMA. > That is so surprising.. isn't it? Don't know anything about this, I'm afraid :( But I suggest you search for NICs that do SGDMA & then see if FreeBSD supports it by looking at an appropriate manpage (if there is a driver). > > The driver issue is killing me on FreeBSD. > > Thanks. > Don't give up hope! The video should be easy to sort out, don't know about the NIC though. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 23:17:43 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E19E106568B for ; Thu, 2 Oct 2008 23:17:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id BF0938FC0C for ; Thu, 2 Oct 2008 23:17:42 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m92NHaTM021730; Fri, 3 Oct 2008 01:17:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m92NHZoU021727; Fri, 3 Oct 2008 01:17:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 3 Oct 2008 01:17:35 +0200 (CEST) From: Wojciech Puchar To: Josh Carroll In-Reply-To: <8cb6106e0810021109m7a82d3d3j7e29f9e0ba406e13@mail.gmail.com> Message-ID: <20081003011713.A21713@wojtek.tensor.gdynia.pl> References: <200810020958.54563.kirk@strauser.com> <200810021004.56210.kirk@strauser.com> <20081002131435.efa1d07f.wmoran@potentialtech.com> <8cb6106e0810021109m7a82d3d3j7e29f9e0ba406e13@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Bill Moran , freebsd-questions@freebsd.org Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 23:17:43 -0000 >> active and the program need not be reloaded from disk. > > I think non-program code can also be "inactive". i am sure. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 00:08:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 797011065686 for ; Fri, 3 Oct 2008 00:08:15 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4C52E8FC19 for ; Fri, 3 Oct 2008 00:08:15 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1322077wfg.7 for ; Thu, 02 Oct 2008 17:08:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=HhCsBHip5qbSbrN7fDIXziQOBC5aLwhvlf12TSHXg/o=; b=R7CglVHKU7dGEHGRHH1sY03RGBIwtQgEOypTQNocJDz+t44mOOsV48MoX1nCGQKUmo tetlQ9x5jf8EBUPV8GWP3Ebu3K6sLAuBDVGLxoVuaJDMfQPDacoZORObbUNxZ/QuKi/T AjvaidhmLxll2X0pajWocGmnqQshEzSaZfP0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=XOm8L/G7NCXJecK2SdC4J02wy5fSq2A8DneHJlitgTz0ez8prQf+pwRnwCEAiquQE0 0+14R60ECPO1lDgs/qesycCXeJlQNXW9rrlxpZyy8IvYqgE1JxkKiDTe/5yUIK5Y6uJr a4pnyG1raE1Oqq5Ql3vKB1uvDFEuLBN7uVnmY= Received: by 10.142.237.19 with SMTP id k19mr102630wfh.86.1222992494901; Thu, 02 Oct 2008 17:08:14 -0700 (PDT) Received: by 10.142.44.17 with HTTP; Thu, 2 Oct 2008 17:08:14 -0700 (PDT) Message-ID: <539c60b90810021708i5389d29dia82c06d23d5fd4b4@mail.gmail.com> Date: Thu, 2 Oct 2008 17:08:14 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "FreeBSD Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: fa96fef2f852d43e Subject: 'Atheros L2 - 10/100 controller (wired)' shows up in pc-bsd7, but not freebsd 7.1-stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 00:08:15 -0000 I'm not surprised, just curious if there's actually a tweak, or if the pcbsd guys haven't moved the patch upstream. I find kde so annoying that I put 7-stable back on the machine, and my onboard lan disappeared again... Best, Steve From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 03:24:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9F871065688 for ; Fri, 3 Oct 2008 03:24:44 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4E32F8FC14 for ; Fri, 3 Oct 2008 03:24:44 +0000 (UTC) (envelope-from jotawski@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so892134fkk.11 for ; Thu, 02 Oct 2008 20:24:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=0l5g959Qy6nKCeFDHnrtjtERldmb1hVn5p+NDWc81G0=; b=YpHUDcgqFRCt8JYnxeLehv5EVtXOt31NbxQloT13ipAy3iTA1LV8jVaCv8xGl1yf9S VDRu9iFSlSyq9w18Z7qb8Jmc/i19fsTnQ2MVxZ3nwioS52FFb0yeKAFpf6w0jIflSNZo 6KtOZds49kkQHgxN+Ww4KW6NByGPxv9c9CJZw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=fe+eOLB6/loWCL/VxHWF2mUqPl/Dl9c4Nt2lC8mU/1GUwMgKVEXF+zFhRY9lYN+sOH b5KgmbdruCdB5NLh9VUH2UiEUo5zxhtmqjVgXQqAMIMNUiF1iW6BP/BJfJipW7t4Dsk7 WQhTPgX+ZBaZQisT/NEyKkMliAZC/fvM17feQ= Received: by 10.180.241.8 with SMTP id o8mr188120bkh.60.1223004282814; Thu, 02 Oct 2008 20:24:42 -0700 (PDT) Received: by 10.181.22.11 with HTTP; Thu, 2 Oct 2008 20:24:42 -0700 (PDT) Message-ID: Date: Fri, 3 Oct 2008 10:24:42 +0700 From: "fire jotawski" To: "Dominique Goncalves" In-Reply-To: <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> MIME-Version: 1.0 References: <48DA7491.8030002@daleco.biz> <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: nat and firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 03:24:44 -0000 On Thu, Oct 2, 2008 at 7:39 PM, Dominique Goncalves < dominique.goncalves@gmail.com> wrote: > Hi, > > On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski wrote: > > On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey wrote: > > > >> FBSD1 wrote: > >> > >>> > >>> natd_enable="YES" This statement in rc.conf enables ipfw nated > function. > >>> firewall_nat_enable="YES" This is an invalid statement. No such thing > as > >>> you have here. > >>> > >> > >> This is no longer true; he did indeed find "firewall_nat_enable" > >> in /etc/defaults/rc.conf. The knob seems to have first appeared > >> in February in HEAD and I'm guessing it cues the system to use a > >> new kernel-based nat rather than natd(8), but I've not read anything > >> further about this, as my system isn't as up to date as the OP's. > >> I don't know when this change was MFC'ed, but apparently fairly > >> recently? > >> > >> I suppose we need someone a tad more "in the know" to straighten > >> that out for us. > >> > > > > up to this moment, i do not know if natd and firewall_nat function in the > > same or different. > > and is there firewall_nat_flags thing too ? > > I'll try to explain, > > natd_* knobs are for natd(8), a daemon > firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel > > firewall_nat_* was added in the begenning of year in RELENG_7 > > http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 > > The NAT configuration is done by /etc/rc.firewall, you can read this > file to know how the configuration is done. > > This is two different ways to do NAT. I can't speak about performance, > kernel vs daemon. > many thanks indeed for your clear explanations. so we simply use just one of them but not both, do not we ? once again, i appreciate all of your kind asistances in my case. with best regards, psr From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 06:58:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22EE21065689 for ; Fri, 3 Oct 2008 06:58:26 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [199.185.220.240]) by mx1.freebsd.org (Postfix) with ESMTP id C59C38FC1C for ; Fri, 3 Oct 2008 06:58:25 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from priv-edtnaa07.telusplanet.net ([75.157.28.2]) by priv-edtnes25.telusplanet.net (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20081003065705.SLAF3117.priv-edtnes25.telusplanet.net@priv-edtnaa07.telusplanet.net> for ; Fri, 3 Oct 2008 00:57:05 -0600 Received: from oliver.bc.lan (d75-157-28-2.bchsia.telus.net [75.157.28.2]) by priv-edtnaa07.telusplanet.net (BorderWare Security Platform) with ESMTP id B7142A23380E9D2D for ; Fri, 3 Oct 2008 00:58:24 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id 655F261E0; Thu, 2 Oct 2008 23:58:24 -0700 (PDT) Message-ID: <48E5C290.3000208@telus.net> Date: Thu, 02 Oct 2008 23:58:24 -0700 From: Carl User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Intel S3210SHLC motherboard and FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 06:58:26 -0000 Does anyone have any direct experience running FreeBSD on the Intel S3210SHLC motherboard? If so, what problems have you run into? I'm trying to use FreeBSD 7.0, but I don't know yet if the problems are specific to 7.0 or not. The DVD reader/writer is an LG GH20NS10 SATA drive. Motherboard BIOS is release 45, BMC is release 31, and FRUSDR is 13. As per another thread I started, creating a serial console installation CD is just not working for me, although I'm still pursuing it. I managed to install FreeBSD 7.0 using the standard installer CD (aka internal console), but any deviation from that seems impossible. Creating a bootable USB flash thumb drive doesn't work either, despite having enabled such functionality in BIOS. In fact, getting this motherboard to boot from a USB thumb drive doesn't seem to work whether it contains FreeBSD or something else entirely. I've had a couple of incidents where pressing the reset button actually powers down the server for 5 seconds or so before automatically powering back up. Not a big deal, but doesn't instill confidence in this motherboard. Carl / K0802647 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:01:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B798106569C for ; Fri, 3 Oct 2008 08:01:39 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from col0-omc4-s2.col0.hotmail.com (col0-omc4-s2.col0.hotmail.com [65.55.34.204]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCE68FC2E for ; Fri, 3 Oct 2008 08:01:39 +0000 (UTC) (envelope-from dhaneshkk@hotmail.com) Received: from COL106-W43 ([65.55.34.199]) by col0-omc4-s2.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 3 Oct 2008 00:49:39 -0700 Message-ID: X-Originating-IP: [203.129.255.178] From: dhaneshk k To: Date: Fri, 3 Oct 2008 07:49:39 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 03 Oct 2008 07:49:39.0784 (UTC) FILETIME=[96EF8C80:01C9252C] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: acpi_tz0: _TMP value is absurd ignored (-269.7C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 08:01:39 -0000 People =3B I installed freebsd-7.0 in a p4 machine =2C after installation when I rebo= ot the machine =2C I am getting the message=20 acpi_tz0: _TMP value is absurd ignored (-269.7C) in every 3 seconds .. intel p4 3.0 GHz=20 Intel 82915G (915G GMCH ) =20 How can i get rid off this ... can someone shed some light on this regard .= . Thanks in advance=20 Dhanesh=20 _________________________________________________________________ Movies=2C sports & news! Get your daily entertainment fix=2C only on live.c= om http://www.live.com/?scope=3Dvideo&form=3DMICOAL= From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:08:54 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B24D0106568F for ; Fri, 3 Oct 2008 08:08:54 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from c.mail.ru.ac.za (c.mail.ru.ac.za [IPv6:2001:4200:1010::25:3]) by mx1.freebsd.org (Postfix) with ESMTP id EA8ED8FC1C for ; Fri, 3 Oct 2008 08:08:53 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:57722) by c.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlfiV-0006is-UQ for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 10:08:52 +0200 Received: from iwr61.iwr.ru.ac.za ([146.231.64.161]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlfiV-000MvE-Su for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 10:08:51 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Fri, 03 Oct 2008 10:08:52 +0200 MIME-Version: 1.0 Message-ID: <48E5EF34.13368.238F34B7@d.forsyth.ru.ac.za> Priority: normal In-reply-to: <20081002183522.7139710656DD@hub.freebsd.org> References: <20081002183522.7139710656DD@hub.freebsd.org> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: c.mail.ru.ac.za (146.231.129.35) Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: iwrTech@iwr.ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 08:08:54 -0000 On 2 Oct 2008 , freebsd-questions-request@freebsd.org entreated about "freebsd-questions Digest, Vol 235, Issue 11": > No need to change log rotation software since the problem clearly is > somewhere else. You need to inspect Apache's error logs to see why it > cannot start. > the previous error log shows [Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing restart [Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error detected in the parent process the new error log shows, after the manual start [Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal operations those error messages are repeated any time I do a apachectl graceful However, doing apachectl stop apachectlstart works as expected. apache version is apache-2.0.63_2 from ports uname -a gives FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon Jun 2 13:10:26 SAST 2008 iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70 i386 php v4 is installed, though i do plan to upgrade that to V5 as soon as I get time to do it. PS: I used to use logrotate, but it too stopped working correctly, with apache process stopping in a similar way that is why I changed to newsyslog. I rotate the logs monthly, and set it to 8am so there is a chance I'll be on hand to start apache to minimize downtime. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:26:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C78A0106568E for ; Fri, 3 Oct 2008 08:26:53 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8386D8FC1B for ; Fri, 3 Oct 2008 08:26:53 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so254984yxb.13 for ; Fri, 03 Oct 2008 01:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=R0PxQ2qwsYmcK8RuBcMTIiom4uUCkT/UCDsQg/mbEDI=; b=vmeUfJVjL4eFZs5rYiqTzi/UZ4UemadMYK+6eKirjRjVG1kWTwZkjAtj1zqvq0eAEe SA+Sr+fINBzJNVDb9lHtd9Cdqn1CO2tmHgx9TU0PWVp1eWP0zTIEI2qwF1TouVPvME8S HdJqhILOKXT6G4eCybs4xksY2npMyRhu0tCBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=kYRPBvsewx9uBH780uN210KKXF4BaERyrYI3ZbebtNFYbBWj284HsuNnRpvpZZXC42 PPOM1udz3KCZts/S9QB5xEbHcH1rSiNanVWK67CykxA6nt2o1iDQPzOJ1KYylNWPnUWW IqXc/8q6pD18KO1Ssj/GjRJP0Xxr7Q2Ci4rTw= Received: by 10.100.140.2 with SMTP id n2mr852388and.95.1223022412623; Fri, 03 Oct 2008 01:26:52 -0700 (PDT) Received: by 10.100.253.17 with HTTP; Fri, 3 Oct 2008 01:26:52 -0700 (PDT) Message-ID: <9e20d71e0810030126h3270fa0dl2a382477474a968b@mail.gmail.com> Date: Fri, 3 Oct 2008 11:26:52 +0300 From: "Artis Caune" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: ZFS on root with atime=off X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 08:26:53 -0000 Hi everyone, I install ZFS on root just like in Andrew ZFSOnRoot wiki page. I don't use legacy mount points. I also set "atime=off" on tank and all partitions inherit it from tank. When I reboot after install, root file system is mounted with atime option: # zfs get atime tank NAME PROPERTY VALUE SOURCE tank atime on temporary I can fix this with creating entry in fstab for root fs with noatime, but maybe there is some way how to pass options to vfs.root.mountfrom? -- regards, Artis Caune <----. CCNA <----|==================== <----' didii FreeBSD From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:37:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D37C71065688 for ; Fri, 3 Oct 2008 08:37:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA04.emeryville.ca.mail.comcast.net (qmta04.emeryville.ca.mail.comcast.net [76.96.30.40]) by mx1.freebsd.org (Postfix) with ESMTP id B8C928FC08 for ; Fri, 3 Oct 2008 08:37:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by QMTA04.emeryville.ca.mail.comcast.net with comcast id N8cS1a00D0vp7WLA48dy50; Fri, 03 Oct 2008 08:37:58 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.emeryville.ca.mail.comcast.net with comcast id N8dx1a0012P6wsM8R8dxa8; Fri, 03 Oct 2008 08:37:57 +0000 X-Authority-Analysis: v=1.0 c=1 a=GWvMysky2HQA:10 a=T-wtnCATJI8A:10 a=QycZ5dHgAAAA:8 a=ny2zzWUalbtrSJ_urR8A:9 a=eDebkPMcrWgoO3g2irmRdslRhFMA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C0CDEC941A; Fri, 3 Oct 2008 01:37:56 -0700 (PDT) Date: Fri, 3 Oct 2008 01:37:56 -0700 From: Jeremy Chadwick To: Carl Message-ID: <20081003083756.GA23663@icarus.home.lan> References: <48E5C290.3000208@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E5C290.3000208@telus.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Intel S3210SHLC motherboard and FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 08:37:58 -0000 On Thu, Oct 02, 2008 at 11:58:24PM -0700, Carl wrote: > I've had a couple of incidents where pressing the reset button actually > powers down the server for 5 seconds or so before automatically powering > back up. Not a big deal, but doesn't instill confidence in this > motherboard. This is common on Intel CPU/chipset boards. It has to do with one of a couple different things: 1) BIOS: CPU virtualisation support 2) BIOS: Thermal monitoring 3) BIOS: Other BIOS options which I can't remember I've seen this happen on Intel boards, as well as nVidia Socket 775 boards, and Asus boards. It's become "normal" in this day and age; otherwise, see if there's a BIOS upgrade (on Asus boards this usually fixes it; if you change any of those BIOS options, the hard power-off will happen once, but from that point on reset will behave like you expect). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:39:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64AB71065687 for ; Fri, 3 Oct 2008 08:39:11 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 49D588FC29 for ; Fri, 3 Oct 2008 08:39:10 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA14.emeryville.ca.mail.comcast.net ([76.96.30.60]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id N8dv1a00D1HpZEsA68fAJ4; Fri, 03 Oct 2008 08:39:10 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA14.emeryville.ca.mail.comcast.net with comcast id N8f91a0082P6wsM8a8f9ku; Fri, 03 Oct 2008 08:39:10 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=7xdSKH72iuHLmpQBPO8A:9 a=iuTqe1UwSKzi-8iH5gsWvCeIHr8A:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 9DBF8C9419; Fri, 3 Oct 2008 01:39:09 -0700 (PDT) Date: Fri, 3 Oct 2008 01:39:09 -0700 From: Jeremy Chadwick To: Artis Caune Message-ID: <20081003083909.GB23663@icarus.home.lan> References: <9e20d71e0810030126h3270fa0dl2a382477474a968b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e20d71e0810030126h3270fa0dl2a382477474a968b@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: ZFS on root with atime=off X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 08:39:11 -0000 On Fri, Oct 03, 2008 at 11:26:52AM +0300, Artis Caune wrote: > Hi everyone, > > I install ZFS on root just like in Andrew ZFSOnRoot wiki page. > I don't use legacy mount points. > > I also set "atime=off" on tank and all partitions inherit it from tank. > When I reboot after install, root file system is mounted with atime option: > # zfs get atime tank > NAME PROPERTY VALUE SOURCE > tank atime on temporary > > I can fix this with creating entry in fstab for root fs with noatime, > but maybe there is some way how to pass options to vfs.root.mountfrom? This question should be going to freebsd-fs, not freebsd-questions. Please re-post it there, and CC pjd@freebsd.org (ZFS maintainer). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:40:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4552E1065688 for ; Fri, 3 Oct 2008 08:40:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 29FD78FC1D for ; Fri, 3 Oct 2008 08:40:04 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id N8g41a0030QkzPwA28g443; Fri, 03 Oct 2008 08:40:04 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA02.emeryville.ca.mail.comcast.net with comcast id N8g31a0062P6wsM8N8g4xh; Fri, 03 Oct 2008 08:40:04 +0000 X-Authority-Analysis: v=1.0 c=1 a=GWvMysky2HQA:10 a=T-wtnCATJI8A:10 a=QycZ5dHgAAAA:8 a=0JlHTJfDhXJM1ukn0pYA:9 a=pdTye8ybM08AlLpE-cYkkodLBh8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C0105C9419; Fri, 3 Oct 2008 01:40:03 -0700 (PDT) Date: Fri, 3 Oct 2008 01:40:03 -0700 From: Jeremy Chadwick To: Carl Message-ID: <20081003084003.GC23663@icarus.home.lan> References: <48E5C290.3000208@telus.net> <20081003083756.GA23663@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081003083756.GA23663@icarus.home.lan> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Intel S3210SHLC motherboard and FreeBSD 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 08:40:05 -0000 On Fri, Oct 03, 2008 at 01:37:56AM -0700, Jeremy Chadwick wrote: > 2) BIOS: Thermal monitoring I should be more precise: I'm referring to things like fan speed auto-slowdown or PWM. These boards often offer numerous methods of throttling fans and other features. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:55:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09F0F1065687 for ; Fri, 3 Oct 2008 08:55:15 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2001:41c8:1:548a::2]) by mx1.freebsd.org (Postfix) with ESMTP id 975B78FC16 for ; Fri, 3 Oct 2008 08:55:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 9EFED30126; Fri, 3 Oct 2008 09:55:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.3 required=8.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 Received: from [IPv6:2a01:348:10f:0:8d8b:f2df:5261:fe25] (unknown [IPv6:2a01:348:10f:0:8d8b:f2df:5261:fe25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTP; Fri, 3 Oct 2008 09:55:00 +0100 (BST) Message-ID: <48E5DDC7.3090601@cran.org.uk> Date: Fri, 03 Oct 2008 09:54:31 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Robert Huff References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <18659.61704.87342.180770@jerusalem.litteratus.org> In-Reply-To: <18659.61704.87342.180770@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 08:55:15 -0000 Robert Huff wrote: > Jerry : > > >>> nVidia, at least, is aware of the issue and has offered to >>> write and maintain drivers ... provided certain capabilities are >>> added to the kernel. (See previous discussion in this mailing list.) >>> This has - obviously - not happened, and I do not know of work >>> in progress. >>> I do agree that the first vendor to provide working drivers >>> will make quite a few sales. (Me among them.) >>> >> Unfortunately, doing a quick search, I was not able to locate the >> article(s) you referenced above. I would like to see exactly what >> NVIDIA is requesting. >> > > Sorry - wrong list. Try: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html > There's also http://wiki.freebsd.org/NvidiaFeatureRequests -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 08:56:37 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B41A81065693 for ; Fri, 3 Oct 2008 08:56:37 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: from mail.procreditbank.bg (mail.procreditbank.bg [193.26.216.3]) by mx1.freebsd.org (Postfix) with SMTP id 0DC458FC19 for ; Fri, 3 Oct 2008 08:56:36 +0000 (UTC) (envelope-from i.tanusheff@procreditbank.bg) Received: (qmail 13310 invoked from network); 3 Oct 2008 11:48:56 +0300 Received: from unknown (HELO domino.procreditbank.bg) (10.0.0.15) by 192.168.1.3 with SMTP; 3 Oct 2008 11:48:56 +0300 In-Reply-To: <48E500EC.9010100@gmail.com> To: Andrei Brezan MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.3 September 26, 2007 From: Ivailo Tanusheff Message-ID: Date: Fri, 3 Oct 2008 11:29:52 +0300 X-MIMETrack: Serialize by Router on DOMINO/BULGARIA/PROCREDITBANK(Release 7.0.2FP2|May 14, 2007) at 03.10.2008 11:29:57, Serialize complete at 03.10.2008 11:29:57 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, owner-freebsd-questions@freebsd.org Subject: Re: Mysqldump password issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 08:56:37 -0000 Hi, I suspect your password contains some illegal character for the comand line syntax. Change the password to 123 for example and test it with: mysqldump -u user -p123 --all-databases > backup.sql I suspect it will work OK, so you have to do one of the: - change password for something that does not contain any illegal in the meaning of shell scripting characters; - use quota on password line, i.e. mysqldump -u user -p'passwd' --all-databases > backup.sql Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Andrei Brezan Sent by: owner-freebsd-questions@freebsd.org 02.10.2008 20:49 To questions@freebsd.org cc Subject Mysqldump password issue Hello list, I wanna do a mysqldump -u user -ppasswd --all-databases > backup.sql and all I get is mysqldump: No match. This happens either i put --all-databases or I specify any of the databases. I want to do a backup as user root, that's why I use all-databases opt. If I use the command: mysqldump -u root -p --all-databases >backup.sql I get the password prompt, I type the passwd and everythig works great. It seems that there is a problem with -p, i've tried --password with same result. If anyone has any ideea please let me know about it. I mention that i use Freebsd 7_0 and mysql 5.0.67 Thank you -- Andrei Brezan 310280 Arad - Romania mobile <+40 740 089 315> email www _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 09:11:59 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29466106568E for ; Fri, 3 Oct 2008 09:11:59 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id ACB838FC13 for ; Fri, 3 Oct 2008 09:11:58 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1005387fkk.11 for ; Fri, 03 Oct 2008 02:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=fmMNGv3eL0lCYHM9k+yad7/49usgkTU16PuFZwX6cdc=; b=KgIwVS+bWcIByKwtM2Fzo7KYMvJvHu6zJK82k8d9YZGA30ot3M0N6cJH66R2DSoeI9 4MZIXeAJEcSLPdq4GtQexoQaHE9ssmy/Mv9HnWvUg1OPa2p7KDhtmVY9WyCXDk/deJ4K bvIl0B8tBiXbCKxFYLX2qtzCNCNvSl9hwtT8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=Yu+VHUSPVdYndFz7poLea64WZ48L/lfkJubSa7cB/AzmX4cqudZcg3sv2ybmnIK/JQ Gwl68/n9Xu0zn6uhGccxk2q/HO3n5R6GYVH33jl6/jv5TEMv4kxPe3o8d23APevNYRbY x8LKl1TYnABzblU7pJP7gSSZrJppju8pcP488= Received: by 10.103.243.7 with SMTP id v7mr483743mur.24.1223025117454; Fri, 03 Oct 2008 02:11:57 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Fri, 3 Oct 2008 02:11:57 -0700 (PDT) Message-ID: Date: Fri, 3 Oct 2008 11:11:57 +0200 From: "Redd Vinylene" To: questions@freebsd.org, jail@freebsd.org, pf@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Jail, pf and ftpd: Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 09:11:59 -0000 Greetings ladies and gentlemen! Why does the below pf.conf (run from box1) give me "getpeername(control_sock): Transport endpoint is not connected, Socket error (Connection refused) - reconnecting" when trying to log onto box3 via passive FTP? Active FTP gives me "425 Can't build data connection: Connection refused." (box2 and box3 are jails running off box1) - root@box1# cat /etc/pf.conf box1 = "80.203.2.2" box2 = "80.203.2.3" box3 = "{ 80.203.2.4 [...] 80.203.2.127 }" ext_if = "rl0" set block-policy return set skip on { lo0 } scrub in pass out keep state block in pass in on $ext_if inet proto tcp from any to any port { 22 } keep state pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80, 110 } keep state pass in on $ext_if inet proto udp from any to $box2 port 53 keep state pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113 } keep state pass in on $ext_if inet proto icmp from any to any keep state - root@box3# cat /etc/inetd.conf ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l - I hope I've been verbose enough. Thank you! -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 09:24:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72C791065694 for ; Fri, 3 Oct 2008 09:24:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id 314D88FC0A for ; Fri, 3 Oct 2008 09:24:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id E5E8E5C2E759 for ; Fri, 3 Oct 2008 19:21:34 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081002142519.GG51954@gizmo.acns.msu.edu> References: <200810011048.21874.lists@rhavenn.net> <18659.52849.278757.861259@jerusalem.litteratus.org> <20081001172216.5015add3@scorpio> <20081001232502.G56202@wojtek.tensor.gdynia.pl> <20081001180424.56e6ca69@scorpio> <20081002142519.GG51954@gizmo.acns.msu.edu> Content-Type: text/plain Date: Fri, 03 Oct 2008 19:22:02 +1000 Message-Id: <1223025722.3927.36.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: E5E8E5C2E759.2446A X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: Questions drivers for VGA and NIC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 09:24:18 -0000 On Thu, 2008-10-02 at 10:25 -0400, Jerry McAllister wrote: > On Wed, Oct 01, 2008 at 06:04:24PM -0400, Jerry wrote: > > > On Wed, 1 Oct 2008 23:25:19 +0200 (CEST) > > Wojciech Puchar wrote: > > > > >> In all likelihood, the probability of any vendor creating FBSD > > >> specific drivers is directly proportionate to the expenditure of > > >> funds to create and maintain the driver versus the expected revenue > > >> from such an expenditure. > > > > > >giving out a specs will be the simplest way. > > > > Any entity, or corporation, has a right to expect a return on their > > investment. To expect a corporation to simply give away something, > > thereby depriving their shareholders, partners or whatever, of their > > rightfully expected monetary reward is foolish. It certainly is not a > > well thought out business model. > > First, in cases like this, giving out the specs so someone can write > a good driver could increase their sales of cards which could, in > turn, increase their profit. So, it would help their business > rather than hurt it. They do not sell those drivers. They just > use them to sell video cards. Since the lack of a driver that > works in FreeBSD limits their sales of video cards, then they are > making the business mistake you are indicating, only in a reverse > sort of way. > > > Second, and very important. No corporation has any right to expect > a return on their investment. Investment is always a risk. They > might hope for a return, but they will have to work for it. They will > be fortunate to get it. More business ventures fail than succeed. > > Maybe it is only a case of using the wrong word, but it is still > important to remember that there is no guarantee of profit. That > was the big failing of price controls - that the government got > in to the business of guaranteeing profits and then the whole thing > fell apart. Ok, so this is in reply to the previous message on this thread as well as this one. Based on what is said here (and I agree totally), then the NDA would be only on the actually insider specs of the card- you'd have to be a savant to extrapolate the actual guts of the card solely based on the driver (in particular the special features in the hardware- if they're not public knowledge anyway). So why the big hush hush then? NDA signed and obviously a contract drawn which everyone agrees to- manufacturer and programmer. Any reason why this wouldn't work? I know of some that do this (ie m-Audio and OSS). From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 10:08:46 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2543E1065698 for ; Fri, 3 Oct 2008 10:08:46 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id A98678FC16 for ; Fri, 3 Oct 2008 10:08:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-021-211.pools.arcor-ip.net [88.66.21.211]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1KlhOK3xE5-00076L; Fri, 03 Oct 2008 11:56:09 +0200 Received: (qmail 48763 invoked from network); 3 Oct 2008 09:56:08 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 3 Oct 2008 09:56:08 -0000 From: Max Laier Organization: FreeBSD To: freebsd-pf@freebsd.org Date: Fri, 3 Oct 2008 11:56:07 +0200 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810031156.07623.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/devl0yJBoQ+FKnMvrvz/lOsTb1jwGHOp7mbE iVpOIgwcvCdH/b6IZrLnt9AHW312BxI/xCsAR2EBIFBu+/oANs SXo0PH1lQHGuo3sd8+4Mg== Cc: jail@freebsd.org, questions@freebsd.org, Redd Vinylene , pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 10:08:46 -0000 On Friday 03 October 2008 11:11:57 Redd Vinylene wrote: > Greetings ladies and gentlemen! > > Why does the below pf.conf (run from box1) give me > "getpeername(control_sock): Transport endpoint is not connected, > Socket error (Connection refused) - reconnecting" when trying to log > onto box3 via passive FTP? Active FTP gives me "425 Can't build data > connection: Connection refused." (box2 and box3 are jails running off > box1) See ftp-proxy(8). Note that active works with the ruleset you provided (due to the "pass out keep state"-rule), but there is obviously a firewall problem on the client preventing that. > - > > root@box1# cat /etc/pf.conf > > box1 = "80.203.2.2" > > box2 = "80.203.2.3" > > box3 = "{ 80.203.2.4 [...] 80.203.2.127 }" > > ext_if = "rl0" > > set block-policy return > > set skip on { lo0 } > > scrub in > > pass out keep state > > block in > > pass in on $ext_if inet proto tcp from any to any port { 22 } keep state > > pass in on $ext_if inet proto tcp from any to $box2 port { 25, 53, 80, > 110 } keep state > > pass in on $ext_if inet proto udp from any to $box2 port 53 keep state > > pass in on $ext_if inet proto tcp from any to $box3 port { 20, 21, 113 > } keep state > > pass in on $ext_if inet proto icmp from any to any keep state > > - > > root@box3# cat /etc/inetd.conf > > ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l > > - > > I hope I've been verbose enough. Thank you! -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 10:51:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BC411065686 for ; Fri, 3 Oct 2008 10:51:05 +0000 (UTC) (envelope-from shinjii@maydias.com) Received: from smtp.po.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id 342298FC1B for ; Fri, 3 Oct 2008 10:51:04 +0000 (UTC) (envelope-from shinjii@maydias.com) Received: from 196.43.96.58.exetel.com.au ([58.96.43.196] helo=localhost.invalid) by smtp.po.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1Klhtm-0004mP-SW for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 20:28:39 +1000 From: Warren Liddell To: freebsd-questions@freebsd.org Date: Fri, 3 Oct 2008 20:28:44 +1000 User-Agent: KMail/1.10.1 (FreeBSD/7.1-PRERELEASE; KDE/4.1.1; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810032028.45073.shinjii@maydias.com> Subject: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 10:51:05 -0000 Im looking for a GUI or command line that will allow me to extract information within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 10:56:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BCC210656A3 for ; Fri, 3 Oct 2008 10:56:59 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCC28FC1B for ; Fri, 3 Oct 2008 10:56:58 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1500596wfg.7 for ; Fri, 03 Oct 2008 03:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=0YYDXi9ARBbkvNag5U7nBK9ogImUJfNDuW+OLH/fUho=; b=XKRoOi5RQCf8zCdqi7F7Hok/29sB6wTkVEyn2JsC/2qc/u8pHGvxo6dGH8gMqs0R/C 9WF5extWQfDBZ3aN4jWzZ8OyhXLh5i4XlYT33fzzIXRYDYO7KlHKFYEksf8vlvCifWHW tR3PtUi3Wd/MWC/QpvkEh03MnpPYTkDVn+3I8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=YeeOFAymy8r6OOoNn5PpTPfP6xcEjYkjndbPdA8iQIWngbR7vooJZkwgtnfl5krNAz LtyCyPft0ntaGnDqKs5shgBoM4LOAPf9AMOkpzmv/LiuHKekl4KME95/2hC/cjdPcPhz 6rKND0Wo8ArVXUonn7RkT1Qj2nbexXdKCwmXs= Received: by 10.142.242.11 with SMTP id p11mr315460wfh.217.1223031418363; Fri, 03 Oct 2008 03:56:58 -0700 (PDT) Received: by 10.142.154.10 with HTTP; Fri, 3 Oct 2008 03:56:58 -0700 (PDT) Message-ID: <139b44430810030356r42db8e51i51864077c1662944@mail.gmail.com> Date: Fri, 3 Oct 2008 12:56:58 +0200 From: "Valentin Bud" To: "Warren Liddell" In-Reply-To: <200810032028.45073.shinjii@maydias.com> MIME-Version: 1.0 References: <200810032028.45073.shinjii@maydias.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 10:56:59 -0000 Hello Warren, On Fri, Oct 3, 2008 at 12:28 PM, Warren Liddell wrote: > Im looking for a GUI or command line that will allow me to extract > information > within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 From the man page of mdconfig(8): To mount an ISO 9660 CD image file: # mdconfig -a -t vnode -u 10 -f cdimage.iso # mount_cd9660 /dev/md10 /mnt Afterwards you can access all the files within "cdimage.iso" as any other files in "/mnt". To better understand what happens see mdconfig(8)man page. all the best, v > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:01:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5806B10656A2 for ; Fri, 3 Oct 2008 11:01:52 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id D4B8D8FC12 for ; Fri, 3 Oct 2008 11:01:51 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from vhoffman.lon.namesco.net (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id m93B2XSj097793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Oct 2008 12:02:34 +0100 (BST) (envelope-from vince@unsane.co.uk) Message-ID: <48E5FB9D.1020608@unsane.co.uk> Date: Fri, 03 Oct 2008 12:01:49 +0100 From: Vincent Hoffman User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Warren Liddell References: <200810032028.45073.shinjii@maydias.com> In-Reply-To: <200810032028.45073.shinjii@maydias.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:01:52 -0000 Warren Liddell wrote: > Im looking for a GUI or command line that will allow me to extract information > within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 > Easiest way normally would be to mount the image and use the filesystem. assuming you are not root and have sudo installed. sudo mdconfig -a -t vnode -f filename.iso -u 7 (this assumes you dont already have an md7 device, not specifying -u will automatically take the next available.) then sudo sudo mount -t cd9660 /dev/md7 /path/to/mountpoint once you are done, umount it and sudo mdconfig -d -u 7 man mdconfig has more info and another example. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:02:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85F0B106569A for ; Fri, 3 Oct 2008 11:02:51 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 13FC18FC35 for ; Fri, 3 Oct 2008 11:02:50 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1025586fgb.35 for ; Fri, 03 Oct 2008 04:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=VI+qo313Ruh+rSXrVgY1opfIgK9cZM9EmC18VvtktVw=; b=jfHLcyszC6SO8nKUNX9dOHy/QCgp2fPFF0MrfVTmUyf46ogOcy2tawiN15mpxqcaK8 7Dq7+ChY7ttnAmWsh295Jlhs8rT8xJ6tp3ym8jn80XlKRxdCYbZGEN1VcZzaABmByI+J 29Lqad6s6ZJ/HvoJ2A9dZAtP9eqAcdfhN/eeo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=tR3Zbky98CkKiATGA3H1ekTexmTYjqRZE0gBtl46kJoncdCwLVU5vfCYACieo9gYhh s7rlnIcudLIRj8DJTgjF0Sp94p/rSltQ+FBTkzuSGrV2REQ6RSmJZScb2Eqp6nZj/gUm V7qTjwKLGf9yF8qc6EMlbDPlYtszLxFJTVKD4= Received: by 10.86.80.5 with SMTP id d5mr979194fgb.11.1223031769288; Fri, 03 Oct 2008 04:02:49 -0700 (PDT) Received: from joshua.freebsdgr.org (athedsl-4429267.home.otenet.gr [79.129.133.195]) by mx.google.com with ESMTPS id 3sm3803101fge.3.2008.10.03.04.02.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Oct 2008 04:02:48 -0700 (PDT) Message-ID: <48E5FBD5.9070606@gmail.com> Date: Fri, 03 Oct 2008 14:02:45 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.16 (X11/20080806) MIME-Version: 1.0 To: Warren Liddell References: <200810032028.45073.shinjii@maydias.com> In-Reply-To: <200810032028.45073.shinjii@maydias.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:02:51 -0000 Warren Liddell wrote: > Im looking for a GUI or command line that will allow me to extract information > within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 > You can mount an iso and copy files from it. First create a memory disk device to contain the file system: mdconfig -a -t vnode -f /path/to/your.iso -u md0 Then mount the file system as you would mount a CD-ROM: mount -t cd9660 /dev/md0 /mnt After you finish, first unmount then detach the md0 device: umount /mnt mdconfig -d -u md0 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:10:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 538D3106568B for ; Fri, 3 Oct 2008 11:10:28 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 124CB8FC08 for ; Fri, 3 Oct 2008 11:10:27 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (201.158.192-77.rev.gaoland.net [77.192.158.201]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 3B420633676 for ; Fri, 3 Oct 2008 13:10:26 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id EE46E61525A for ; Fri, 3 Oct 2008 13:10:23 +0200 (CEST) Date: Fri, 3 Oct 2008 13:10:22 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-questions@freebsd.org Message-ID: <20081003131022.2da7cd46@baby-jane-lamaiziere-net.local> In-Reply-To: <200810032028.45073.shinjii@maydias.com> References: <200810032028.45073.shinjii@maydias.com> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:10:28 -0000 Le Fri, 3 Oct 2008 20:28:44 +1000, Warren Liddell a écrit : > Im looking for a GUI or command line that will allow me to extract > information within an ISO file... im using FreeBSD 7.1-PRERELEASE I never tried it but bsdtar is able to extract an iso image. "tar creates and manipulates streaming archive files. This implementation can extract from tar, pax, cpio, zip, jar, ar, and ISO 9660 cdrom images and can create tar, pax, cpio, ar, and shar archives." Regards. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:14:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3FA1065678 for ; Fri, 3 Oct 2008 11:14:42 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2388FC12 for ; Fri, 3 Oct 2008 11:14:41 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m93BEcWb017735; Fri, 3 Oct 2008 06:14:39 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20081003061201.02713660@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Fri, 03 Oct 2008 06:14:32 -0500 To: DAve , "'User Questions'" From: Derek Ragona In-Reply-To: <48E4E4B8.90202@pixelhammer.com> References: <48E4E4B8.90202@pixelhammer.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 081002-0, 10/02/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93.3/8372/Thu Oct 2 10:21:47 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m93BEcWb017735 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Running cron jobs as nobody X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:14:42 -0000 At 10:11 AM 10/2/2008, DAve wrote: >Good morning all, > >We have a cronjob we need to run as nobody from /etc/crontab and it seems >to be not working. The job runs, but not as user nobody. > >I noticed two things, > >1) the job to update the locate DB runs as nobody, because the script uses >su to become nobody. >echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 > >2) nobody, as expected, has no shell or home dir in /etc/password. > >I searched around for an answer but didn't see anything concerning this >other than a patch to cron to check if setuid fails. > >Is setting the user to nobody in /etc/crontab not possible? > >Thanks, > >DAve I've done this two different ways: One is to use sudo and have your script su - to nobody. You will need to test your script first before trying it through cron. Create a cronjob for nobody using: crontab -e -u nobody Hope this helps. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:28:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D692B1065686 for ; Fri, 3 Oct 2008 11:28:08 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 888378FC14 for ; Fri, 3 Oct 2008 11:28:08 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so358385qwb.7 for ; Fri, 03 Oct 2008 04:28:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2pPT1AL9tW84sfGsdZ+3VxFk54EPx0y/3s8WgT9GJJ4=; b=V4fVkBYBnRHKfDJ/svGTuOlpBX8PS2LABtamIeL8NE0uw7S57ewFrSupzvm1kfJkit 0HweVD25zmqFjon3BlVYWxnlr3f5U58fmJVPyyKj7OX5Yn82r8XdQayiJZLwz5kuV3vs h4I7Y8ikZigsQjS4KYer9dLoK/UTC6eAjjXRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wgbo3OAXR1wBJK9qIu39IsH47Wa59EYygcTxD63b/v6TJPbAsAudWkrSQ9ht36tOrC QGXu1LeyGSZZMgAtYCG1rvuGKQA7sqyM7CZco+Sn2gl/7ZBXFeJLIPWRTRfTtuWFRW+F Hn2YkJfk2y4yI7pqlhY7Q1YxszBDW+Qr0llyM= Received: by 10.214.149.5 with SMTP id w5mr1511902qad.71.1223033287683; Fri, 03 Oct 2008 04:28:07 -0700 (PDT) Received: by 10.215.39.4 with HTTP; Fri, 3 Oct 2008 04:28:07 -0700 (PDT) Message-ID: <7daacbbe0810030428g12fd721bw6dcc822f0705b16d@mail.gmail.com> Date: Fri, 3 Oct 2008 13:28:07 +0200 From: "Dominique Goncalves" To: "fire jotawski" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DA7491.8030002@daleco.biz> <7daacbbe0810020539h530c6306o5f19abf35a68c6ad@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: nat and firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 11:28:08 -0000 On Fri, Oct 3, 2008 at 5:24 AM, fire jotawski wrote: > > > On Thu, Oct 2, 2008 at 7:39 PM, Dominique Goncalves > wrote: >> >> Hi, >> >> On Thu, Oct 2, 2008 at 6:09 AM, fire jotawski wrote: >> > On Thu, Sep 25, 2008 at 12:10 AM, Kevin Kinsey wrote: >> > >> >> FBSD1 wrote: >> >> >> >>> >> >>> natd_enable="YES" This statement in rc.conf enables ipfw nated >> >>> function. >> >>> firewall_nat_enable="YES" This is an invalid statement. No such thing >> >>> as >> >>> you have here. >> >>> >> >> >> >> This is no longer true; he did indeed find "firewall_nat_enable" >> >> in /etc/defaults/rc.conf. The knob seems to have first appeared >> >> in February in HEAD and I'm guessing it cues the system to use a >> >> new kernel-based nat rather than natd(8), but I've not read anything >> >> further about this, as my system isn't as up to date as the OP's. >> >> I don't know when this change was MFC'ed, but apparently fairly >> >> recently? >> >> >> >> I suppose we need someone a tad more "in the know" to straighten >> >> that out for us. >> >> >> > >> > up to this moment, i do not know if natd and firewall_nat function in >> > the >> > same or different. >> > and is there firewall_nat_flags thing too ? >> >> I'll try to explain, >> >> natd_* knobs are for natd(8), a daemon >> firewall_nat_* knobs are for ipfw(8), NAT is processed by the kernel >> >> firewall_nat_* was added in the begenning of year in RELENG_7 >> >> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.firewall?r1=1.52.2.2#rev1.52.2.2 >> >> The NAT configuration is done by /etc/rc.firewall, you can read this >> file to know how the configuration is done. >> >> This is two different ways to do NAT. I can't speak about performance, >> kernel vs daemon. > > many thanks indeed for your clear explanations. > so we simply use just one of them but not both, do not we ? Yes. > once again, i appreciate all of your kind asistances in my case. > > with best regards, > psr > > Regards. -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life." From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:30:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E08D61065690 for ; Fri, 3 Oct 2008 11:30:00 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by mx1.freebsd.org (Postfix) with ESMTP id 529B58FC12 for ; Fri, 3 Oct 2008 11:29:59 +0000 (UTC) (envelope-from glyn@millingtons.org) Received: from unknown (HELO glynthebearded.millingtons.org) ([82.152.120.109]) by smtpout.karoo.kcom.com with ESMTP; 03 Oct 2008 12:00:37 +0100 Received: by glynthebearded.millingtons.org (Postfix, from userid 1001) id 8608C2285D; Fri, 3 Oct 2008 12:05:56 +0100 (BST) To: Warren Liddell References: <200810032028.45073.shinjii@maydias.com> Organization: Central Church, Torquay, U.K. X-Now-Playing: There's a deathly hush in the close tonight! X-Liturgical-Date: Weekday: Friday of the Twenty-sixth Week of Ordinary Time, A.D. 2008 From: Glyn Millington Date: Fri, 03 Oct 2008 12:05:56 +0100 In-Reply-To: <200810032028.45073.shinjii@maydias.com> (Warren Liddell's message of "Fri\, 3 Oct 2008 20\:28\:44 +1000") Message-ID: <86abdm2b1n.fsf@nowhere.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glyn@millingtons.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:30:01 -0000 Warren Liddell writes: > Im looking for a GUI or command line that will allow me to extract information > within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 well, you can mount it and then search around inside ...... mount_cd9660 -o ro /dev/`mdconfig -a -t vnode -f /path/to/file.iso` /mount-point Good luck! Glyn From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 11:44:46 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27CDF1065697 for ; Fri, 3 Oct 2008 11:44:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 19A9F8FC1C for ; Fri, 3 Oct 2008 11:44:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m93Bia4H025798; Fri, 3 Oct 2008 13:44:36 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m93BSMEP025750; Fri, 3 Oct 2008 13:28:22 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Fri, 3 Oct 2008 13:28:22 +0200 (CEST) From: Wojciech Puchar To: Warren Liddell In-Reply-To: <200810032028.45073.shinjii@maydias.com> Message-ID: <20081003132801.J25746@wojtek.tensor.gdynia.pl> References: <200810032028.45073.shinjii@maydias.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Utility to extract iso files without burning X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 11:44:46 -0000 mdconfig -a -t vnode -f isofile mount_cd9660 /dev/md0 /somemountpoint On Fri, 3 Oct 2008, Warren Liddell wrote: > Im looking for a GUI or command line that will allow me to extract information > within an ISO file... im using FreeBSD 7.1-PRERELEASE KDE4.1.1 AMD64 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 12:43:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13EC11065693 for ; Fri, 3 Oct 2008 12:43:08 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id D9B7C8FC1D for ; Fri, 3 Oct 2008 12:43:07 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 654251646AF for ; Fri, 3 Oct 2008 08:26:27 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 86E1B23E49B for ; Fri, 3 Oct 2008 08:26:23 -0400 (EDT) Date: Fri, 3 Oct 2008 13:26:17 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081003132617.4c53001c@gumby.homeunix.com.> In-Reply-To: <200810020958.54563.kirk@strauser.com> References: <200810020958.54563.kirk@strauser.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 12:43:08 -0000 On Thu, 2 Oct 2008 09:58:54 -0500 Kirk Strauser wrote: > I have an AMD system with 6GB of RAM. From dmesg: > > usable memory = 6428237824 (6130 MB) > avail memory = 6203797504 (5916 MB) > > However, most of it is just sitting there when it looks like it could > be used for buffers or cache: > > Mem: 1186M Active, 3902M Inact, 468M Wired, 233M Cache, 214M Buf, > 138M Free Swap: 8192M Total, 900K Used, 8191M Free > > Since I've yet to find a great explanation for what the different > types of memory are, could someone say why all that inactive memory > is better than using it for cache or buffers? The terms are a bit misleading, because the don't all relate to the use of the memory from the user's perspective, but how it's seen within FreeBSD's integrated cache/VM system. Active, Inact, Cache and Free are all part of the life-cycle of normal memory pages, they hold pretty much everything used by processes, and disk-caching. "Cache" actually has little to do with caching as such; it contains pages that are still holding data, but can be reused instantaneously because they are consistent with their backing store. In not exactly sure what "Buf" is, but I guess it's low-level disk buffering memory, that can't be discarded the way normal disk caching pages can. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 14:09:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BFFE1065689 for ; Fri, 3 Oct 2008 14:09:26 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from kanga.honeypot.net (kanga.honeypot.net [IPv6:2001:470:a80a:1:21f:d0ff:fe22:b8a8]) by mx1.freebsd.org (Postfix) with ESMTP id DB47D8FC13 for ; Fri, 3 Oct 2008 14:09:25 +0000 (UTC) (envelope-from kirk@strauser.com) Received: from localhost (localhost [127.0.0.1]) by kanga.honeypot.net (Postfix) with ESMTP id 4560D94500F for ; Fri, 3 Oct 2008 09:09:25 -0500 (CDT) X-Virus-Scanned: amavisd-new at honeypot.net Received: from kanga.honeypot.net ([127.0.0.1]) by localhost (kanga.honeypot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OYukzbStQ-HJ for ; Fri, 3 Oct 2008 09:09:23 -0500 (CDT) Received: from athena.daycos.com (athena.daycos.com [IPv6:2001:470:c054:1:221:9bff:fe00:de3f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kanga.honeypot.net (Postfix) with ESMTPSA id E9AA0945010 for ; Fri, 3 Oct 2008 09:09:22 -0500 (CDT) From: Kirk Strauser To: freebsd-questions@freebsd.org Date: Fri, 3 Oct 2008 09:09:19 -0500 User-Agent: KMail/1.9.9 References: <200810020958.54563.kirk@strauser.com> <20081003132617.4c53001c@gumby.homeunix.com.> In-Reply-To: <20081003132617.4c53001c@gumby.homeunix.com.> X-Face: T+/_{qmjgbosI0J/e83I~w[&VF'w)!((xEpj///^bA/6?jHHS?nq+T8_+`nh"WnEWCWG, \}]Y2$)) =?utf-8?q?vLVz4ACChrEcb=7DCO=5EtYmMG=5C=0A=09ts=2Em=3F=5B7=5B6OwE*dAJ*9f+m?= =?utf-8?q?X=2E7R32qeN=5EDJ=5C?=(k@evW?IRQCy.^ MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810030909.20001.kirk@strauser.com> Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 14:09:26 -0000 On Friday 03 October 2008, RW wrote: > The terms are a bit misleading, because the don't all relate to the use > of the memory from the user's perspective, but how it's seen within > FreeBSD's integrated cache/VM system. Thanks to you and everyone else who wrote. I guess I'll go back to using it and letting it manage itself. :-) -- Kirk Strauser From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 14:12:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F4C81065696 for ; Fri, 3 Oct 2008 14:12:53 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 1198B8FC12 for ; Fri, 3 Oct 2008 14:12:52 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 7AD9B23E49A for ; Fri, 3 Oct 2008 10:12:51 -0400 (EDT) Date: Fri, 3 Oct 2008 15:12:48 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081003151248.0dacc310@gumby.homeunix.com.> In-Reply-To: <20081002131435.efa1d07f.wmoran@potentialtech.com> References: <200810020958.54563.kirk@strauser.com> <200810021004.56210.kirk@strauser.com> <20081002131435.efa1d07f.wmoran@potentialtech.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: More RAM for buffers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 14:12:53 -0000 On Thu, 2 Oct 2008 13:14:35 -0400 Bill Moran wrote: > I've never been 100% clear on the exact differences, but it basically > has to do with where the data in RAM came from. Depending on whether > it was a VM page, or a disk page will determine what bucket it goes > into when it moves out of active. The distinction is between clean pages (Cache) and dirty pages (Inactive), a dirty page needs to be written to swap or synced to the disk, before it can be reused. It's the cache queue that gives the kernel "liquidity", once the free memory is drops below about 2%. It actively balances the cache and inactive queues to maintain this. > I'm fairly sure that inactive is memory used by program code. Inactive and cached queues are the first step to recycling memory. The queues don't differentiate between different origins. > When > the program terminates, the memory is marked as inactive, which means > the next time the program starts the code can simply be moved back to > active and the program need not be reloaded from disk. I think such pages can remain active. The level of active memory seems to be mostly a matter of "stock-control". When I shutdown Xorg/KDE, huge amounts of memory remain active for hours. When demand for memory increases, the queues get rebalanced to provide more cached/inactive memory. These figures don't really tell you much. > Buffer and cache memory are disk data held at different points within > the kernel. I've never been 100% clear on the difference, and I > believe it depends heavily on a thorough understanding of how the > kernel works. > > The other rule of thumb I've heard is that the closer memory is to the > left side of top output, the less expensive it is for the kernel to > move it to active ... inactive being the most efficient and cache > requiring the most work by the kernel ... I could be wrong, though. Partly, but it's more the other way around, the further to the right the easier it is to reuse (not counting buffer and wired, which are outside the normal VM/cache system). > I know that a lot of what I'm saying isn't authoritative, so I hope > I'm not remembering any of this wrong. I think to fully understand > how it works you'll need to read _The_Design_and_Implementation_. > Matt Dillon's vm-design article is a good place to start. http://www.freebsd.org/doc/en_US.ISO8859-1/articles/vm-design/article.html From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 15:04:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBDE11065689 for ; Fri, 3 Oct 2008 15:04:50 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from pih-relay04.plus.net (pih-relay04.plus.net [212.159.14.17]) by mx1.freebsd.org (Postfix) with ESMTP id A9C9B8FC16 for ; Fri, 3 Oct 2008 15:04:50 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=kestrel.milibyte.co.uk) by pih-relay04.plus.net with esmtp (Exim) id 1KlmD2-0005Ck-FT for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 16:04:48 +0100 Received: by kestrel.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1KlmD1-0001Ky-I2 for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 16:04:48 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Fri, 3 Oct 2008 16:04:47 +0100 User-Agent: KMail/1.9.7 References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <200810021159.04926.jmc-freebsd2@milibyte.co.uk> <20081002165456.GA91912@slackbox.xs4all.nl> In-Reply-To: <20081002165456.GA91912@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810031604.47290.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on kestrel.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 4e5af8479835b7016d3885b64bb7d75a Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 15:04:51 -0000 On Thursday 02 October 2008, Roland Smith wrote: > Gimp uses Gutenprint doesn't it? So you could try using the > gutenprint driver? That's the odd thing, CUPS is (supposed to be) using the gutenprint driver. Here's a list of the relevant packages: kestrel:/home/mike% pkg_info -Ix cups gutenprint cups-base-1.3.7_2 Common UNIX Printing System cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to non-PS printers gimp-gutenprint-5.1.7 GutenPrint Printer Driver gutenprint-5.1.7 The "meta-port" for GutenPrint gutenprint-base-5.1.7 GutenPrint Printer Driver gutenprint-cups-5.1.7_2 GutenPrint Printer Driver gutenprint-ijs-5.1.7 GutenPrint Printer Driver libgnomecups-0.2.3,1 Support library for gnome cups admistration After a bit of fiddling about with the printer settings for the Gimp I can get tolerable results when printing from the Gimp, though still not as good as the Windows drivers give. Printing from any other application just produces totally wrong psychedelic colours. There's an example showing an original file and a couple of scans of prints at . The images have lost some quality in the scanning but effectively demonstrate what's happening. CUPS is using the ppd file extracted from /usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP4500.5.1.ppd.gz. I'll not post the contents here ( > 2000 lines) but there's a copy at if anybody's interested. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 15:10:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89E44106564A for ; Fri, 3 Oct 2008 15:10:59 +0000 (UTC) (envelope-from amer.alhabsi@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 382068FC08 for ; Fri, 3 Oct 2008 15:10:58 +0000 (UTC) (envelope-from amer.alhabsi@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so323285ele.13 for ; Fri, 03 Oct 2008 08:10:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=6HU2A2pny3MdCvnaITfhohtV3he8JEvSDHMFEHLrWcE=; b=AO+yFNUf3beLz7Hl5TZ073kAoAYUbqn9UeaGneEZir6iHwupumx9yz65b921c3+4Gc 8AnG/FrV0dOSMQNbWvZOrO3aLXIQWahWo+nzT9UEw6s08f1ewb15r0VuaSSiu0HUYKin Fg5jmbQqAVbjQph6o/AR4s4E4gOniVCU3qcLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=d/I5Cab40j7hOkEOXhIYsSimh6LeKIEpNj/UZZPcTNskG3jJ0oPXKAnuszhsVumA6x UFKT1yhOpGe3i6t/2vf6e7MTja/VQi4+embpf+TGrIN4+IdyaXZxFHg5BqWA5DCJAG8W wWH8ek4lf+OrkVYf98TZt4E/i0KBDngfHx58Q= Received: by 10.143.44.17 with SMTP id w17mr404030wfj.242.1223045142567; Fri, 03 Oct 2008 07:45:42 -0700 (PDT) Received: by 10.142.147.11 with HTTP; Fri, 3 Oct 2008 07:45:42 -0700 (PDT) Message-ID: Date: Fri, 3 Oct 2008 18:45:42 +0400 From: "Amer Alhabsi" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Network card SiS 191 not detected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 15:10:59 -0000 Hi, I have Benq Joybook R43 notebook. It has network interface based on SiS 191. However, I can't configure it as it does not show up in ifconfig nor in sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached. I wonder if there is a way to get it working. Here is part of the output of pciconf -lv none0@pci0:0:4:0: class=0x020000 card=0x059417ff chip=0x01911039 rev=0x02 hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)' device = 'SIS191 SIS191' class = network subclass = ethernet And here is dmesg.boot Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz (1999.45-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 936968192 (893 MB) avail memory = 903118848 (861 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 19:59:27) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x9000-0x907f mem 0xc0000000-0xcfffffff,0xd4000000-0xd401ffff irq 16 at device 0.0 on pci1 isab0: at device 2.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1080-0x108f at device 2.5 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ohci0: mem 0xd4204000-0xd4204fff irq 20 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xd4205000-0xd4205fff irq 21 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xd4206000-0xd4206fff irq 22 at device 3.3 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: on usb2 uhub2: 8 ports with 8 removable, self powered umass0: on uhub2 pci0: at device 4.0 (no driver attached) atapci1: port 0x10c8-0x10cf,0x10bc-0x10bf,0x10c0-0x10c7,0x10b8-0x10bb,0x10a0-0x10af irq 17 at device 5.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pcib2: irq 16 at device 6.0 on pci0 pci2: on pcib2 ath0: mem 0xd4100000-0xd410ffff irq 16 at device 0.0 on pci2 ath0: [ITHREAD] ath0: unable to attach hardware; HAL status 13 device_attach: ath0 attach returned 6 pcib3: irq 16 at device 7.0 on pci0 pci4: on pcib3 pci0: at device 15.0 (no driver attached) acpi_lid0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 acpi_button0: on acpi0 acpi_button1: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd17ff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. acd0: DVDR at ata0-master WDMA2 ad4: 152627MB at ata2-master WDMA2 GEOM_LABEL: Label for provider ad4s1 is ext2fs//boot. SMP: AP CPU #1 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s3a Amer, Thanks, From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 15:27:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6650106568B for ; Fri, 3 Oct 2008 15:27:30 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 50F678FC16 for ; Fri, 3 Oct 2008 15:27:29 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA05.westchester.pa.mail.comcast.net with comcast id NBd41a0200vyq2s55FTVy0; Fri, 03 Oct 2008 15:27:29 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA05.westchester.pa.mail.comcast.net with comcast id NFTT1a00E2P6wsM3RFTTLr; Fri, 03 Oct 2008 15:27:28 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=aixOwHAQ9E-jXk-ih3gA:9 a=04JevFE3s5p6E1fF5h0A:7 a=7OTkMatjcClnMQeZNya597y4WeEA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 2CBC4C9419; Fri, 3 Oct 2008 08:27:27 -0700 (PDT) Date: Fri, 3 Oct 2008 08:27:27 -0700 From: Jeremy Chadwick To: Andreas Davour Message-ID: <20081003152727.GA32281@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: A question about the root shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 15:27:30 -0000 On Fri, Oct 03, 2008 at 05:20:32PM +0200, Andreas Davour wrote: > I'm not a csh user, in fact I hate it. Though, I use it as it is out of > the box for root so I'm reminded I'm not an unpriv user any longer. > > That being said I'm getting annoyed by the fact that the root shell is > always showing me all the "dot files" all the time. It clutters up the > terminal with so many files I don't see the ones I want to work with! Is > there a way to turn this feature off? > > I even tried to start a bash and alias ls to ls -F but it still kept > showing me the dot-files I'd rather not see. This is not a shell issue, as it applies to csh, sh, and bash. The "problem" is FreeBSD's /bin/ls. See the ls(1) man page, specifically the -A option description. What you want is the -I flag. Place the following in /root/.cshrc to get what you want: alias ls /bin/ls -I -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 15:30:56 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D864C1065686 for ; Fri, 3 Oct 2008 15:30:56 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 913C58FC1A for ; Fri, 3 Oct 2008 15:30:56 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:53552 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KlmcJ-0006iC-4g for freebsd-questions@freebsd.org; Fri, 03 Oct 2008 17:30:55 +0200 Received: (qmail 22344 invoked from network); 3 Oct 2008 17:30:51 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 3 Oct 2008 17:30:51 +0200 Received: (qmail 86290 invoked by uid 1001); 3 Oct 2008 17:30:51 +0200 Date: Fri, 3 Oct 2008 17:30:51 +0200 From: Erik Trulsson To: Andreas Davour Message-ID: <20081003153051.GA86147@owl.midgard.homeip.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1KlmcJ-0006iC-4g. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KlmcJ-0006iC-4g db745c7a61aa99706c960e0ac3f95ee5 Cc: freebsd-questions@freebsd.org Subject: Re: A question about the root shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 15:30:56 -0000 On Fri, Oct 03, 2008 at 05:20:32PM +0200, Andreas Davour wrote: > > I'm not a csh user, in fact I hate it. Though, I use it as it is out of > the box for root so I'm reminded I'm not an unpriv user any longer. > > That being said I'm getting annoyed by the fact that the root shell is > always showing me all the "dot files" all the time. It clutters up the > terminal with so many files I don't see the ones I want to work with! Is > there a way to turn this feature off? > > I even tried to start a bash and alias ls to ls -F but it still kept > showing me the dot-files I'd rather not see. > > Anyone? > > /Andreas Is the problem the output of ls(1) or the output when using (some form of) tab-completion or perhaps the result of evaluating wildcard characters ('*', '?', etc)? In the former case it has nothing to do with which shell you are using but is instead a feature of ls(1). Read the ls(1) manpage and pay special attention to the '-A' and '-I' options. In the second and third case (tab completion and wildcard expansion) it depends entirely on your shell how it is handled. I am afraid I am not familiar enough with either bash or csh to say how (or even if) it can be configured with them. With zsh (my preferred shell) one can control if dot-files should be expanded or not with 'setopt globdots'/'setopt noglobdots'. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 16:57:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D73B2106568C for ; Fri, 3 Oct 2008 16:57:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 532998FC12 for ; Fri, 3 Oct 2008 16:57:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id m93GvSqA002077; Fri, 3 Oct 2008 18:57:28 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id E4B86BA95; Fri, 3 Oct 2008 18:57:27 +0200 (CEST) Date: Fri, 3 Oct 2008 18:57:27 +0200 From: Roland Smith To: Mike Clarke Message-ID: <20081003165727.GA31034@slackbox.xs4all.nl> References: <200810011546.29798.jmc-freebsd2@milibyte.co.uk> <200810021159.04926.jmc-freebsd2@milibyte.co.uk> <20081002165456.GA91912@slackbox.xs4all.nl> <200810031604.47290.jmc-freebsd2@milibyte.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cNdxnHkX5QqsyA0e" Content-Disposition: inline In-Reply-To: <200810031604.47290.jmc-freebsd2@milibyte.co.uk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Canon Pixma iP4500 - problem with colours X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 16:57:30 -0000 --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 03, 2008 at 04:04:47PM +0100, Mike Clarke wrote: > On Thursday 02 October 2008, Roland Smith wrote: >=20 > > Gimp uses Gutenprint doesn't it? So you could try using the > > gutenprint driver? >=20 > That's the odd thing, CUPS is (supposed to be) using the gutenprint=20 > driver. Here's a list of the relevant packages: With my previous (non-postscript) LaserJet 6L printer, there were two drive= rs I could use, IIRC. One labeled "LaserJet 6L" and one labeled "LaserJet 6L (gimp-print)" or something like that. > After a bit of fiddling about with the printer settings for the Gimp I=20 > can get tolerable results when printing from the Gimp, though still not= =20 > as good as the Windows drivers give. Printing from any other=20 > application just produces totally wrong psychedelic colours. There's an= =20 > example showing an original file and a couple of scans of prints at=20 > . The images have lost some=20 > quality in the scanning but effectively demonstrate what's happening. It looks like it is rasterizing too coarse. =20 > CUPS is using the ppd file extracted=20 > from /usr/local/share/cups/model/gutenprint/5.1/en_GB/stp-bjc-PIXMA-iP450= 0.5.1.ppd.gz.=20 > I'll not post the contents here ( > 2000 lines) but there's a copy at=20 > if anybody's interested. I can't spot anything suspicous in that. Maybe you should try a gutenprint mailing-list/forum.=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjmTvcACgkQEnfvsMMhpyU45QCdHnoAIBknd6LBTrNzSSFiMzFc kMcAni+CgVsQvPIhrxQfCE4L3mdqJyNB =Yeh4 -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 17:24:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00076106568C for ; Fri, 3 Oct 2008 17:24:23 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1248FC12 for ; Fri, 3 Oct 2008 17:24:23 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so295034yxb.13 for ; Fri, 03 Oct 2008 10:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:sender; bh=RDJYAuOHA4Jg/AoO+lmPyAp9kpAgS3oQo1txM5UHwVc=; b=heDJdMxz5De47GfgKCfpdboKNOc41vUPtuVR6TfVqDoQuCpNkrpaA8a0PKraWn/ZvH 6MKLKJAqCbmaTMwQOsnoGUIOyCv8a+xSz1I+5MrTYrn0sD5ZNeHjnNKmR8eWBNkxzkhh zLcf3BhtLzTHtW4dH9FPZnVIJJMns4a4UzUOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:sender; b=LDkjoCVpNdHAipQ6Oq2W9SK6eplyf22mLU0xKwTrqs7k5xSTWOZ39mJ1V+SqYw6xi1 eYjhmgHTWQ+KIYxhLHfD1CiNqTNzoztifT8M/yeqPvAenym0IXsKYdoXfdKfIdofXJ1g ZZ1xv3Ji8bs0Mqmovbm6c1980wO9f5izqD5M0= Received: by 10.65.114.4 with SMTP id r4mr1379040qbm.21.1223054662342; Fri, 03 Oct 2008 10:24:22 -0700 (PDT) Received: from piglet ([216.191.234.70]) by mx.google.com with ESMTPS id k29sm5125288qba.7.2008.10.03.10.24.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Oct 2008 10:24:21 -0700 (PDT) Received: by piglet (Postfix, from userid 1000) id 30D0E18C144; Fri, 3 Oct 2008 13:26:04 -0400 (EDT) Date: Fri, 3 Oct 2008 13:26:04 -0400 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20081003172602.GB6090@piglet.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hHWLQfXTYDoKhP50" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Sender: "Michael P. Soulier" Subject: port marked as IGNORE ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 17:24:24 -0000 --hHWLQfXTYDoKhP50 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable When I portupgrade, I see this [root@kanga ~]# portupgrade -a [Updating the pkgdb in /var/db/pkg ... - 369 packages found (-2 +1) (...). done] ** Port marked as IGNORE: misc/ldconfig_compat: isn't needed (part of base rc.d) But a couple of ports need it to upgrade, so they fail.=20 How would this have been marked as IGNORE and what should I do to permit upgrades to continue? Thanks, Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --hHWLQfXTYDoKhP50 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI5lWqKGqCc1vIvggRAgNhAJ9yGZxwHYQl+nGqjaB4E05oRNynXQCgkR// C4X5BBhTaSC731po8n1GG/g= =f60j -----END PGP SIGNATURE----- --hHWLQfXTYDoKhP50-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 17:24:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF73F10656B7 for ; Fri, 3 Oct 2008 17:24:52 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 6A2428FC14 for ; Fri, 3 Oct 2008 17:24:52 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so296702ywe.13 for ; Fri, 03 Oct 2008 10:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent:sender; bh=KxWoTr1rSRs6uDYWI+6fWUP8h21PG2vtiJvCJHgFG0A=; b=wF0XKc5R6Vvu2vRxg2ngt4JzUDnPO17dzFvMQ83gam9FQdZ90RrisnGbNItk+yBbRO +PTExph/grPJmlcQtyL9KflZ1r0viX/9WkQM1owfuSjkCQ6B5fWafRvVibkF4fs6HcaW k4uIZC0jAwINOHBT67bUpZu2ccfWRK2ry4UrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent:sender; b=C2HjgLfPNjU3VzXIeWXiQLVbrnhoPHv1mFEqUwquryeQzE5jOHCmwisox62ojbyonT N5gxqKMa67O4fzUvPKc7st4bRbFJP7CCRuEpq0KDzVwWm6LFFyS3PF1Zn23pPs0TzB9m LKUSYnIja9YXz+GtXl0GAPlixOjmF2PnAy3U8= Received: by 10.65.219.20 with SMTP id w20mr1379958qbq.43.1223054691178; Fri, 03 Oct 2008 10:24:51 -0700 (PDT) Received: from piglet ([216.191.234.70]) by mx.google.com with ESMTPS id p9sm5122071qbp.15.2008.10.03.10.24.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Oct 2008 10:24:50 -0700 (PDT) Received: by piglet (Postfix, from userid 1000) id 8CC7118C144; Fri, 3 Oct 2008 13:26:33 -0400 (EDT) Date: Fri, 3 Oct 2008 13:26:33 -0400 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20081003172624.GC6090@piglet.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZmUaFz6apKcXQszQ" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Sender: "Michael P. Soulier" Subject: portupgrade failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 17:24:52 -0000 --ZmUaFz6apKcXQszQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable So, I recently upgraded from 5.5 to 6.3, and as such, ran a portupgrade -fa to rebuild my ports against 6.3.=20 I just noticed this.=20 =3D=3D=3D> Cleaning for ruby-1.8.6.287,1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... Inappropriate file type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... - 366 packages found (-0 +366) =2E........................................................................= =2E..........................100...........................................= =2E........................................................200.............= =2E........................................................................= =2E.............300........................................................= =2E......... done] /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:215:in `origin': Failed `Inappropriate file type or format' (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:205:in `origin' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:245:in `config_include?' from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:215:in `config_ignore_moved?' from /usr/local/sbin/portupgrade:937:in `do_upgrade' from /usr/local/sbin/portupgrade:815:in `main' from /usr/local/sbin/portupgrade:811:in `each' from /usr/local/sbin/portupgrade:811:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 Any idea what would cause this? Thanks, Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --ZmUaFz6apKcXQszQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI5lXAKGqCc1vIvggRAkQwAJoCB/k4fthLMfV0FmqXUWfuZIfpbwCfWR+N GHWKliX1kvp4VQMZ0ENc56g= =CnQh -----END PGP SIGNATURE----- --ZmUaFz6apKcXQszQ-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 17:48:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B27C106568A for ; Fri, 3 Oct 2008 17:48:05 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4D12E8FC25 for ; Fri, 3 Oct 2008 17:48:03 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m93Hm1FW083474; Sat, 4 Oct 2008 03:48:02 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 4 Oct 2008 03:48:01 +1000 (EST) From: Ian Smith To: DA Forsyth In-Reply-To: <20081003114458.0CA75106573F@hub.freebsd.org> Message-ID: <20081004032045.H49572@sola.nimnet.asn.au> References: <20081003114458.0CA75106573F@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 17:48:05 -0000 On Fri, 03 Oct 2008 10:08:52 +0200 "DA Forsyth" wrote: > On 2 Oct 2008 , freebsd-questions-request@freebsd.org entreated about > "freebsd-questions Digest, Vol 235, Issue 11": I'm replying to the digest too, so threading is doubly screwed :) > > No need to change log rotation software since the problem clearly is > > somewhere else. You need to inspect Apache's error logs to see why it > > cannot start. > > the previous error log shows > [Wed Oct 01 08:00:03 2008] [notice] Graceful restart requested, doing > restart > [Wed Oct 01 08:00:04 2008] [notice] seg fault or similar nasty error > detected in the parent process This is what you need to find and fix. Most likely a config error of some sort .. possibly re some module - php extensions order, maybe? What does 'apachectl configtest' have to say? > the new error log shows, after the manual start > [Wed Oct 01 08:39:09 2008] [warn] pid file /var/run/httpd.pid > overwritten -- Unclean shutdown of previous Apache run? > [Wed Oct 01 08:39:09 2008] [notice] Apache/2.0.63 (FreeBSD) PHP/4.4.9 > with Suhosin-Patch DAV/2 SVN/1.5.2 configured -- resuming normal > operations > > those error messages are repeated any time I do a > apachectl graceful > > However, doing > apachectl stop > apachectlstart > works as expected. See apachectl(8) .. apachectl graceful sends httpd a SIGUSR1, as does your previously mentioned newsyslog line, which shuts apache down but without murdering existing connections, while apachectl restart does. However both graceful and restart run configttest before restarting, and it seems likely that's where/why it's bombing. OTOH, apachectl start doesn't run configtest, maybe explaining why it starts up ok that way? > apache version is apache-2.0.63_2 from ports > uname -a gives > FreeBSD iwr.ru.ac.za 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Mon > Jun 2 13:10:26 SAST 2008 > iwr.ru.ac.za:/usr/obj/usr/src/sys/KERNIWR70 i386 Here running apache 1.3 on 5.5-STABLE, but I doubt the apachectl functionality has changed significantly, though I may be wrong .. > php v4 is installed, though i do plan to upgrade that to V5 as soon > as I get time to do it. Good idea, especially if PHP is related to your apparent config issue. > PS: I used to use logrotate, but it too stopped working correctly, > with apache process stopping in a similar way that is why I changed > to newsyslog. I rotate the logs monthly, and set it to 8am so there > is a chance I'll be on hand to start apache to minimize downtime. Theoretically if it survives an apachectl configtest, you should be good to go - and if it doesn't, neither method will restart apache. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 17:49:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F3F91065688 for ; Fri, 3 Oct 2008 17:49:55 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id B8DEA8FC12 for ; Fri, 3 Oct 2008 17:49:54 +0000 (UTC) (envelope-from fbsd06+2L=adfcea19@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id AFE7823E498 for ; Fri, 3 Oct 2008 13:49:52 -0400 (EDT) Date: Fri, 3 Oct 2008 18:49:48 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20081003184948.430b0ef8@gumby.homeunix.com.> In-Reply-To: <20081003172602.GB6090@piglet.digitaltorque.ca> References: <20081003172602.GB6090@piglet.digitaltorque.ca> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: port marked as IGNORE ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 17:49:55 -0000 On Fri, 3 Oct 2008 13:26:04 -0400 "Michael P. Soulier" wrote: > When I portupgrade, I see this > > [root@kanga ~]# portupgrade -a [Updating the pkgdb > in /var/db/pkg ... - 369 packages found (-2 +1) (...). done] > ** Port marked as IGNORE: misc/ldconfig_compat: > isn't needed (part of base rc.d) > > But a couple of ports need it to upgrade, so they fail. > > How would this have been marked as IGNORE and what should I do to > permit upgrades to continue? The port isn't needed in recent versions of the FreeBSD, and I see from your other post that you recently upgraded from 5.x to 6.x. Try deleting the port and running pkgdb -F. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 20:06:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA863106568A for ; Fri, 3 Oct 2008 20:06:06 +0000 (UTC) (envelope-from joerosenfeld@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0008FC1D for ; Fri, 3 Oct 2008 20:06:06 +0000 (UTC) (envelope-from joerosenfeld@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1130828fgb.35 for ; Fri, 03 Oct 2008 13:06:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sdzCuE3/lH299oOXjH4SOhPUbQaHCkYLYv1PmQvl+w4=; b=ta6bCrhZRV/DMC8h/0NIPf4Y2MeYcueqLBLbtbfI9Fjsw9kKoSR3PTeXNOF/Az3TFc +It8XJe5WaizsJRIrEXtw9szEAjD+oSqZg8QvQhY05aDSNpxD0uLIjXPbcdmggQ+dKMT vEIGEwcdOS9Bgcf5AUlvqnXXIQV/vh/SRyvx8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=sBPcsMWhSQnHjEILTqvKpeSoT6zdFCvLClz3WnSWGAjkP5H3GJeR3Neyi1eEIweze5 ROc23Oejvjh8GjEzdD0Q+conlVxyP/SbuKDThXylUENUTHMXaVrGrwOL16GhBtOmDA83 SVS70rIlAnPPoqqEF6sy1OSkBqOG71NpgUzsY= Received: by 10.180.244.19 with SMTP id r19mr1240922bkh.94.1223064365125; Fri, 03 Oct 2008 13:06:05 -0700 (PDT) Received: by 10.181.4.2 with HTTP; Fri, 3 Oct 2008 13:06:05 -0700 (PDT) Message-ID: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> Date: Fri, 3 Oct 2008 16:06:05 -0400 From: "Joachim Rosenfeld" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: exporting/exposing directory over the Internet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 20:06:07 -0000 I wish to store some files on my FreeBSD 7 server that will be used by various clients (FreeBSD, Windows, and Linux). What is a good way to export a directory so that it can be mounted on various systems and seen as a local directory? NFS is out, for security reasons. I was thinking of Samba, but I'm not sure of the security implications of using it over the public Internet. Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm not sure if it can do what I need it to do. Any recommendations? From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 20:11:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 242C8106568A for ; Fri, 3 Oct 2008 20:11:52 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell.rawbw.com (shell.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id EDDF28FC0A for ; Fri, 3 Oct 2008 20:11:51 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from eagle.syrec.org (c-67-188-126-36.hsd1.ca.comcast.net [67.188.126.36]) (authenticated bits=0) by shell.rawbw.com (8.13.6/8.13.6) with ESMTP id m93KDKw2005551 for ; Fri, 3 Oct 2008 13:13:20 -0700 (PDT) Message-ID: <48E67C86.5030206@rawbw.com> Date: Fri, 03 Oct 2008 13:11:50 -0700 From: Yuri User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How stable is FreeBSD WiFi support? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yuri@rawbw.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 20:11:52 -0000 I have FreeBSD-70 machine and Linux Gentoo machines side by side (within 10 feet). Gentoo Linux (with old AirLink101) connects to a particular encrypted WEP network without any problems all the time. FreeBSD (with ral0 device and native driver) connection is very unstable, keeps disappearing, though network card shows signal level as -90:-95. dhclient fails to set up the card, often dhclient succeeds but all name lookups fails. When internet connection is established all TCP connections get dropped after 10-20 minutes or less. I feel like I hit some bug in FreeBSD WiFi networking support. Anyone has similar experience? Yuri FreeBSD xxx.xxx.xxx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Sep 27 15:23:29 PDT 2008 yuri@xxx.xxx.xxx:/usr/obj/usr/src/sys/GENERIC i386 From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 21:44:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568AA1065689 for ; Fri, 3 Oct 2008 21:44:50 +0000 (UTC) (envelope-from pmembrey@naniteservices.co.uk) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 36BF48FC0C for ; Fri, 3 Oct 2008 21:44:49 +0000 (UTC) (envelope-from pmembrey@naniteservices.co.uk) Received: by rv-out-0506.google.com with SMTP id b25so1634877rvf.43 for ; Fri, 03 Oct 2008 14:44:49 -0700 (PDT) Received: by 10.141.114.19 with SMTP id r19mr967264rvm.295.1223068761589; Fri, 03 Oct 2008 14:19:21 -0700 (PDT) Received: by 10.141.146.15 with HTTP; Fri, 3 Oct 2008 14:19:21 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 05:19:21 +0800 From: "Peter Membrey" Sender: pmembrey@naniteservices.co.uk To: freebsd-questions@freebsd.org In-Reply-To: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> X-Google-Sender-Auth: 76d84ff78d601181 Subject: Re: exporting/exposing directory over the Internet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 21:44:50 -0000 Hi Joachim, If I were setting something like this up, I would make sure that it was done over a VPN. OpenVPN is a pretty neat solution that works easily on all of the platforms you'll be using. It's very straight forward to set up and will give you a secure network that you can run whatever file sharing solution you want. If you ensure that you are only offering the resource via the VPN, you can be sure (OpenVPN supports certificate and password based authentication) that only trust people will be able to see the service, much less access it. I have noticed that there isn't a section on OpenVPN in the handbook - I guess I should contribute one :) Cheers, Pete 2008/10/4 Joachim Rosenfeld : > I wish to store some files on my FreeBSD 7 server that will be used by > various clients (FreeBSD, Windows, and Linux). What is a good way to > export a directory so that it can be mounted on various systems and > seen as a local directory? > > NFS is out, for security reasons. > > I was thinking of Samba, but I'm not sure of the security implications > of using it over the public Internet. > > Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm > not sure if it can do what I need it to do. > > Any recommendations? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 22:18:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E16E51065677 for ; Fri, 3 Oct 2008 22:18:35 +0000 (UTC) (envelope-from abalour@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 8DFF48FC0A for ; Fri, 3 Oct 2008 22:18:35 +0000 (UTC) (envelope-from abalour@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so101853ana.13 for ; Fri, 03 Oct 2008 15:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:cc:in-reply-to:mime-version:content-type :references:x-google-sender-auth; bh=h+ffKlyssZsCb1ZKfcIsnw7dtmZQ0v8kZtXNkBb79Ig=; b=X0sEQ1WoGdqXFbqETRUHjTAtmP1gGZSuMameRGApHsJIxKkFuA47AVfMWLkA7f9f8h Jxu1fsQ4RaMxqzvWRNIWcoFRPowY5auwGHMwmJFnf+1woEwHPZVN6hz+18Jr9omD/ywV TrYOVTEUy+tNAVrg2TKn4s+X79+tCHOGQYW/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to :mime-version:content-type:references:x-google-sender-auth; b=ldfYRYq31KATnokJUO/UthcxBLGRJfxyjWu63lSyYJGPn1vQ5i+EfCLTIJElNO7FCF Wq4HJPOHogBs0yPiyBnajaccnwijYBKPQPQQvhbd4fCynCIijARLhnUMdWaQmfNpr0cq gMJG4vFadnGNZlhfczeX21DdKwiRs49ANiiX4= Received: by 10.65.59.11 with SMTP id m11mr1922088qbk.81.1223072314155; Fri, 03 Oct 2008 15:18:34 -0700 (PDT) Received: by 10.65.236.7 with HTTP; Fri, 3 Oct 2008 15:18:34 -0700 (PDT) Message-ID: <35f70db10810031518v6133438cocc79d4cf22e0d47b@mail.gmail.com> Date: Sat, 4 Oct 2008 00:18:34 +0200 From: "Ross Cameron" Sender: abalour@gmail.com To: "Joachim Rosenfeld" In-Reply-To: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> MIME-Version: 1.0 References: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> X-Google-Sender-Auth: b1b7043005831771 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: exporting/exposing directory over the Internet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ross.cameron@linuxpro.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2008 22:18:36 -0000 Use SFTP (aka SSH file sharing) and mount the folder's using SftpDrive on Windows and various tools are available for doing that under UNIX. On Fri, Oct 3, 2008 at 10:06 PM, Joachim Rosenfeld wrote: > I wish to store some files on my FreeBSD 7 server that will be used by > various clients (FreeBSD, Windows, and Linux). What is a good way to > export a directory so that it can be mounted on various systems and > seen as a local directory? > > NFS is out, for security reasons. > > I was thinking of Samba, but I'm not sure of the security implications > of using it over the public Internet. > > Somebody mentioned WebDAV, but I'm not familiar with it at all and I'm > not sure if it can do what I need it to do. > > Any recommendations? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Oct 3 23:18:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83C6D106575D for ; Fri, 3 Oct 2008 23:18:05 +0000 (UTC) (envelope-from amir.farivar@snakkmedia.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2EC798FC24 for ; Fri, 3 Oct 2008 23:18:05 +0000 (UTC) (envelope-from amir.farivar@snakkmedia.com) Received: by qw-out-2122.google.com with SMTP id 9so436142qwb.7 for ; Fri, 03 Oct 2008 16:18:04 -0700 (PDT) Received: by 10.214.81.3 with SMTP id e3mr2728459qab.87.1223074258668; Fri, 03 Oct 2008 15:50:58 -0700 (PDT) Received: from ?10.1.0.104? ([66.88.215.226]) by mx.google.com with ESMTPS id 30sm3919345yxk.4.2008.10.03.15.50.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Oct 2008 15:50:58 -0700 (PDT) User-Agent: Microsoft-Entourage/11.4.0.080122 Date: Fri, 03 Oct 2008 15:50:52 -0700 From: Amir Farivar To: Message-ID: Thread-Topic: SNAKK Media| Mobile Web Blog Thread-Index: AckOu+WSJFZt+nqvEd2yegAbY6WtlAAACkgZAAAFqeoAAAU3OQAABtvoAAAFEf4AAAwS5AAACPH2AAADbV4AAAU3hwAABRGdAAADlCsAAApITgAABRE+AAALB6oAABFJyQAABo5IAAAE6/MAAA22YwAAAq6XAAAExT0AAAU3bgAABts2AAAFN20AAAXQgQAABOszAAAFXcIAAAhY7AAAGvklAC2i9XMAAAYcLwAACdaHAAAGHCcAAAMhIAAEouHiAAAIWBIAAAUR7QAABTc6AAAHmUAAAANucAAADPflAAAHJy8AAAa0yQAABJ/+AAAGaPsAAAbbxQAAA20fAAjj2+MAAAPgBwAABRHKAAAFg5EAAAWELQAABaknAAAFEQMAAAWEvgAAA9/wAAAFEecAAATFXgAABMXGAAADbSYAAAlk8wAAA7naAAAGQswAAATFQAAABfaqAAAFqpYAAAZCPQAABHh5AAAFN3YAAATraAAABREuAAAS7RsAAAURDAAABMSOAAAGHA4AAAURLgAABMV9AAAExQwAAAVdiwAAB+btAAAFEdYAAAXQDAAABHj3AAAC1YUAAAX29AAAAvuEAAAGHBkAAAQGbQCUjuTIAAAC+3YAADw09gAABYPQAAAFN94AAB7ZkAAABkJDAAAFXc4AADC6VwAAELGlAAGBfvAAAA/LzwAAA7qSAABRXJ8AAATFBAAABYPQAAAEnyYAAAVdkAAABTfFAAADSOkAAAOThAAAAolpAAATq14AAAOU7gAABfVVAAACYwwAAAURNwAABYPdAAADIdAAAAR5tQAAAoilAAACPDkAAAPgawAABtsmAAAKlLYAAAsHDwAAAmPLAAACiM8AABRq/gAABJ8sAAAC+9EAAASeRQAABMWkAAAEn+QAAALUVgAAgE0YAAAEeEQAAAI90AAv1S2MAAAVwrAAAAKuAwAABV5YAAKkzwAAAAPg5QAAAvu7 AJCVJcIAABseVQAAC6B8AAAC1RsAAAoiDQAABtrDAABse1IAAAQs2wAAA25hAAAC1ckAAALUNwAABFMSAAADk6oAAANH4QAABC2CAAAIWGsAAAZCSgAADnQiAAAGHKsAAATFTAAAA0dvAAADuikAAAMhMwAAOkOxAAAC+4wAAAURjAAABTeRAAAF9iAAAALVggAABmiFAAADSMcAAAeZqQAABOtIAAAC+yEAAAjL3AAAA0f0AAADR0wAl7/tRgAABHh0AAAFEVgAAZeyvgAACy09AAADuikAABQetAAAEnquAAAYvK0Dh4YV3wAABMVRAAADujwAAAPgTwAAHyQv In-Reply-To: Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: SNAKK Media| Mobile Web Blog X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Oct 2008 23:18:05 -0000 Hey, I just wanted to follow up with you because I think your website would be a great addition to our Mobile Magazine and I would like to bring you on as a premium partner. The opportunity will take your syndicated content into the mobile web at no development cost and create a revenue stream for you through ads we place within the Mobile Magazine. Please let me know when a good time can be for us to speak. Blog On! Amir Snakk Media | Los Angeles Snakkmedia.com Ph: +1 310 860 8031 Mob: +1 310 463 7227 Checkout 310.TV, the worlds first Mobile Magazine. 404.TV coming soon! From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 04:41:33 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B313F1065691 for ; Sat, 4 Oct 2008 04:41:33 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 44AA28FC1C for ; Sat, 4 Oct 2008 04:41:33 +0000 (UTC) (envelope-from freebsdemail@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1222415fgb.35 for ; Fri, 03 Oct 2008 21:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=ugTJNg3UpLBiMmRanRCK1Qw3k8B5dlXx/glMv6voqBs=; b=viSbu85hCoJ1AdH6HF25fmSraDuoj4Rn/SNdx5GolQ0m5YETXJgT/KJI0PfzdvLAHh v6KepZzIpTj8OlPcjWYqlWdGvR6FcRzcHmHlC8xnmn9qGIAX8pcIcayaadZJgFxrRpZP vl4StILyV6tpMTbEBrbHiuNG0E0SZWorWgg50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=vMVX8YQj6wRZvjPDHFgkmPmOVPfCg24wOxsRBZ/1iboFC347abfBTOzzu08p7X+560 s5X5kWKh8OB6N7fvfUb8Dmum5HoxFzeL9Rowshw/n4lMgObqE9bQn7GnCov79jRFsPts XKattaB/XnE+TIslMYIMmxHeNCCStLet3fUhY= Received: by 10.180.248.13 with SMTP id v13mr1519626bkh.14.1223095291903; Fri, 03 Oct 2008 21:41:31 -0700 (PDT) Received: by 10.180.244.3 with HTTP; Fri, 3 Oct 2008 21:41:31 -0700 (PDT) Message-ID: <5cdef660810032141p567fad46vac8a7a6b0451e735@mail.gmail.com> Date: Fri, 3 Oct 2008 22:41:31 -0600 From: "Tom Stuart" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Vista Dual Boot issues - Does not start on a track boundary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 04:41:33 -0000 Hi Guys, I'm nowhere near new on the FreeBSD front but have Never done a dual boot with vista. Vista came pre-installed on this machine and I created another partition using the resize function of Vista. When I'm setting up my slices its complaining about Chunk ad0S1 does not start on a track boundary... Does anyone know if this is a common problem and the easiest way to resolve this issue? I've tried going on and setting up the labels but upon installation of packages it seems as though its having problem doing a chroot due to the partitions not being setup correctly. I know I could delete all slices and start out with freebsd and then install vista but it would involve backing up approx. 150Gigs of data. I've also done approximately 5 hours of searching archives, etc to no avail. I've tried everything with no success on FreeBSD7.0 Release, 7.1 beta and 8.0 current. Thanks, Tom From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 05:56:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27B00106568B for ; Sat, 4 Oct 2008 05:56:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id E01068FC17 for ; Sat, 4 Oct 2008 05:56:17 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 775EF5C2E7EF for ; Sat, 4 Oct 2008 15:52:55 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <48E67C86.5030206@rawbw.com> References: <48E67C86.5030206@rawbw.com> Content-Type: text/plain Date: Sat, 04 Oct 2008 15:53:20 +1000 Message-Id: <1223099600.27632.5.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 775EF5C2E7EF.1E02C X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: How stable is FreeBSD WiFi 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: Sat, 04 Oct 2008 05:56:18 -0000 On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote: > I have FreeBSD-70 machine and Linux Gentoo machines side by side (within > 10 feet). > Gentoo Linux (with old AirLink101) connects to a particular encrypted > WEP network without any problems all the time. > FreeBSD (with ral0 device and native driver) connection is very > unstable, keeps disappearing, though network card shows signal level as > -90:-95. > dhclient fails to set up the card, often dhclient succeeds but all name > lookups fails. When internet connection is established all TCP > connections get dropped after 10-20 minutes or less. > > I feel like I hit some bug in FreeBSD WiFi networking support. > > Anyone has similar experience? > Yuri Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2). I posted something about a week or two back, but I didn't get any response here. Not sure where to go from here though, as I'm having similar troubles with the ral driver too (desktop- 6.3). Seems to be wpa supplicant from my troubleshooting. If I manually reassociated with the iwi it was ok, but didn't hold out- I was going to setup a script to run a check and do this. The ral driver works if I set it auto, but wpa supplicant will only work in manual mode. Catch 22 on that one... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 05:56:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AEB81065686 for ; Sat, 4 Oct 2008 05:56:21 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id C1EAA8FC08 for ; Sat, 4 Oct 2008 05:56:20 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 728D75C2F025 for ; Sat, 4 Oct 2008 15:55:30 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <35f70db10810031518v6133438cocc79d4cf22e0d47b@mail.gmail.com> References: <6e5cf6a70810031306h589c56c0udb373befd4cc0f66@mail.gmail.com> <35f70db10810031518v6133438cocc79d4cf22e0d47b@mail.gmail.com> Content-Type: text/plain Date: Sat, 04 Oct 2008 15:56:03 +1000 Message-Id: <1223099763.27632.9.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 728D75C2F025.DE847 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: exporting/exposing directory over the Internet? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 05:56:21 -0000 On Sat, 2008-10-04 at 00:18 +0200, Ross Cameron wrote: > Use SFTP (aka SSH file sharing) and mount the folder's using SftpDrive on > Windows and various tools are available for doing that under UNIX. Wouldn't an ssl version of webdav do the same sort of thing without all the extra hassle in (heaven forbid) window$? I think there is a network folder system that can access webdav on the M$ crap, and I believe there is a webdavs in the apache modules. Correct me if I'm wrong... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 06:07:47 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C110B106568D for ; Sat, 4 Oct 2008 06:07:47 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id A5F918FC12 for ; Sat, 4 Oct 2008 06:07:47 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id NVo61a00D0EPchoA6W7nAM; Sat, 04 Oct 2008 06:07:47 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA01.emeryville.ca.mail.comcast.net with comcast id NW7l1a0042P6wsM8MW7mfH; Sat, 04 Oct 2008 06:07:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=kgCvJx0R-FAA:10 a=UjR37lisbM4A:10 a=QycZ5dHgAAAA:8 a=7sRUS4uvZIo8srgQElIA:9 a=6yxU8UlJH-PxkipkLag6J0-x6WUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 7B407C941A; Fri, 3 Oct 2008 23:07:45 -0700 (PDT) Date: Fri, 3 Oct 2008 23:07:45 -0700 From: Jeremy Chadwick To: Da Rock Message-ID: <20081004060745.GA48067@icarus.home.lan> References: <48E67C86.5030206@rawbw.com> <1223099600.27632.5.camel@laptop1.herveybayaustralia.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1223099600.27632.5.camel@laptop1.herveybayaustralia.com.au> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: How stable is FreeBSD WiFi 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: Sat, 04 Oct 2008 06:07:47 -0000 On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote: > > On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote: > > I have FreeBSD-70 machine and Linux Gentoo machines side by side (within > > 10 feet). > > Gentoo Linux (with old AirLink101) connects to a particular encrypted > > WEP network without any problems all the time. > > FreeBSD (with ral0 device and native driver) connection is very > > unstable, keeps disappearing, though network card shows signal level as > > -90:-95. > > dhclient fails to set up the card, often dhclient succeeds but all name > > lookups fails. When internet connection is established all TCP > > connections get dropped after 10-20 minutes or less. > > > > I feel like I hit some bug in FreeBSD WiFi networking support. > > > > Anyone has similar experience? > > Yuri > > Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2). > I posted something about a week or two back, but I didn't get any > response here. Not sure where to go from here though, as I'm having > similar troubles with the ral driver too (desktop- 6.3). Have you tried the freebsd-stable and freebsd-hackers lists? Supplicant has been discussed there in the recent and late past. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 06:13:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58DAA106569A for ; Sat, 4 Oct 2008 06:13:17 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from hawk.thalamus.net (hawk.thalamus.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 162488FC1A for ; Sat, 4 Oct 2008 06:13:17 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from localhost (localhost.thalamus.net [127.0.0.1]) by hawk.thalamus.net (Postfix) with ESMTP id E9DED1EE8C9; Sat, 4 Oct 2008 08:13:12 +0200 (CEST) X-Virus-Scanned: by amavisd-new at thalamus.net X-Spam-Flag: NO X-Spam-Score: 2.389 X-Spam-Level: ** X-Spam-Status: No, score=2.389 tagged_above=-999 required=4.2 tests=[AWL=-0.780, HELO_LH_HOME=3.169] Received: from hawk.thalamus.net ([127.0.0.1]) by localhost (hawk.thalamus.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lv50uRN127km; Sat, 4 Oct 2008 08:13:08 +0200 (CEST) Received: from lesbsdpc.homenet.home (c-195-216-040-164.static.bjare.net [195.216.40.164]) by hawk.thalamus.net (Postfix) with ESMTP id 55A2E1EE8C6; Sat, 4 Oct 2008 08:13:08 +0200 (CEST) Message-ID: <48E70977.8080808@eskk.nu> Date: Sat, 04 Oct 2008 08:13:11 +0200 From: Leslie Jensen User-Agent: Thunderbird 2.0.0.17 (X11/20081001) MIME-Version: 1.0 To: Tom Stuart References: <5cdef660810032141p567fad46vac8a7a6b0451e735@mail.gmail.com> In-Reply-To: <5cdef660810032141p567fad46vac8a7a6b0451e735@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Vista Dual Boot issues - Does not start on a track boundary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 06:13:17 -0000 Tom Stuart skrev: > Hi Guys, > > I'm nowhere near new on the FreeBSD front but have Never done a dual > boot with vista. Vista came pre-installed on this machine and I > created another partition using the resize function of Vista. When I'm > setting up my slices its complaining about Chunk ad0S1 does not start > on a track boundary... > > Does anyone know if this is a common problem and the easiest way to > resolve this issue? I've tried going on and setting up the labels but > upon installation of packages it seems as though its having problem > doing a chroot due to the partitions not being setup correctly. I know > I could delete all slices and start out with freebsd and then install > vista but it would involve backing up approx. 150Gigs of data. I've > also done approximately 5 hours of searching archives, etc to no > avail. > > I've tried everything with no success on FreeBSD7.0 Release, 7.1 beta > and 8.0 current. > > Thanks, > > Tom Hi Tom I just made a dualboot machine out of my new Laptop. I used Gparted because the Vista resize wouldn't give me the space I wanted. Then I read in BSD Magazine that the Vista bootloader is a little different from the earlier Windows versions. The article mentioned a bootloader utility, "EasyBCD" http://neosmart.net/dl.php?id=1 Which I use. When your installation of FreeBSD is finished, (don't install the bootloader) the BSD partition will be the active partition and you will need to set the Vista partition active again with Gparted. Then boot into Vista and install the bootloader. /Leslie From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 06:36:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C6C106568C for ; Sat, 4 Oct 2008 06:36:19 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from angel.comcen.com.au (angel.comcen.com.au [203.23.236.69]) by mx1.freebsd.org (Postfix) with ESMTP id CB8E18FC18 for ; Sat, 4 Oct 2008 06:36:18 +0000 (UTC) (envelope-from rock_on_the_web@comcen.com.au) Received: from [192.168.0.185] (unknown [202.172.126.254]) by angel.comcen.com.au (Postfix) with ESMTP id 410775C2E7EF for ; Sat, 4 Oct 2008 16:33:40 +1000 (EST) From: Da Rock To: freebsd-questions@freebsd.org In-Reply-To: <20081004060745.GA48067@icarus.home.lan> References: <48E67C86.5030206@rawbw.com> <1223099600.27632.5.camel@laptop1.herveybayaustralia.com.au> <20081004060745.GA48067@icarus.home.lan> Content-Type: text/plain Date: Sat, 04 Oct 2008 16:34:13 +1000 Message-Id: <1223102053.27632.12.camel@laptop1.herveybayaustralia.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8) Content-Transfer-Encoding: 7bit X-comcen-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 410775C2E7EF.209A9 X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (score=0.1, required 3, RDNS_NONE 0.10) X-comcen-MailScanner-From: rock_on_the_web@comcen.com.au X-Spam-Status: No Subject: Re: How stable is FreeBSD WiFi 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: Sat, 04 Oct 2008 06:36:19 -0000 On Fri, 2008-10-03 at 23:07 -0700, Jeremy Chadwick wrote: > On Sat, Oct 04, 2008 at 03:53:20PM +1000, Da Rock wrote: > > > > On Fri, 2008-10-03 at 13:11 -0700, Yuri wrote: > > > I have FreeBSD-70 machine and Linux Gentoo machines side by side (within > > > 10 feet). > > > Gentoo Linux (with old AirLink101) connects to a particular encrypted > > > WEP network without any problems all the time. > > > FreeBSD (with ral0 device and native driver) connection is very > > > unstable, keeps disappearing, though network card shows signal level as > > > -90:-95. > > > dhclient fails to set up the card, often dhclient succeeds but all name > > > lookups fails. When internet connection is established all TCP > > > connections get dropped after 10-20 minutes or less. > > > > > > I feel like I hit some bug in FreeBSD WiFi networking support. > > > > > > Anyone has similar experience? > > > Yuri > > > > Yeah I had similar troubles on a laptop with an intel wifi (6.1 + 6.2). > > I posted something about a week or two back, but I didn't get any > > response here. Not sure where to go from here though, as I'm having > > similar troubles with the ral driver too (desktop- 6.3). > > Have you tried the freebsd-stable and freebsd-hackers lists? Supplicant > has been discussed there in the recent and late past. > Yeah I believe I checked stable at the time, but I'm not subscribed to hackers so I wouldn't know about there. I'll check stable again now that you mention it. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 09:02:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56A8F1065692 for ; Sat, 4 Oct 2008 09:02:59 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 162958FC08 for ; Sat, 4 Oct 2008 09:02:58 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (201.158.192-77.rev.gaoland.net [77.192.158.201]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 9787763366E; Sat, 4 Oct 2008 11:02:57 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 9632A615C42; Sat, 4 Oct 2008 11:02:56 +0200 (CEST) Date: Sat, 4 Oct 2008 11:02:55 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: "Michael P. Soulier" Message-ID: <20081004110255.4e05dbf1@baby-jane-lamaiziere-net.local> In-Reply-To: <20081003172624.GC6090@piglet.digitaltorque.ca> References: <20081003172624.GC6090@piglet.digitaltorque.ca> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 09:02:59 -0000 Le Fri, 3 Oct 2008 13:26:33 -0400, "Michael P. Soulier" a écrit : > So, I recently upgraded from 5.5 to 6.3, and as such, ran a > portupgrade -fa to rebuild my ports against 6.3. > > I just noticed this. > > ===> Cleaning for ruby-1.8.6.287,1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... > Any idea what would cause this? Portupgrade is often confused with his database on upgrade. Delete /var/db/pkg/pkgdb.db and retry. May be you have to delete /usr/ports/INDEX-6.db too. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 09:17:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AA1610656D3 for ; Sat, 4 Oct 2008 09:17:52 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57004.mail.re3.yahoo.com (web57004.mail.re3.yahoo.com [66.196.97.108]) by mx1.freebsd.org (Postfix) with SMTP id A42768FC1B for ; Sat, 4 Oct 2008 09:17:51 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 78963 invoked by uid 60001); 4 Oct 2008 09:17:50 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=zNjG+/zmzAZsH6FJ6SXV0iJPea5psKz0aLXZWE3z04xguZNaQ4tWOYd0MEoGzJ+NNYsGtck5+ZpUg+784tf13mH86HV1CzmVFbSCt3eB8jazSxb08NxJEfmGDWPI27OWh2lWEN0SBdxpqiwbpUNuaYQFDVjbhVaCnQfAoP8UEks=; X-YMail-OSG: vuSjdCMVM1kOplSpifcGSSNBpRkgy4DLZhQP7gWGbicNOVpdL_ZsARPFyJtuUlPxgxWROrF7C6uiEFyzGbMAjwP3t8l7GZA9McQkWTN7BuhSF93Ko73WVAYsMBsbgaVMUXRWqN.G__ZWpLpxrYcRV3870TqZbkuefV62AtqbRZZuuzM- Received: from [220.255.7.241] by web57004.mail.re3.yahoo.com via HTTP; Sat, 04 Oct 2008 02:17:50 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 4 Oct 2008 02:17:50 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <704489.78698.qm@web57004.mail.re3.yahoo.com> Subject: make buildkernel error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: unga888@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 09:17:52 -0000 Hi all I'm getting following compile error for /usr/src/sys/i386/i386/genassym.c : cc1: error: unrecognized command line option "-mno-align-long-strings" cc1: error: unrecognized command line option "-fformat-extensions" *** Error code 1 I'm using gcc version 4.3.1. Does this means above options are not compatible with gcc version 4.3.1? Is it safe to remove above options from kernel sources and recompile or what am I suppose to do now? This is RELENG_7, cvsup a month ago. Appreciate your reply very much. Kind regards Unga From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 10:03:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A59691065689 for ; Sat, 4 Oct 2008 10:03:21 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mx1.freebsd.org (Postfix) with ESMTP id 515738FC14 for ; Sat, 4 Oct 2008 10:03:20 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA03.westchester.pa.mail.comcast.net with comcast id NZz61a00Z0Fqzac53a3LxV; Sat, 04 Oct 2008 10:03:20 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA08.westchester.pa.mail.comcast.net with comcast id Na3K1a0052P6wsM3Ua3KWR; Sat, 04 Oct 2008 10:03:20 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=pvg-7YcuIFvDDe_N8_gA:9 a=kuRzNJPDoEmDqvoxBYsA:7 a=5xnGfWdINGUdblAcblgJnpzQ9PQA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id CACBBC941A; Sat, 4 Oct 2008 03:03:18 -0700 (PDT) Date: Sat, 4 Oct 2008 03:03:18 -0700 From: Jeremy Chadwick To: Unga Message-ID: <20081004100318.GA53131@icarus.home.lan> References: <704489.78698.qm@web57004.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <704489.78698.qm@web57004.mail.re3.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: make buildkernel 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: Sat, 04 Oct 2008 10:03:21 -0000 On Sat, Oct 04, 2008 at 02:17:50AM -0700, Unga wrote: > I'm getting following compile error for /usr/src/sys/i386/i386/genassym.c : > cc1: error: unrecognized command line option "-mno-align-long-strings" > cc1: error: unrecognized command line option "-fformat-extensions" > *** Error code 1 > > I'm using gcc version 4.3.1. > > Does this means above options are not compatible with gcc version 4.3.1? > > Is it safe to remove above options from kernel sources and recompile or what am I suppose to do now? > > This is RELENG_7, cvsup a month ago. > > Appreciate your reply very much. I'm not sure about this, but doesn't building world require that you use the base system's gcc (e.g. /usr/bin/gcc), and not the one from ports? -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 10:24:11 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 840D5106568D for ; Sat, 4 Oct 2008 10:24:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 114EE8FC21 for ; Sat, 4 Oct 2008 10:24:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1392593fkk.11 for ; Sat, 04 Oct 2008 03:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Rpfn7u4i7E8A8+WFpRIySp8orkSa42k5jPc15q9Ju18=; b=MRN7wZFTYGV/DdMk5/hu6R3AkZRrQSyHliwLpSLPRX/X9RQLh4CmwUdf1dXEM6dAa4 q3Np83H1SArbKE4pc9Ndpk3jN0p/HrSSefbNjEnuuYpUe/zWg2UPyjEJ/8tm4qFDLxQY 6y3+dtnIFf8iREYKmAq8qLz99yyfaKWk3GI54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=stR06iLGL+/9QW1uY1Yc5aCjrFEnqNc5nnlvUSc279JQ7TujbYNxLyRVvmsSausqrX nxDAV4+d9iZyzliCrrOIO0WpwhWj2H7SmwfddeoonvjoYGo95YBMciqGD0hX0dKKETST E/QUG9RgMOVTX64sXIKrKNbAvisqVDHqnbNfU= Received: by 10.103.46.9 with SMTP id y9mr1333976muj.107.1223115849726; Sat, 04 Oct 2008 03:24:09 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 03:24:09 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 12:24:09 +0200 From: "Redd Vinylene" To: "Max Laier" In-Reply-To: <200810031156.07623.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810031156.07623.max@love2party.net> Cc: jail@freebsd.org, questions@freebsd.org, pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 10:24:11 -0000 On Fri, Oct 3, 2008 at 11:56 AM, Max Laier wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Are you sure I need ftp-proxy? I opened the datarange 49152:65535 and now I no longer get a connection refused. I seem to be able to list, download, you know the usual stuff. I still get the "getpeername(control_sock): Transport endpoint is not connected" though. If I do need ftp-proxy, I take it it's the "FTP Server Protected by an External PF Firewall Running NAT" at http://www.openbsd.org/faq/pf/ftp.html that applies to my setup? I can't quite comprehend the nat/rdr rules in that example, as I ain't really got an int_if. As I stated earlier, I have a FreeBSD server running pf and two jails, and I'm trying to get ftpd running smoothly inside one of those jails. Thank you so much. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 12:31:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64C85106568A for ; Sat, 4 Oct 2008 12:31:22 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id 50B3C8FC0C for ; Sat, 4 Oct 2008 12:31:22 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1Km5Y6-0009g6-Fb for freebsd-questions@freebsd.org; Sat, 04 Oct 2008 04:43:50 -0700 From: "Don O'Neil" To: Date: Sat, 4 Oct 2008 04:43:14 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AckmFmJ/vhL0WCFxRD2GgKRrTePYGg== Subject: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 12:31:22 -0000 I just swapped out an old 500G disk with a 1TB one and I'm trying to label it and mount it... If I run bsdlabel -w ad4, I get: bsdlabel: Geom not found If I run sysinstall, it tells me that it can't write to the disk. I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that didn't help. Can anyone help me get this new disk installed without having to boot off a recovery CD? The server is 500 miles away from me and I don't have direct console access. Thanks!!! From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 12:51:54 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D0A51065695 for ; Sat, 4 Oct 2008 12:51:54 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id EB8318FC1D for ; Sat, 4 Oct 2008 12:51:53 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1303296fgb.35 for ; Sat, 04 Oct 2008 05:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=cFkcfljadRDu0UN73lkelR0atsl45eFUI+l0kLYvYVM=; b=hXSyEJX0QKHuMOJTcU4wg9umZJMjIe2Y+rc3EMeLce3Zp2bu5DoXkp2QmI4zoljKSj FJIq/oKoBbn622iM3hVj5gPY4+7NGc9OWXWKdpiuAWoFTMWQg7KYgPjte4k6/d2PxwAJ /sGDBMU5Ci9XiR58Jxa02LV5SOZRNPoTcH02U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ngHTukprDZqiuCFFyw36Y6NkEGHfoqhdvjU/JYXp1mXXUGAT3NH3Jb0nTIUyxhMJPy aZ2WGmYVoiRjOVOsAiY8fSLBBh+AmbIGF8fpSWt4yv6TDm5aWtdGbTWAvARrbw9eQ8t6 vHd7Andim9EhOZH077a+iabH1qV8nTR+Piyc0= Received: by 10.103.172.9 with SMTP id z9mr1407939muo.122.1223124712000; Sat, 04 Oct 2008 05:51:52 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 05:51:51 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 14:51:51 +0200 From: "Redd Vinylene" To: "Max Laier" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810031156.07623.max@love2party.net> Cc: jail@freebsd.org, questions@freebsd.org, pf@freebsd.org Subject: Re: Jail, pf and ftpd: Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 12:51:54 -0000 > On Fri, Oct 3, 2008 at 11:56 AM, Max Laier wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Nevermind, I think the "Transport endpoint is not connected" is most likely due to lftp. Nonetheless, much obliged for the assistance! -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 13:34:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE1F1065689 for ; Sat, 4 Oct 2008 13:34:37 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51103.mail.re2.yahoo.com (web51103.mail.re2.yahoo.com [206.190.38.145]) by mx1.freebsd.org (Postfix) with SMTP id CA9558FC1C for ; Sat, 4 Oct 2008 13:34:36 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 41462 invoked by uid 60001); 4 Oct 2008 13:34:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=v6X2qSyGBugUGjbpO8WkKqE0jgiYzdEn4o0Jbppfy0iwoXfQkmAR0sD74kDuHopon+BeX0m816bsnqtzkqmQ04LpJEafD0uwPoieOuTTCRPMesukNta6HFktgsnsMccnX9EnPoqrioB6hlS03yFetkv7hLI7/kFcFGZnWeokKLE=; X-YMail-OSG: mlA.q08VM1mztfSxOFqtDq6TmwxEzSxKXVnZiFfTcBt6EP1werAjjUj7cNANTVwATnbCBFfxE0qrZ3wLmQ5egmTNVl5zWR4cpF2RHxIRU4lxU7R5VHjZ9qaH5ErhDcRMdFqgXyqvK4aF_oXEzpNco8v6GA7O Received: from [82.136.213.253] by web51103.mail.re2.yahoo.com via HTTP; Sat, 04 Oct 2008 06:34:35 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 4 Oct 2008 06:34:35 -0700 (PDT) From: Dino Vliet To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <946647.40848.qm@web51103.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gmirror prerequisite question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dino_vliet@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 13:34:37 -0000 Hey freebsd list, I've bought a secondry HDD to attach to my server running freebsd 7.0. I want to enable gmirror on it (will reinstall everything from scratch), but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. The command dmesg | grep Seagate Yields: ad4: 76319MB at ata2-master UDMA33 ad6: 76319MB at ata3-master UDMA33 Can I assume everything is ok now and can I start the reinstallation? Why I'm in doubt is because of the master/slave thing I was expecting but that seems something of the IDE world as I have bought two Sata hard drives and connected it with sata cables to my motherboard. But just checking to be sure. Brgds and thanks in advanced! Dino From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 13:48:50 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D33106568B for ; Sat, 4 Oct 2008 13:48:50 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 1119A8FC16 for ; Sat, 4 Oct 2008 13:48:49 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1314960fgb.35 for ; Sat, 04 Oct 2008 06:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BndCu1Uk87sPXom+DrLvTL+l6/dCjbj4Zyea9DYeXVk=; b=m0uQJ2hUdrqDTfmSNTV88WrhOONUImFfoHFJSChGc3dZDg4/sqnubUosArNPUxlY4O z1IGmuN+VkoG2oZtprB4kfsx1jDpxByYgsaRnbb/oYQ1Dsyq27H47J7wWE3AF92AqxDE FAFPHjfsW7BaNM9a/bZyM5cWzgB5u9JI1+JsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=fczX7ryZe6vhgAZc0OBFfivZ0EBt6h+i4+QKln8VgwOJVbBZtF6uHqRCJbZH7RjOv4 TIiGNnJMt3oFkqGkAwd4Tow7T+9TtvHPVrxC/OMuQRHJUGTlHKbOfRh7NclkERsiYrFO 7udQZ3TI3cCEyPgsgWs1EfKdH0CH1n5BgZYcM= Received: by 10.180.215.9 with SMTP id n9mr1732019bkg.59.1223128128488; Sat, 04 Oct 2008 06:48:48 -0700 (PDT) Received: from joshua.freebsdgr.org (athedsl-4370327.home.otenet.gr [79.130.31.135]) by mx.google.com with ESMTPS id p17sm6287143fka.14.2008.10.04.06.48.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 06:48:47 -0700 (PDT) Message-ID: <48E7743D.9020709@gmail.com> Date: Sat, 04 Oct 2008 16:48:45 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.16 (X11/20080806) MIME-Version: 1.0 To: dino_vliet@yahoo.com References: <946647.40848.qm@web51103.mail.re2.yahoo.com> In-Reply-To: <946647.40848.qm@web51103.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: gmirror prerequisite question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 13:48:50 -0000 Dino Vliet wrote: > Hey freebsd list, > > I've bought a secondry HDD to attach to my server running freebsd 7.0. I want to enable gmirror on it (will reinstall everything from scratch), but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. > > The command > > dmesg | grep Seagate > > Yields: > > ad4: 76319MB at ata2-master UDMA33 > ad6: 76319MB at ata3-master UDMA33 > > Can I assume everything is ok now and can I start the reinstallation? Why I'm in doubt is because of the master/slave thing I was expecting but that seems something of the IDE world as I have bought two Sata hard drives and connected it with sata cables to my motherboard. > > But just checking to be sure. > > Brgds and thanks in advanced! > Dino > > The concept of master / slave only exists in the IDE (PATA) world. SATA disks do not have these troubles, as there is only one per cable. Your setup is absolutely fine. If you haven't already, I suggest you read this excellent article: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1 I've set up quite a few gmirrors with this info. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 13:48:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E709F10656A7 for ; Sat, 4 Oct 2008 13:48:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3614B8FC08 for ; Sat, 4 Oct 2008 13:48:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Km7V9-0007Rq-8O for freebsd-questions@freebsd.org; Sat, 04 Oct 2008 13:48:55 +0000 Received: from pool-138-88-18-151.res.east.verizon.net ([138.88.18.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 13:48:55 +0000 Received: from nightrecon by pool-138-88-18-151.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 04 Oct 2008 13:48:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Date: Sat, 04 Oct 2008 09:52:43 -0400 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-18-151.res.east.verizon.net Sender: news Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 13:48:58 -0000 Don O'Neil wrote: > I just swapped out an old 500G disk with a 1TB one and I'm trying to label > it and mount it... > > If I run bsdlabel -w ad4, I get: > > bsdlabel: Geom not found > > If I run sysinstall, it tells me that it can't write to the disk. > > I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > didn't help. > > Can anyone help me get this new disk installed without having to boot off > a recovery CD? The server is 500 miles away from me and I don't have > direct console access. > Uhmm... This may seem silly, but did you use fdisk to create a slice first before you tried partitioning? -Mike- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 16:20:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B00B1106568D for ; Sat, 4 Oct 2008 16:20:18 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 944268FC28 for ; Sat, 4 Oct 2008 16:20:17 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m94GK05h002687; Sat, 4 Oct 2008 18:20:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m94GJxKi002684; Sat, 4 Oct 2008 18:20:00 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 4 Oct 2008 18:19:59 +0200 (CEST) From: Wojciech Puchar To: Michael Powell In-Reply-To: Message-ID: <20081004181923.N2683@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 16:20:18 -0000 >> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that >> didn't help. >> >> Can anyone help me get this new disk installed without having to boot off >> a recovery CD? The server is 500 miles away from me and I don't have >> direct console access. >> > > Uhmm... This may seem silly, but did you use fdisk to create a slice first > before you tried partitioning? > this is NOT needed. actually i don't do it anywhere. it just may be sysinstall problem, anything else. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 16:20:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C07AA1065693 for ; Sat, 4 Oct 2008 16:20:48 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id E7AAE8FC18 for ; Sat, 4 Oct 2008 16:20:47 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m94GKXIx002694; Sat, 4 Oct 2008 18:20:33 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m94GKWAR002691; Sat, 4 Oct 2008 18:20:33 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 4 Oct 2008 18:20:32 +0200 (CEST) From: Wojciech Puchar To: Dino Vliet In-Reply-To: <946647.40848.qm@web51103.mail.re2.yahoo.com> Message-ID: <20081004182010.D2683@wojtek.tensor.gdynia.pl> References: <946647.40848.qm@web51103.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: gmirror prerequisite question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 16:20:48 -0000 > I've bought a secondry HDD to attach to my server running freebsd 7.0. > I want to enable gmirror on it (will reinstall everything from scratch), you don't have to. >but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. > > The command > > dmesg | grep Seagate > > Yields: > > ad4: 76319MB at ata2-master UDMA33 > ad6: 76319MB at ata3-master UDMA33 yes it is. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 16:35:57 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E99B106569C for ; Sat, 4 Oct 2008 16:35:57 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id 575C08FC23 for ; Sat, 4 Oct 2008 16:35:57 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmA6y-000AbR-RK; Sat, 04 Oct 2008 09:36:09 -0700 From: "Don O'Neil" To: "'Wojciech Puchar'" , "'Michael Powell'" References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> Date: Sat, 4 Oct 2008 09:35:31 -0700 Message-ID: <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <20081004181923.N2683@wojtek.tensor.gdynia.pl> Thread-Index: AckmPStqqjzWECKER92X6WV5ASD/kQAAdq8g Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 16:35:57 -0000 >>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that >>> didn't help. >>> >>> Can anyone help me get this new disk installed without having to boot >>> off a recovery CD? The server is 500 miles away from me and I don't >>> have direct console access. >>> >> >> Uhmm... This may seem silly, but did you use fdisk to create a slice >> first before you tried partitioning? >> >this is NOT needed. actually i don't do it anywhere. > >it just may be sysinstall problem, anything else. I tried using fdisk first, same problem, won't let me write to the disk. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 17:01:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52D70106568D for ; Sat, 4 Oct 2008 17:01:22 +0000 (UTC) (envelope-from satam_mandar@hotmail.com) Received: from bay0-omc1-s30.bay0.hotmail.com (bay0-omc1-s30.bay0.hotmail.com [65.54.246.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3E80F8FC17 for ; Sat, 4 Oct 2008 17:01:22 +0000 (UTC) (envelope-from satam_mandar@hotmail.com) Received: from BAY113-W12 ([65.54.168.112]) by bay0-omc1-s30.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 4 Oct 2008 09:49:22 -0700 Message-ID: X-Originating-IP: [68.44.138.192] From: mandar satam To: Date: Sat, 4 Oct 2008 16:49:22 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 04 Oct 2008 16:49:22.0441 (UTC) FILETIME=[26EA9F90:01C92641] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kernel trouble X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 17:01:22 -0000 Hi =2C =20 =20 I have a wierd problem.I am trying to make changes to freebsd 5.2 sched= uler to make it a user based fair share scheduler as a part of my project.I= have created a data structure similar to runq datastructure.My problem is = that when I compile my changes into the kernel=2C the kernel reboots again = and again and gives me a fatal trap error befroe rebooting each time. =20 Could someone explain why this happens?Thanks & Regards=2C=20 Mandar Satam _________________________________________________________________ Want to do more with Windows Live? Learn =9310 hidden secrets=94 from Jamie= . http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!5= 50F681DAD532637!5295.entry?ocid=3DTXT_TAGLM_WL_domore_092008= From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 18:35:33 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1473110656A0 for ; Sat, 4 Oct 2008 18:35:33 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.187]) by mx1.freebsd.org (Postfix) with ESMTP id 053838FC0C for ; Sat, 4 Oct 2008 18:35:29 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1734991mue.3 for ; Sat, 04 Oct 2008 11:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sp2BMwvjqd0YhtqxUcZi39kUeK1K0gk3fXt/0aHI340=; b=G/5IPAj1NbO50+Bo3G3ho6zikMW7acPNLycza+3jlfKXHHLIoqzlIyXChU3hwaQKZn zEYujZIh03Fi5fhk3OyO8G9w4tGnvAAwWTHft6C9EvQaGGfO383O8G6KwzDur+qYa+FR 1YwId1xJknfmY5X1NvNmVHjv5vBw25LnDFf44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=fSLhZOb4JP71OADZ+e9donYT0lxFiYYgbgmqdj4ECfmgP4lengaE/LBaRC5tyyAh3a TWFa6I4WFBmBaPAfU9WX/BC1utZ3TSKxpFtT9rLw++M8cntmgGvwIRJwC0ZolM2jskXU C5m3Fwfz7Mn3hcN9YICLPzN+84er8cP46AO2w= Received: by 10.103.233.4 with SMTP id k4mr1627961mur.48.1223145327648; Sat, 04 Oct 2008 11:35:27 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:35:27 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:35:27 +0200 From: "Redd Vinylene" To: jail@freebsd.org, questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 18:35:33 -0000 Hello hello! I need to move my jails from /usr/jail to /home/jail. The latter is where all my diskspace is. Not all files seem to want to move though? # mv /usr/jail /home mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied). mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied). mv: /usr/jail/box/usr/bin/chpass: Operation not permitted mv: /usr/jail/box/usr/bin/chfn: Operation not permitted mv: /usr/jail/box/usr/bin/chsh: Operation not permitted mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted mv: /usr/jail/box/usr/bin/login: Operation not permitted mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted mv: /usr/jail/box/usr/bin/passwd: Operation not permitted mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted mv: /usr/jail/box/usr/bin/rsh: Operation not permitted mv: /usr/jail/box/usr/bin/su: Operation not permitted mv: /usr/jail/box/usr/bin/crontab: Operation not permitted mv: /usr/jail/box/usr/bin: Directory not empty mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted mv: /usr/jail/box/usr/lib: Directory not empty mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted mv: /usr/jail/box/usr/sbin: Directory not empty mv: /usr/jail/box/usr: Directory not empty mv: /usr/jail/box/var/empty: Operation not permitted mv: /usr/jail/box/var: Directory not empty mv: /usr/jail/box/bin/rcp: Operation not permitted mv: /usr/jail/box/bin: Directory not empty mv: /usr/jail/box/dev/fd: Operation not supported mv: /usr/jail/box/dev: Device busy mv: /usr/jail/box/lib/libc.so.7: Operation not permitted mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted mv: /usr/jail/box/lib: Directory not empty mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted mv: /usr/jail/box/libexec: Directory not empty mv: /usr/jail/box/sbin/init: Operation not permitted mv: /usr/jail/box/sbin: Directory not empty mv: /usr/jail/box: Directory not empty mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted mv: /usr/jail/camel/usr/bin/login: Operation not permitted mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted mv: /usr/jail/camel/usr/bin/su: Operation not permitted mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted mv: /usr/jail/camel/usr/bin: Directory not empty mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted mv: /usr/jail/camel/usr/lib: Directory not empty mv: /usr/jail/camel/usr/sbin/sliplogin: Operation not permitted mv: /usr/jail/camel/usr/sbin: Directory not empty mv: /usr/jail/camel/usr: Directory not empty mv: /usr/jail/camel/bin/rcp: Operation not permitted mv: /usr/jail/camel/bin: Directory not empty mv: /usr/jail/camel/dev/fd: Operation not supported mv: /usr/jail/camel/dev: Device busy mv: /usr/jail/camel/lib/libc.so.7: Operation not permitted mv: /usr/jail/camel/lib/libcrypt.so.4: Operation not permitted mv: /usr/jail/camel/lib/libthr.so.3: Operation not permitted mv: /usr/jail/camel/lib: Directory not empty mv: /usr/jail/camel/libexec/ld-elf.so.1: Operation not permitted mv: /usr/jail/camel/libexec: Directory not empty mv: /usr/jail/camel/sbin/init: Operation not permitted mv: /usr/jail/camel/sbin: Directory not empty mv: /usr/jail/camel/var/empty: Operation not permitted mv: /usr/jail/camel/var: Directory not empty mv: /usr/jail/camel: Directory not empty mv: /usr/jail: Directory not empty mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status I guess I ain't gotta worry about the sockets but what about the rest? -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 18:40:57 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45B5F106568D for ; Sat, 4 Oct 2008 18:40:57 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id C54B58FC15 for ; Sat, 4 Oct 2008 18:40:56 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1378035fgb.35 for ; Sat, 04 Oct 2008 11:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jewb5QCd94kAj3/SH1V4+6bfiXwzCG99NpAbATeBEhw=; b=nSddvuGcpo3U0Neq+FpXkaQEokzvLSfm2DidrEh/59QejIK4mJXmj2vKBE75oTbjiE jfXpXjbiXEs1cJ1o9tViCLAL/TQEeZMnxJVlncL+OdRdOLYujSbzs2oBGymwjhWRlhIL ohrNzmqnAYztX1RGBum0BfjxgSMxabTkqlJGA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uaX4VjG6B/fD4Q9pS5mwOyN2lHZXYfMAOp093loNldQnvyF2AniNPn+TM5cFtp7tNK N+v0ODIQCq5u3GAj9GMrOZpb51OrEJ5+JWL71gWANe0HUGgzktmZ+S8zIbKcx7+vj4Th k0s9bSpZmCG6wsnHVU0dPEHAwDk4Yx0b1jWsU= Received: by 10.103.171.6 with SMTP id y6mr1610440muo.101.1223145654809; Sat, 04 Oct 2008 11:40:54 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:40:54 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:40:54 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: <48E7B80F.8040602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 18:40:57 -0000 On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: > > Are the jails stopped? > > Yes, they are. Sorry, I should have mentioned this. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 18:53:42 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 943F5106568A for ; Sat, 4 Oct 2008 18:53:42 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 1238D8FC08 for ; Sat, 4 Oct 2008 18:53:41 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1739763mue.3 for ; Sat, 04 Oct 2008 11:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=r67XTBG+1lCl/QPUrpxFFruyWhkvMYdG6MtjjJtvELw=; b=CC1u5l02XmZI3osb95WpUFjGf70jXQxWw+SlzuzQPMMNakzPXf+P7Zo1dQABoHkyKD SqtFf9KbthmxQo1S5L4n8c1PJsfzEO37m7NDPyuuUYM1YWqIHvhQBXeZ6G6GSNjumgdF 5c2gqU702kZzXLZgsaMEjbaHt9pBD7bgDckOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ubwUQxRauJIalBBWCUJQ+jSgb0KQe+6+T1gP3ANsuWwfN6upXaFbfTmyJCCpM04Cm/ kyvwFEqcNxl45APcpdhTvvQvLJbmdTPNrHBTEGynHFhDjdP7QImZ70Fzz1S1bfjr6YFb w/ed4uNiTlIw0W0dD73qO0VOGNKx2dcfyZXhs= Received: by 10.103.24.11 with SMTP id b11mr1615461muj.98.1223146420644; Sat, 04 Oct 2008 11:53:40 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:53:40 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:53:40 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 18:53:42 -0000 On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: >> >> Are the jails stopped? >> >> > > Yes, they are. Sorry, I should have mentioned this. > > -- > http://www.home.no/reddvinylene > Should I just do like this? cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh cp /usr/jail/box/usr/bin/ypchpass /home/jail/box/usr/bin/ypchpass cp /usr/jail/box/usr/bin/ypchfn /home/jail/box/usr/bin/ypchfn cp /usr/jail/box/usr/bin/ypchsh /home/jail/box/usr/bin/ypchsh cp /usr/jail/box/usr/bin/login /home/jail/box/usr/bin/login cp /usr/jail/box/usr/bin/opieinfo /home/jail/box/usr/bin/opieinfo cp /usr/jail/box/usr/bin/opiepasswd /home/jail/box/usr/bin/opiepasswd cp /usr/jail/box/usr/bin/passwd /home/jail/box/usr/bin/passwd cp /usr/jail/box/usr/bin/yppasswd /home/jail/box/usr/bin/yppasswd cp /usr/jail/box/usr/bin/rlogin /home/jail/box/usr/bin/rlogin cp /usr/jail/box/usr/bin/rsh /home/jail/box/usr/bin/rsh cp /usr/jail/box/usr/bin/su /home/jail/box/usr/bin/su cp /usr/jail/box/usr/bin/crontab /home/jail/box/usr/bin/crontab cp /usr/jail/box/usr/lib/libkse.so.3 /home/jail/box/usr/lib/libkse.so.3 cp /usr/jail/box/usr/lib/librt.so.1 /home/jail/box/usr/lib/librt.so.1 cp /usr/jail/box/usr/sbin/sliplogin /home/jail/box/usr/sbin/sliplogin cp /usr/jail/box/var/empty /home/jail/box/var/empty cp /usr/jail/box/bin/rcp /home/jail/box/bin/rcp cp /usr/jail/box/dev/fd /home/jail/box/dev/fd cp /usr/jail/box/lib/libc.so.7 /home/jail/box/lib/libc.so.7 cp /usr/jail/box/lib/libcrypt.so.4 /home/jail/box/lib/libcrypt.so.4 cp /usr/jail/box/lib/libthr.so.3 /home/jail/box/lib/libthr.so.3 cp /usr/jail/box/libexec/ld-elf.so.1 /home/jail/box/libexec/ld-elf.so.1 cp /usr/jail/box/sbin/init /home/jail/box/sbin/init cp /usr/jail/camel/usr/bin/chpass /home/jail/camel/usr/bin/chpass cp /usr/jail/camel/usr/bin/chfn /home/jail/camel/usr/bin/chfn cp /usr/jail/camel/usr/bin/chsh /home/jail/camel/usr/bin/chsh cp /usr/jail/camel/usr/bin/ypchpass /home/jail/camel/usr/bin/ypchpass cp /usr/jail/camel/usr/bin/ypchfn /home/jail/camel/usr/bin/ypchfn cp /usr/jail/camel/usr/bin/ypchsh /home/jail/camel/usr/bin/ypchsh cp /usr/jail/camel/usr/bin/login /home/jail/camel/usr/bin/login cp /usr/jail/camel/usr/bin/opieinfo /home/jail/camel/usr/bin/opieinfo cp /usr/jail/camel/usr/bin/opiepasswd /home/jail/camel/usr/bin/opiepasswd cp /usr/jail/camel/usr/bin/passwd /home/jail/camel/usr/bin/passwd cp /usr/jail/camel/usr/bin/yppasswd /home/jail/camel/usr/bin/yppasswd cp /usr/jail/camel/usr/bin/rlogin /home/jail/camel/usr/bin/rlogin cp /usr/jail/camel/usr/bin/rsh /home/jail/camel/usr/bin/rsh cp /usr/jail/camel/usr/bin/su /home/jail/camel/usr/bin/su cp /usr/jail/camel/usr/bin/crontab /home/jail/camel/usr/bin/crontab cp /usr/jail/camel/usr/lib/libkse.so.3 /home/jail/camel/usr/lib/libkse.so.3 cp /usr/jail/camel/usr/lib/librt.so.1 /home/jail/camel/usr/lib/librt.so.1 cp /usr/jail/camel/usr/sbin/sliplogin /home/jail/camel/usr/sbin/sliplogin cp /usr/jail/camel/bin/rcp /home/jail/camel/bin/rcp cp /usr/jail/camel/dev/fd /home/jail/camel/dev/fd cp /usr/jail/camel/lib/libc.so.7 /home/jail/camel/lib/libc.so.7 cp /usr/jail/camel/lib/libcrypt.so.4 /home/jail/camel/lib/libcrypt.so.4 cp /usr/jail/camel/lib/libthr.so.3 /home/jail/camel/lib/libthr.so.3 cp /usr/jail/camel/libexec/ld-elf.so.1 /home/jail/camel/libexec/ld-elf.so.1 cp /usr/jail/camel/sbin/init /home/jail/camel/sbin/init cp /usr/jail/camel/var/empty /home/jail/camel/var/empty rm -rf /usr/jail -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 18:56:55 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14AFB106568A for ; Sat, 4 Oct 2008 18:56:55 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 193108FC08 for ; Sat, 4 Oct 2008 18:56:53 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1740566mue.3 for ; Sat, 04 Oct 2008 11:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=eIigcsYFD6Wofi17e4ijsCRjgbPH+R3qs5zStvVPj28=; b=bGc2lVvtY4zoPG3ZXw1ot7VUzVbL8dJ02Lx8Uy/ljVVIEB1bTNdLEcZwPPg+MXewEY KVNfri09S6RiOI71NpdpQ3xyj+ZNLd5o6Wqf+ek/cmeTQkHyTyZp72XoD7N0R5TcVVgA LvbyAfSEphtPqbyD1MEVxUGDGFsDgksV3tYYE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=I3g4WVqjwfWpqkK1JQMFJm/eQegowaAODb+6hgk6lf8Y8IbjM/sgUeW2GVsjQUbMpG BXeF1My7gBeF1wpvDTYRTJbr5azQn0lMBOKrV5yG6lERm/w0supqJwkkgB8izYamS4L0 mzYtLG0I4DPaOZcivcMuDT/VX+5EoKVjy/iE0= Received: by 10.103.233.12 with SMTP id k12mr1631755mur.54.1223146612829; Sat, 04 Oct 2008 11:56:52 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 11:56:52 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 20:56:52 +0200 From: "Redd Vinylene" To: "Rodrigo Gonzalez" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 18:56:55 -0000 On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: >>> >>> Are the jails stopped? >>> >>> >> >> Yes, they are. Sorry, I should have mentioned this. >> >> -- >> http://www.home.no/reddvinylene >> > > Should I just do like this? > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh > [...] > rm -rf /usr/jail > > -- > http://www.home.no/reddvinylene > My bad, that's not permitted either. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:04:35 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28040106569C for ; Sat, 4 Oct 2008 19:04:35 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id A52D98FC0A for ; Sat, 4 Oct 2008 19:04:34 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1742740mue.3 for ; Sat, 04 Oct 2008 12:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PBMYBzeBHQvPKd3mwNqSzJl0mO1pZV25Rh3/emTWpoA=; b=oBsfQdPe4N/Dj7g7RUKyetYciFUlp1NuL0DRU7C8hwA+mGRIU5IibEveiNfD+XI/je /DcjSL4KF/OAkbyaWuU0UdZNGINrWHEBrJpk0UuU8mQCCIswBnblX9vmgv4mQEcTb2CN 9c2JdYO6FDOO29vFLXPS0nhGv7ih51Dl6P3Nc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dvTj3AC8K7nLiQRPCevPtfYvx+MpIYk52Cwac86TwxQokg90ATJL66K4ws4wCnyt2P 7AjNiWUnF24NT3e3zQWZE09bYsrqYNU+yLDqLFGNaCJ+lgmnvQh1EcHDUguflyG/2qU8 K8iEJrf0iVGiNFxolVfQVtPXpEku2LDtp4bnA= Received: by 10.103.240.5 with SMTP id s5mr1635381mur.62.1223147073253; Sat, 04 Oct 2008 12:04:33 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:04:33 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:04:33 +0200 From: "Redd Vinylene" To: hartzell@alerce.com In-Reply-To: <18663.48601.45230.57747@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:04:35 -0000 On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > the schg flag set. Man chflags for more info and instructions on how > to unset it > > g. > Yes: -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" and then "cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass"? -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:05:20 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2EE41065699; Sat, 4 Oct 2008 19:05:20 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id C9C568FC1F; Sat, 4 Oct 2008 19:05:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m94J4qEp001572; Sat, 4 Oct 2008 21:04:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m94J4q4N001569; Sat, 4 Oct 2008 21:04:52 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 4 Oct 2008 21:04:52 +0200 (CEST) From: Wojciech Puchar To: Redd Vinylene In-Reply-To: Message-ID: <20081004210436.N1546@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:05:20 -0000 > mv: /usr/jail/camel/sbin: Directory not empty > mv: /usr/jail/camel/var/empty: Operation not permitted > mv: /usr/jail/camel/var: Directory not empty > mv: /usr/jail/camel: Directory not empty > mv: /usr/jail: Directory not empty > mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status > > I guess I ain't gotta worry about the sockets but what about the rest? > you need chflags -R noschg yourdir From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:05:34 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96C41065697 for ; Sat, 4 Oct 2008 19:05:34 +0000 (UTC) (envelope-from rjgonzale@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0688FC13 for ; Sat, 4 Oct 2008 19:05:34 +0000 (UTC) (envelope-from rjgonzale@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so488555qwb.7 for ; Sat, 04 Oct 2008 12:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OqUqPOYGjQ2mWJStCTKqccoYdOXnzcR0mgPP3pvp+So=; b=uXgu5sCzF6dqvD/4YnkSW4+4ZkgF0GFThWjRMhhUYVyETLv1A7TWiWEPOW7+iYCBDY 4HJY8gjZuunhfeIQqdatTCU6nnHFZ61no1uHBMsWrGoPSBFbuq8ZEC3LtiXB4H7p4aLx PCQJpT5X9JN9JJtuel1rrwfRHz1lDxQHUYAqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IrXCXqZowHp0FrFmy7l1LqBd0Es6r4T6YGpX7hSLPU9yw3zfCmS2PnS01ngQfNz9DI cmhMPd6bx6/9tLbUdUeADuaJ42OqJGsSox6Ono/rYz6LsBWLmGUw2ocuKiM56wNXIbdN LA63J6tBxDhRtVViZ3yK02+URvkkgFjSH4TXs= Received: by 10.215.15.18 with SMTP id s18mr3883320qai.50.1223145493598; Sat, 04 Oct 2008 11:38:13 -0700 (PDT) Received: from ?201.231.77.160? (160-77-231-201.fibertel.com.ar [201.231.77.160]) by mx.google.com with ESMTPS id 30sm5090587yxk.4.2008.10.04.11.38.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Oct 2008 11:38:12 -0700 (PDT) Message-ID: <48E7B80F.8040602@gmail.com> Date: Sat, 04 Oct 2008 15:38:07 -0300 From: Rodrigo Gonzalez User-Agent: Thunderbird 2.0.0.16 (X11/20080902) MIME-Version: 1.0 To: Redd Vinylene References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:05:34 -0000 Redd Vinylene wrote: > Hello hello! I need to move my jails from /usr/jail to /home/jail. The > latter is where all my diskspace is. Not all files seem to want to > move though? > > # mv /usr/jail /home > mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket > (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied). > mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied). > mv: /usr/jail/box/usr/bin/chpass: Operation not permitted > mv: /usr/jail/box/usr/bin/chfn: Operation not permitted > mv: /usr/jail/box/usr/bin/chsh: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted > mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted > mv: /usr/jail/box/usr/bin/login: Operation not permitted > mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted > mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted > mv: /usr/jail/box/usr/bin/passwd: Operation not permitted > mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted > mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted > mv: /usr/jail/box/usr/bin/rsh: Operation not permitted > mv: /usr/jail/box/usr/bin/su: Operation not permitted > mv: /usr/jail/box/usr/bin/crontab: Operation not permitted > mv: /usr/jail/box/usr/bin: Directory not empty > mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted > mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted > mv: /usr/jail/box/usr/lib: Directory not empty > mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted > mv: /usr/jail/box/usr/sbin: Directory not empty > mv: /usr/jail/box/usr: Directory not empty > mv: /usr/jail/box/var/empty: Operation not permitted > mv: /usr/jail/box/var: Directory not empty > mv: /usr/jail/box/bin/rcp: Operation not permitted > mv: /usr/jail/box/bin: Directory not empty > mv: /usr/jail/box/dev/fd: Operation not supported > mv: /usr/jail/box/dev: Device busy > mv: /usr/jail/box/lib/libc.so.7: Operation not permitted > mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted > mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted > mv: /usr/jail/box/lib: Directory not empty > mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted > mv: /usr/jail/box/libexec: Directory not empty > mv: /usr/jail/box/sbin/init: Operation not permitted > mv: /usr/jail/box/sbin: Directory not empty > mv: /usr/jail/box: Directory not empty > mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted > mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted > mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted > mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/login: Operation not permitted > mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted > mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted > mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted > mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted > mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted > mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted > mv: /usr/jail/camel/usr/bin/su: Operation not permitted > mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted > mv: /usr/jail/camel/usr/bin: Directory not empty > mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted > mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted > mv: /usr/jail/camel/usr/lib: Directory not empty > mv: /usr/jail/camel/usr/sbin/sliplogin: Operation not permitted > mv: /usr/jail/camel/usr/sbin: Directory not empty > mv: /usr/jail/camel/usr: Directory not empty > mv: /usr/jail/camel/bin/rcp: Operation not permitted > mv: /usr/jail/camel/bin: Directory not empty > mv: /usr/jail/camel/dev/fd: Operation not supported > mv: /usr/jail/camel/dev: Device busy > mv: /usr/jail/camel/lib/libc.so.7: Operation not permitted > mv: /usr/jail/camel/lib/libcrypt.so.4: Operation not permitted > mv: /usr/jail/camel/lib/libthr.so.3: Operation not permitted > mv: /usr/jail/camel/lib: Directory not empty > mv: /usr/jail/camel/libexec/ld-elf.so.1: Operation not permitted > mv: /usr/jail/camel/libexec: Directory not empty > mv: /usr/jail/camel/sbin/init: Operation not permitted > mv: /usr/jail/camel/sbin: Directory not empty > mv: /usr/jail/camel/var/empty: Operation not permitted > mv: /usr/jail/camel/var: Directory not empty > mv: /usr/jail/camel: Directory not empty > mv: /usr/jail: Directory not empty > mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status > > I guess I ain't gotta worry about the sockets but what about the rest? > > Are the jails stopped? From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:10:28 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4173F1065690 for ; Sat, 4 Oct 2008 19:10:28 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id C38738FC15 for ; Sat, 4 Oct 2008 19:10:27 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so590062eyi.7 for ; Sat, 04 Oct 2008 12:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=U8Fir3oWN6aw1pNwwCNC9QlK/v4xK+c5FTYnixuQEQE=; b=idR7LtBwAPzmVaMpHy4Ihw+n8jfZMKYHA16ak4P40+oykAcQFDZLByW07/5aqoge+v d61KUfeMWta7Gq8yYzZN8ftajC0uyDeroYhx7PFcbVVvH/YVUghruzXP1/eDz2nnF1fb V5VVbEu3OBpyKpf86esLiCz9VUfHPsfknwQYI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=lgJXfFcLns/ky0jliYOHc3TAeAo31Mgmk0XhUoXQ3LWxOyKd2dexL/wVvRcsTfAuTC lDQ7KB6BBwteBvxgJFLSRv8AtjxXLxelm8xFG5orvgpjDPwCB8UgHzZsCFkQmETNdgip ObYEdGPekr0LOsmswDfskngJH/u40Bpt7qhg0= Received: by 10.103.172.7 with SMTP id z7mr1647898muo.31.1223147426440; Sat, 04 Oct 2008 12:10:26 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:10:26 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:10:26 +0200 From: "Redd Vinylene" To: "Wojciech Puchar" In-Reply-To: <20081004210436.N1546@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081004210436.N1546@wojtek.tensor.gdynia.pl> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:10:28 -0000 On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar wrote: >> mv: /usr/jail/camel/sbin: Directory not empty >> mv: /usr/jail/camel/var/empty: Operation not permitted >> mv: /usr/jail/camel/var: Directory not empty >> mv: /usr/jail/camel: Directory not empty >> mv: /usr/jail: Directory not empty >> mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status >> >> I guess I ain't gotta worry about the sockets but what about the rest? >> > you need > > chflags -R noschg yourdir > So just "chflags -R /usr/jail" and then copy things the normal way? Sure that won't mess up my jails? -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:16:32 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2C941065687 for ; Sat, 4 Oct 2008 19:16:32 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 801248FC15 for ; Sat, 4 Oct 2008 19:16:32 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1745827mue.3 for ; Sat, 04 Oct 2008 12:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vhZM/Ivp4cS7v8Yx6ksb9jBwLWam8wynkmMXxaTo4x8=; b=nGw9LPINpFFxSwbHvhcL4GqKrmRNnGSGvXy79cc/9k4ZiklWmGlMzhuPdv2NCnGfDD V8mRR5h2n/5q3TaMjNg1tpjLUNB8UyApQTza0XgHN0KnrK6yKxYy/YDAnUiTJtEhVyP0 76kveJySOubunnHCfKoxSXcK17Dfoe9bIY100= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vKqPAe7cb2c8ScVOiDytpZaTHSAVDMxQYkbyG6hknROBlyg7/7CmAR8ZQ8cWTm6rMl hEKUXpLGIIOnxASiU4K2ciN3iqgFOuCg7CMZYvwloaB74S94zzlAnqN+OUc27iAD6Yw0 zIzHYA0+fgRel8+vCaZmEb+kn4XJo9Wwychtg= Received: by 10.103.173.5 with SMTP id a5mr1620710mup.117.1223147790809; Sat, 04 Oct 2008 12:16:30 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 12:16:30 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 21:16:30 +0200 From: "Redd Vinylene" To: "Wojciech Puchar" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081004210436.N1546@wojtek.tensor.gdynia.pl> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:16:33 -0000 On Sat, Oct 4, 2008 at 9:10 PM, Redd Vinylene wrote: > On Sat, Oct 4, 2008 at 9:04 PM, Wojciech Puchar > wrote: >>> mv: /usr/jail/camel/sbin: Directory not empty >>> mv: /usr/jail/camel/var/empty: Operation not permitted >>> mv: /usr/jail/camel/var: Directory not empty >>> mv: /usr/jail/camel: Directory not empty >>> mv: /usr/jail: Directory not empty >>> mv: /bin/rm /usr/jail: terminated with 1 (non-zero) status >>> >>> I guess I ain't gotta worry about the sockets but what about the rest? >>> >> you need >> >> chflags -R noschg yourdir >> > > So just "chflags -R /usr/jail" and then copy things the normal way? > Sure that won't mess up my jails? Sorry, what I meant to write was "chflags -R noschg /usr/jail". I apologize for the inconvenience. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 19:27:15 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C79241065686; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id AE9048FC18; Sat, 4 Oct 2008 19:27:15 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id BE9F033C6C; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 5CB2733C64; Sat, 4 Oct 2008 12:03:10 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18663.48601.45230.57747@almost.alerce.com> Date: Sat, 4 Oct 2008 12:02:49 -0700 To: "Redd Vinylene" In-Reply-To: References: <48E7B80F.8040602@gmail.com> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 19:27:15 -0000 Redd Vinylene writes: > On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene wrote: > > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene wrote: > >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez wrote: > >>> > >>> Are the jails stopped? > >>> > >>> > >> > >> Yes, they are. Sorry, I should have mentioned this. > >> > >> -- > >> http://www.home.no/reddvinylene > >> > > > > Should I just do like this? > > > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass > > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn > > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh > > [...] > > rm -rf /usr/jail > > > > -- > > http://www.home.no/reddvinylene > > > > My bad, that's not permitted either. If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see the schg flag set. Man chflags for more info and instructions on how to unset it g. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 20:27:11 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CF571065689 for ; Sat, 4 Oct 2008 20:27:11 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by mx1.freebsd.org (Postfix) with ESMTP id D659B8FC08 for ; Sat, 4 Oct 2008 20:27:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1763596mue.3 for ; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zdjczz2OiKufU53GzrbWh7uyVKC1EJziLfijWyxYOJQ=; b=vDDzKlOpVUFNGH4GxvSLg0Q9UWWipREGunwOKTsN4xYDmzIqfgooQ2MRFutmEcYWBt /CYNAkICzy70sz5PzOBURFJ0avGY6NV7FRBaIVw7zRLF0UbxOvqiIiHeML6rgfGrt3iX pkN3GdHTUXxF+RDnEaRxPp8CluGY4QvVgFRCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=D1t6I0rmgl/hpAjZ64RXKrmYzKCWcrzZBlM6RTBpvizFq8z25Z6Zr/GZMMRZMWkOaY EK3C2D6QFy4HQn7DJcNfRD816D/vRRrbB0jqBr206z9Wme/PsRwZ+U3ybXeKqinzTG5t FUrMe8fYowTgBany0w/Y/oryxEUVwSE2fAuEE= Received: by 10.103.227.10 with SMTP id e10mr1681747mur.38.1223152029213; Sat, 04 Oct 2008 13:27:09 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 13:27:09 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 22:27:09 +0200 From: "Redd Vinylene" To: hartzell@alerce.com, peter.stosz@mentat.hu, wojtek@wojtek.tensor.gdynia.pl In-Reply-To: <18663.49808.808955.271579@almost.alerce.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 20:27:11 -0000 On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > Redd Vinylene writes: > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > > > the schg flag set. Man chflags for more info and instructions on how > > > to unset it > > > > > > g. > > > > > > > Yes: > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > and then "cp /usr/jail/box/usr/bin/chpass > > /home/jail/box/usr/bin/chpass"? > > I think that you ought to be able to cp it as is. You're just not > allowed to change the original (e.g. remove it), which is why your mv > and rm failed. > > g. > I've been told that changing flags might seriously mess things up. Is there any way to copy the remaining files from /usr/jail into /home/jail, or do I have to rebuild everything from scratch? Much obliged. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 20:39:10 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 010E11065688 for ; Sat, 4 Oct 2008 20:39:10 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188]) by mx1.freebsd.org (Postfix) with ESMTP id 796C28FC1C for ; Sat, 4 Oct 2008 20:39:09 +0000 (UTC) (envelope-from reddvinylene@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so1766602mue.3 for ; Sat, 04 Oct 2008 13:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8ABQWsxheZvlt0pBXUzvstFkqXZCY7Sao980iaVwn1Q=; b=wF4qWkQfTrtuTS/zvoMxMJIB7FeEmfoYBoXyftpICWWzAqaBLzaxj8Hg6g/jy/ImK+ ajk3J2eMHmQn/6hYraEXlXaQeEFAqZeh9THHZ7YyVZk5n1IuV3bi3u3LHwgYpLhhchNd KkTq6pimK65orpUGYV0gQosbLkhQpSQ9MFgTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=A//IMzTBruS1kG34dZbDkbEzeyy7jLOaO8BqqMHOTjbbCG2D1APbksHNBh2XMBS60T 8POkyMEQ6Lk/m0juN6xJ2HeJAAadR7Ox7UxeXtJBhnREvP6xumGacpOlxxvaN23cCDen 8v3jrwBPAzQgNmI+yecmDcG8NFBQvX85SjzJk= Received: by 10.102.253.6 with SMTP id a6mr1669314mui.92.1223152748345; Sat, 04 Oct 2008 13:39:08 -0700 (PDT) Received: by 10.103.247.7 with HTTP; Sat, 4 Oct 2008 13:39:08 -0700 (PDT) Message-ID: Date: Sat, 4 Oct 2008 22:39:08 +0200 From: "Redd Vinylene" To: peter.stosz@mentat.hu In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 20:39:10 -0000 On Sat, Oct 4, 2008 at 10:36 PM, wrote: > > 1st of all, (re)design your system. > 2nd, create separate partition for your jail(s) > 3rd, if (I were you, and) the jail is not too complex, recreate from > scratch. (You get a clean jail :)) ) > Actually I can't do that. I use Bjoern A. Zeeb's multi-IP patch which currently doesn't compile, so. Besides my ISP charges way too much for a reinstall and I can't afford that. -- http://www.home.no/reddvinylene From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 21:14:50 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9DEA106569D for ; Sat, 4 Oct 2008 21:14:50 +0000 (UTC) (envelope-from oliver@nemesis.charlie.mouhaha.de) Received: from nemesis.charlie.mouhaha.de (nemesis.charlie.mouhaha.de [78.47.10.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3818FC19 for ; Sat, 4 Oct 2008 21:14:50 +0000 (UTC) (envelope-from oliver@nemesis.charlie.mouhaha.de) Received: from localhost (nemesis.charlie.mouhaha.de [78.47.10.193]) by nemesis.charlie.mouhaha.de (Postfix) with ESMTP id CB1C75A37A; Sat, 4 Oct 2008 22:14:48 +0100 (BST) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from nemesis.charlie.mouhaha.de ([78.47.10.193]) by localhost (nemesis.charlie.mouhaha.de [78.47.10.193]) (amavisd-new, port 10024) with ESMTP id dBi4TDPbVcL0; Sat, 4 Oct 2008 22:14:45 +0100 (BST) Received: by nemesis.charlie.mouhaha.de (Postfix, from userid 1001) id C7DE75A36E; Sat, 4 Oct 2008 22:14:45 +0100 (BST) Date: Sat, 4 Oct 2008 22:14:45 +0100 From: Oliver Peter To: Redd Vinylene Message-ID: <20081004211445.GE84710@nemesis.frida.mouhaha.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.0-RELEASE-p3 amd64 User-Agent: Mutt/1.5.18 (2008-05-17) Cc: jail@freebsd.org, questions@freebsd.org Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 21:14:50 -0000 On Sat, Oct 04, 2008 at 08:35:27PM +0200, Redd Vinylene wrote: > Hello hello! I need to move my jails from /usr/jail to /home/jail. The > latter is where all my diskspace is. Not all files seem to want to > move though? Maybe the whole case is worth it to give ezjail a try. The newest release has some nice features to move/backup jails. http://www.freshports.org/sysutils/ezjail/ -- Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174 "If it feels good, you're doing something wrong." -- Coach McTavish From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 21:16:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C126106568D for ; Sat, 4 Oct 2008 21:16:59 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 097B08FC12 for ; Sat, 4 Oct 2008 21:16:58 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1588109fkk.11 for ; Sat, 04 Oct 2008 14:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2u7F4wVCE0a7IMYVEZ2XG7+O7L6tySng9WyAEdHB7GU=; b=Rnadc+bJh+XXutaMnpvvUse0qHROpXpKo0TOCvk5TkoR8ExdqSOuzurc1xu0hXZH84 w6dVLx/widoiPayJx81Dwzu221upHAKiH/CgasqTb3rsfo6w1XESlXmzvaniq7rEr6E6 e+mnyJoyKZbPewaKd9dAYjrG+dkILM7cAs9n8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ATkUl/bLauO8MTnNHn3IkZmXyIo+EojDG9euSWlN9QRmgrsTBSj/xohGJ4Yf3B134E ne72spnfH4Y+MjFBSEzNKB0y6unU9Fn35miyy2pMvzKf6HoYl5FApi1VpO/426Hn/Lpr /PFRVEf8rKc3/uMEao9Vs6HzBCdcH5Tl9o9fY= Received: by 10.187.212.14 with SMTP id o14mr779843faq.14.1223153483368; Sat, 04 Oct 2008 13:51:23 -0700 (PDT) Received: by 10.187.220.2 with HTTP; Sat, 4 Oct 2008 13:51:23 -0700 (PDT) Message-ID: <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> Date: Sat, 4 Oct 2008 17:51:23 -0300 From: "Alexandre Biancalana" To: "Don O'Neil" In-Reply-To: <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> Cc: Wojciech Puchar , Michael Powell , freebsd-questions@freebsd.org Subject: Re: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 21:16:59 -0000 On 10/4/08, Don O'Neil wrote: > >>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but that > >>> didn't help. > >>> > >>> Can anyone help me get this new disk installed without having to boot > >>> off a recovery CD? The server is 500 miles away from me and I don't > >>> have direct console access. > >>> > >> > >> Uhmm... This may seem silly, but did you use fdisk to create a slice > >> first before you tried partitioning? > >> > >this is NOT needed. actually i don't do it anywhere. > > > >it just may be sysinstall problem, anything else. > > > I tried using fdisk first, same problem, won't let me write to the disk. Do you will use the entire disk in one partition ? If so, just do: newfs /dev/ad4 Maybe you should to use gjournal for this large filesystem.... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 22:32:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99FE1106568C for ; Sat, 4 Oct 2008 22:32:22 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from kermit.lizardhill.com (kermit.lizardhill.com [64.69.41.217]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE778FC0C for ; Sat, 4 Oct 2008 22:32:22 +0000 (UTC) (envelope-from lists@lizardhill.com) Received: from ip72-193-84-190.lv.lv.cox.net ([72.193.84.190] helo=mickey) by kermit.lizardhill.com with esmtpa (Exim 4.62) (envelope-from ) id 1KmFfs-000NTS-KF; Sat, 04 Oct 2008 15:32:32 -0700 From: "Don O'Neil" To: "'Alexandre Biancalana'" References: <20081004181923.N2683@wojtek.tensor.gdynia.pl> <4A5E18EB2ED142C2B97EFD5A82AA805F@mickey> <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> Date: Sat, 4 Oct 2008 15:31:53 -0700 Message-ID: <10435563D3EC45D8A9AE00AECF113945@mickey> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckmYv9htLscbp7dTRW9ixA1EOrsXgADeEkg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: <8e10486b0810041351je5262fbi3bee00f47ef3bc68@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: RE: Can't add new 1TB disk in FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 22:32:22 -0000 > >>> I've tried an old 'bypass': sysctl kern.geom.debugflags=16, but > >>> that > >>> didn't help. > >>> > >>> Can anyone help me get this new disk installed without having to > boot >>> off a recovery CD? The server is 500 miles away from me and > I don't >>> have direct console access. > >>> > >> > >> Uhmm... This may seem silly, but did you use fdisk to create a > slice >> first before you tried partitioning? > >> > >this is NOT needed. actually i don't do it anywhere. > > > >it just may be sysinstall problem, anything else. > > > I tried using fdisk first, same problem, won't let me write to the disk. Do you will use the entire disk in one partition ? If so, just do: newfs /dev/ad4 Maybe you should to use gjournal for this large filesystem.... ------------ I tried newfs before, same issue: # newfs /dev/ad4 newfs: /dev/ad4: failed to open disk for writing From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 23:10:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9DBC10656A1 for ; Sat, 4 Oct 2008 23:10:21 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from nyi.unixathome.org (nyi.unixathome.org [64.147.113.42]) by mx1.freebsd.org (Postfix) with ESMTP id 916D78FC14 for ; Sat, 4 Oct 2008 23:10:21 +0000 (UTC) (envelope-from dan@nyi.unixathome.org) Received: from localhost (localhost [127.0.0.1]) by nyi.unixathome.org (Postfix) with ESMTP id 6291D50990 for ; Sun, 5 Oct 2008 00:10:17 +0100 (BST) X-Virus-Scanned: amavisd-new at unixathome.org Received: from nyi.unixathome.org ([127.0.0.1]) by localhost (nyi.unixathome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TeRwdIr6Z93K for ; Sun, 5 Oct 2008 00:10:09 +0100 (BST) Received: by nyi.unixathome.org (Postfix, from userid 1001) id 823B850856; Sun, 5 Oct 2008 00:10:03 +0100 (BST) From: Dan Langille To: freebsd-questions@freebsd.org Message-Id: <20081004231004.823B850856@nyi.unixathome.org> Date: Sun, 5 Oct 2008 00:10:03 +0100 (BST) Subject: The FreeBSD Diary: 2008-09-14 - 2008-10-04 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Oct 2008 23:10:21 -0000 The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 23:27:03 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76284106568E for ; Sat, 4 Oct 2008 23:27:03 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from mail.pattersonsoftware.com (mail.pattersonsoftware.com [121.52.192.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE7F8FC15 for ; Sat, 4 Oct 2008 23:27:03 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from localhost (mail [127.0.0.3]) by mail.pattersonsoftware.com (Postfix) with ESMTP id 2FC9B4B7B5F; Sun, 5 Oct 2008 09:27:02 +1000 (EST) X-Virus-Scanned: amavisd-new at pattersonsoftware.com Received: from mail.pattersonsoftware.com ([127.0.0.3]) by localhost (mail.pattersonsoftware.com [127.0.0.3]) (amavisd-new, port 10024) with ESMTP id ehijb5sFNMz7; Sun, 5 Oct 2008 09:26:57 +1000 (EST) Received: from elegia (60-242-254-180.static.tpgi.com.au [60.242.254.180]) by mail.pattersonsoftware.com (Postfix) with ESMTPSA id 8797D4B7B5B; Sun, 5 Oct 2008 09:26:56 +1000 (EST) Date: Sun, 5 Oct 2008 09:26:55 +1000 From: Gary Newcombe To: "Redd Vinylene" , freebsd-questions@freebsd.org Message-Id: <20081005092655.7e64f180.gary@pattersonsoftware.com> In-Reply-To: References: <48E7B80F.8040602@gmail.com> <18663.48601.45230.57747@almost.alerce.com> <18663.49808.808955.271579@almost.alerce.com> Organization: Patterson Software X-Mailer: Sylpheed 2.5.0rc2 (GTK+ 2.12.12; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Problems moving my jails (mv: Operation not permitted) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2008 23:27:03 -0000 On Sat, 4 Oct 2008 22:27:09 +0200, "Redd Vinylene" wrote: > On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell wrote: > > Redd Vinylene writes: > > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell wrote: > > > > > > > > If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see > > > > the schg flag set. Man chflags for more info and instructions on how > > > > to unset it > > > > > > > > g. > > > > > > > > > > Yes: > > > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 /usr/jail/box/usr/bin/chpass > > > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > > and then "cp /usr/jail/box/usr/bin/chpass > > > /home/jail/box/usr/bin/chpass"? > > > > I think that you ought to be able to cp it as is. You're just not > > allowed to change the original (e.g. remove it), which is why your mv > > and rm failed. > > > > g. > > > > I've been told that changing flags might seriously mess things up. Is > there any way to copy the remaining files from /usr/jail into > /home/jail, or do I have to rebuild everything from scratch? Try copying the jail first as follows to retain permissions: stop the jail mkdir /usr/jail/newjail cd /usr/jail/origjail tar -cpf - . | tar -C /usr/jails/newjail -xpf - (don't worry about sockets not copying) If you want to copy the jail, change hostname, delete ssh public keys and change any other info pertinent to the jail. I just grep the hostname and ip in /etc and /usr/local/etc. Test the jail. It should work fine. If you want to remove the original jail, chflags -R noschg origjail rm -rf /usr/jail/origjail Ezjail really is very good too. You can convert your existing jails into the ezjail framework easily. Gary > > Much obliged. > > -- > http://www.home.no/reddvinylene > _______________________________________________ > 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"