From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 00:44:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB1901065670 for ; Sun, 25 Dec 2011 00:44:31 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 715418FC0A for ; Sun, 25 Dec 2011 00:44:31 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBP0l4OX017153; Sat, 24 Dec 2011 18:47:04 -0600 (CST) Date: Sat, 24 Dec 2011 18:47:04 -0600 (CST) From: Robert Bonomi Message-Id: <201112250047.pBP0l4OX017153@mail.r-bonomi.com> To: drew@mykitchentable.net, freebsd-questions@freebsd.org In-Reply-To: <4EF653B7.2070500@mykitchentable.net> Cc: Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 00:44:31 -0000 > From owner-freebsd-questions@freebsd.org Sat Dec 24 16:58:02 2011 > Date: Sat, 24 Dec 2011 14:35:35 -0800 > From: Drew Tomlinson > To: freebsd-questions@freebsd.org > Subject: FreeBSD 8 LiveFS - How To Start SSHD? > > I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from > which I've booted. I'd like to get sshd running so I can connect > remotely and have the ability to browse, copy/paste, etc. while I see > what I might be able to salvage before replacing my drive. > > I've found these directions: > > http://wiki.ggis.biz/index.php/Recover_Using_LiveFS > > I can do the "Configure the network connection", the "setup login shell > for root", and the "Prepare SSH" part. However the "Enable, configure, > and start sshd" part doesn't seem to apply and really doesn't make sense. > > Bottom line is that after running /mnt2/use/sbin/sshd, I can see the > process in ps output. However when I attempt to connect to sshd as > root, my connection is immediately closed. I'm thinking it's a > PermitRootLogin yes issue and I'm missing something but I've read and > re-read that section and verified that /etc/ssh/sshd_config contains > PermitRootLogin yes. If it happens -before- getting the login prompt, it is *NOT* a PermitRootLogin isssue. If you get the login prompt, put in 'root', and are -then- cut off it is a root login issue. Immediate connect and disconnect points to an issue with the IP address you're connecting from -- as sshd (or possibly tcpwrapper) sees it, that is. could be "no reverse-DNS", or inconsistent forward/reverse. Could be that the address/domain is blocked in /etc/hosts.{deny,allow} From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 05:05:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E98D4106566C for ; Sun, 25 Dec 2011 05:05:14 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8128A8FC0A for ; Sun, 25 Dec 2011 05:05:14 +0000 (UTC) Received: by eaaf13 with SMTP id f13so13230286eaa.13 for ; Sat, 24 Dec 2011 21:05:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ieEgJ0Z8b//ClHVMqVAhk08JER4TFC8e98rVMqqEmMA=; b=TJWcU1QbQb0qINw6BLD5lwy9UrXSUZKvB7nR7RcWImTVMs384MybXkMREgZEXwNZ/i jPtbsqriJQ5FrDfuimeInj9k5DgwdT9zplxd6plPUJGXO8vUSoD0oCCUA6gd+gtkGPM/ tarMLUVynibafwcFOuXPeaSR88+AyltI2dvnk= MIME-Version: 1.0 Received: by 10.204.128.77 with SMTP id j13mr5462016bks.124.1324789513329; Sat, 24 Dec 2011 21:05:13 -0800 (PST) Received: by 10.205.26.6 with HTTP; Sat, 24 Dec 2011 21:05:13 -0800 (PST) In-Reply-To: <4EF653B7.2070500@mykitchentable.net> References: <4EF653B7.2070500@mykitchentable.net> Date: Sat, 24 Dec 2011 23:05:13 -0600 Message-ID: From: Adam Vande More To: Drew Tomlinson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 05:05:15 -0000 On Sat, Dec 24, 2011 at 4:35 PM, Drew Tomlinson wrote: > > I can do the "Configure the network connection", the "setup login shell > for root", and the "Prepare SSH" part. However the "Enable, configure, and > start sshd" part doesn't seem to apply and really doesn't make sense. > > Bottom line is that after running /mnt2/use/sbin/sshd, I can see the > process in ps output. However when I attempt to connect to sshd as root, > my connection is immediately closed. > ssh -vv -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 05:37:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58EF31065670 for ; Sun, 25 Dec 2011 05:37:45 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc2.surewest.net (rc2.surewest.net [66.60.130.51]) by mx1.freebsd.org (Postfix) with ESMTP id 2E17E8FC0A for ; Sun, 25 Dec 2011 05:37:44 +0000 (UTC) Received: from smtp3.surewest.net ([66.60.130.145]) by rc2.surewest.net ({1b970212-ad71-403b-a2dd-d897d2565e71}) via TCP (outbound) with ESMTP id 20111225053104635; Sun, 25 Dec 2011 05:31:04 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp3.surewest.net (Postfix) with ESMTP id EBB2289766; Sat, 24 Dec 2011 21:31:03 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id CD60D9C22A; Sat, 24 Dec 2011 21:31:03 -0800 (PST) Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPS id 14DFF165822; Sat, 24 Dec 2011 21:31:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1324791064; bh=WCPyPZTo9tI1znNQmeUwy5tUoHIpEHUva15ghYs3xKI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kLbkWojy765Qk/JvaMct1ym16ZmwO6CMD6csK7axoC4Y9lcoc16Fmg4xzE0/BTORG JjJWYpyD7unXEoWd5DPBVXNFoUwwV7JIQgV2AHlCE6w9DD2O9vcuFV730vZDtq2iOv pDsMp/nUfkaOZCsC3uS3HxBsfEke1NtaAXWp037g= Message-ID: <4EF6B509.3020801@mykitchentable.net> Date: Sat, 24 Dec 2011 21:30:49 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Robert Bonomi References: <201112250047.pBP0l4OX017153@mail.r-bonomi.com> In-Reply-To: <201112250047.pBP0l4OX017153@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111224-1, 12/24/2011), Outbound message X-Antivirus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 05:37:45 -0000 On 12/24/2011 4:47 PM, Robert Bonomi wrote: >> From owner-freebsd-questions@freebsd.org Sat Dec 24 16:58:02 2011 >> Date: Sat, 24 Dec 2011 14:35:35 -0800 >> From: Drew Tomlinson >> To: freebsd-questions@freebsd.org >> Subject: FreeBSD 8 LiveFS - How To Start SSHD? >> >> I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from >> which I've booted. I'd like to get sshd running so I can connect >> remotely and have the ability to browse, copy/paste, etc. while I see >> what I might be able to salvage before replacing my drive. >> >> I've found these directions: >> >> http://wiki.ggis.biz/index.php/Recover_Using_LiveFS >> >> I can do the "Configure the network connection", the "setup login shell >> for root", and the "Prepare SSH" part. However the "Enable, configure, >> and start sshd" part doesn't seem to apply and really doesn't make sense. >> >> Bottom line is that after running /mnt2/use/sbin/sshd, I can see the >> process in ps output. However when I attempt to connect to sshd as >> root, my connection is immediately closed. I'm thinking it's a >> PermitRootLogin yes issue and I'm missing something but I've read and >> re-read that section and verified that /etc/ssh/sshd_config contains >> PermitRootLogin yes. > If it happens -before- getting the login prompt, it is *NOT* a PermitRootLogin > isssue. If you get the login prompt, put in 'root', and are -then- cut off > it is a root login issue. > > Immediate connect and disconnect points to an issue with the IP address > you're connecting from -- as sshd (or possibly tcpwrapper) sees it, that is. > could be "no reverse-DNS", or inconsistent forward/reverse. Could be that > the address/domain is blocked in /etc/hosts.{deny,allow} Thank you. Seems I had to restart sshd to get it to read hosts.allow? I didn't think that would be the case but it worked. Now I am having a PermitRootLogin issue because it's happening after the login prompt. Another poster also suggested "ssh -vv" which I ran locally on the LiveFS machine and it confirm that the connection is closed after public key auth fails and it moves to keyboard-interactive. Don't know what to try next. Seems that I can only kill sshd by rebooting. It ignores "kill -15" or "kill -9" commands. Thanks for your help. Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 05:38:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 129AE1065673 for ; Sun, 25 Dec 2011 05:38:07 +0000 (UTC) (envelope-from heather@trans-world.org) Received: from whmserver1.trans-world.org (unknown [IPv6:2001:49f0:a010:1:1092:a8ff:fed9:9027]) by mx1.freebsd.org (Postfix) with ESMTP id D259A8FC14 for ; Sun, 25 Dec 2011 05:38:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=trans-world.org) by whmserver1.trans-world.org with esmtpa (Exim 4.69) (envelope-from ) id 1Regma-0001PN-IA for freebsd-questions@freebsd.org; Sun, 25 Dec 2011 00:38:04 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 25 Dec 2011 00:38:04 -0500 From: heather@trans-world.org To: Message-ID: <8cd929f111399fa4695c5eb642caab03@trans-world.org> X-Sender: heather@trans-world.org User-Agent: Roundcube Webmail/0.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - whmserver1.trans-world.org X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - trans-world.org X-Source: X-Source-Args: X-Source-Dir: Subject: Freebsd installation problem with 3ware 8506-4LP - storage controller (RAID) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 05:38:07 -0000 Hello, we tried to instal Freebsd with my 3ware 8506-4LP - storage controller (RAID) and it seems freebsd does not support my raid card could you please tell me how to fox this problem? Here below ismy data center message I got after they tried to instal freebsd on my server, regards, Miss Riverso Unfortunately it appears that FreeBSD is unable to "see" your raid card or the drives attached to it. I am able to setup the raid 10 array but once the FreeBSD installer starts, the drives are not visible. I have looked for any drivers that may be available for FreeBSD and I am unable to locate them. At this point we can either reinstall the machine with a different OS or provide you with a kvm From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 05:49:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C56F106564A for ; Sun, 25 Dec 2011 05:49:07 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id 58FF18FC12 for ; Sun, 25 Dec 2011 05:49:07 +0000 (UTC) Received: from smtp4.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20111225054247566; Sun, 25 Dec 2011 05:42:47 +0000 X-RC-FROM: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp4.surewest.net (Postfix) with ESMTP id 7CE0389635; Sat, 24 Dec 2011 21:42:46 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 517899A2CB; Sat, 24 Dec 2011 21:42:46 -0800 (PST) Received: from [127.0.0.1] (bigdaddy.mykitchentable.net [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPS id 715EC165822; Sat, 24 Dec 2011 21:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1324791766; bh=wxdeW4mg4yeFnvBga4mqk+2nUl0sa7tltZAGYXhTs4I=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=jsPmQkPCa5x7OiH++JPeixZxRGwjisH0EXYDfiG/W15npmTMWFhrgPeujCnk9NZos fdFw+ktNwAvBqDeddDDpLxfcD8jDYo40bEYX4+Ro2upplFK1ZadFcoEb23x9YsLVCr VvSOeDUn0EWH7S6XBQ4IxFGngRYf7rToj8Rh/prI= Message-ID: <4EF6B7C9.7030003@mykitchentable.net> Date: Sat, 24 Dec 2011 21:42:33 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Adam Vande More References: <4EF653B7.2070500@mykitchentable.net> In-Reply-To: X-Antivirus: avast! (VPS 111224-1, 12/24/2011), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 05:49:07 -0000 On 12/24/2011 9:05 PM, Adam Vande More wrote: > On Sat, Dec 24, 2011 at 4:35 PM, Drew Tomlinson > > wrote: > > > I can do the "Configure the network connection", the "setup login > shell for root", and the "Prepare SSH" part. However the "Enable, > configure, and start sshd" part doesn't seem to apply and really > doesn't make sense. > > Bottom line is that after running /mnt2/use/sbin/sshd, I can see > the process in ps output. However when I attempt to connect to > sshd as root, my connection is immediately closed. > > > > ssh -vv Thank you. That led me to know that my host.allow file wasn't right. Fixed that. Now failing when keyboard-interactive packet is sent. Thinking it's the PermitRootLogin yes problem. Have created a sshd_config file set to yes and used the -f /path/to/file switch when starting sshd. Have also tried using -o 'PermitRootLogin yes' when starting. Still not Thanks for your help. Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 08:21:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27D5E106566B for ; Sun, 25 Dec 2011 08:21:37 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id EAD0B8FC15 for ; Sun, 25 Dec 2011 08:21:36 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBP8OBnH019164; Sun, 25 Dec 2011 02:24:11 -0600 (CST) Date: Sun, 25 Dec 2011 02:24:11 -0600 (CST) From: Robert Bonomi Message-Id: <201112250824.pBP8OBnH019164@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, heather@trans-world.org In-Reply-To: <8cd929f111399fa4695c5eb642caab03@trans-world.org> Cc: Subject: Re: Freebsd installation problem with 3ware 8506-4LP - storage controller (RAID) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 08:21:37 -0000 > From owner-freebsd-questions@freebsd.org Sat Dec 24 23:42:28 2011 > Date: Sun, 25 Dec 2011 00:38:04 -0500 > From: heather@trans-world.org > To: > Subject: Freebsd installation problem with 3ware 8506-4LP - storage > controller (RAID) > > Hello, we tried to instal Freebsd with my 3ware 8506-4LP - storage > controller (RAID) > and it seems freebsd does not support my raid card could you please > tell me how to fox this problem? Read the list of supported hardware. See: select "hardware notes' for the release version of the O/S you are using. The '3Ware 8506-4LP" is listed there. It requiress the 'twe' disk driver software, which _is_ provided by the standard distribution, *BUT* manual configuration is required. you have to do the indicated 'magic' for the installer before it will see the controller an disks as installation targets. Then you have to do it AGAIN for the installed system, before booting it. The 'twe' manpage describes what is required. You can find it from the hardware notes link mentioned above. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 09:27:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26EEC106566C for ; Sun, 25 Dec 2011 09:27:40 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id D90178FC0C for ; Sun, 25 Dec 2011 09:27:39 +0000 (UTC) Received: (qmail invoked by alias); 25 Dec 2011 09:27:38 -0000 Received: from unknown (EHLO [192.168.2.192]) [78.84.110.116] by mail.gmx.com (mp-us011) with SMTP; 25 Dec 2011 04:27:38 -0500 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1+wCAN/cb2wULsjolkD4FxgphVcGdRRZGJsSYdsmj FbWOhiy5dyIbtn Message-ID: <4EF6EC89.9050405@mail.com> Date: Sun, 25 Dec 2011 11:27:37 +0200 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF653B7.2070500@mykitchentable.net> <4EF6B7C9.7030003@mykitchentable.net> In-Reply-To: <4EF6B7C9.7030003@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Mailman-Approved-At: Sun, 25 Dec 2011 12:07:00 +0000 Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 09:27:40 -0000 On 12/25/2011 07:42 AM, Drew Tomlinson wrote: > On 12/24/2011 9:05 PM, Adam Vande More wrote: >> On Sat, Dec 24, 2011 at 4:35 PM, Drew Tomlinson >> > wrote: >> >> >> I can do the "Configure the network connection", the "setup login >> shell for root", and the "Prepare SSH" part. However the "Enable, >> configure, and start sshd" part doesn't seem to apply and really >> doesn't make sense. >> >> Bottom line is that after running /mnt2/use/sbin/sshd, I can see >> the process in ps output. However when I attempt to connect to >> sshd as root, my connection is immediately closed. >> >> >> >> ssh -vv > > Thank you. That led me to know that my host.allow file wasn't right. > Fixed that. Now failing when keyboard-interactive packet is sent. > Thinking it's the PermitRootLogin yes problem. Have created a > sshd_config file set to yes and used the -f /path/to/file switch when > starting sshd. Have also tried using -o 'PermitRootLogin yes' when > starting. Still not > > Thanks for your help. > > Drew > It is the default behavior of sshd to reject root, and the reason is security. I, personally (and I think most of the guys there out), just leave it that way. Just access your server with "ssh @, and then issue "su" command to become root. It will ask you the root password which you should know if you installed the system. When you have done all the system maintenance that you wanted, press -d. It will move you back to your personal shell and environment, out of root privileges. Press the -d the second time, and you are disconnected from your server. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 15:03:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C571106566B for ; Sun, 25 Dec 2011 15:03:09 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from mail.mroute.net (lax-gw09.mailroute.net [199.89.0.109]) by mx1.freebsd.org (Postfix) with ESMTP id 1D35B8FC14 for ; Sun, 25 Dec 2011 15:03:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lax-gw09.mroute.net (Postfix) with ESMTP id EE72D170170; Sun, 25 Dec 2011 14:44:11 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw09.mroute.net (Postfix) with ESMTP id 03885170161; Sun, 25 Dec 2011 14:44:10 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id BBE503CF9; Sun, 25 Dec 2011 06:44:10 -0800 (PST) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Jeff Tipton References: <4EF653B7.2070500@mykitchentable.net> <4EF6B7C9.7030003@mykitchentable.net> <4EF6EC89.9050405@mail.com> x-mayan-date: Long count = 12.19.18.17.18; tzolkin = 6 Etznab; haab = 6 Kankin Date: Sun, 25 Dec 2011 06:44:10 -0800 In-Reply-To: <4EF6EC89.9050405@mail.com> (Jeff Tipton's message of "Sun, 25 Dec 2011 11:27:37 +0200") Message-ID: <86wr9k1zk5.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 15:03:09 -0000 >>>>> "Jeff" == Jeff Tipton writes: Jeff> It is the default behavior of sshd to reject root, and the reason Jeff> is security. I, personally (and I think most of the guys there Jeff> out), just leave it that way. Just access your server with "ssh Jeff> @, and then issue Jeff> "su" command to become root. It will ask you the root password Jeff> which you should know if you installed the system. When you have Jeff> done all the system maintenance that you wanted, press Jeff> -d. It will move you back to your personal shell and Jeff> environment, out of root privileges. Press the -d the second Jeff> time, and you are disconnected from your server. Or better yet, install sudo, which doesn't require you to share the root password with a group of people, reducing auditability. I haven't used "su" in years, except to install sudo. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 16:10:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E47106566C for ; Sun, 25 Dec 2011 16:10:25 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward9.mail.yandex.net (forward9.mail.yandex.net [77.88.61.48]) by mx1.freebsd.org (Postfix) with ESMTP id D61F38FC16 for ; Sun, 25 Dec 2011 16:10:23 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward9.mail.yandex.net (Yandex) with ESMTP id EDDA7CE29E7; Sun, 25 Dec 2011 20:10:21 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324829422; bh=27XA5SadGuSc2NE96Lbx87w63jvmMI6Jvqa9Sea3tZg=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gCGh6XECEiSM+btafYmDijTrAjYrVDPh3ZtlCWsN1IV3tw/ngtuoAdGZMEEXtBg73 YrKZyyHtoN9x2UoYHf5LncEsvVkbwm9b+wq/AteyPAZv0VtRCJGPuiDchqhrCmM34P V5D6ZCyAWh9Dex6wSXa1spbDWV2ZjEVr7kG5S0Rk= Received: from smtp8.mail.yandex.net (localhost [127.0.0.1]) by smtp8.mail.yandex.net (Yandex) with ESMTP id BDC1B1B603E3; Sun, 25 Dec 2011 20:10:21 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324829421; bh=27XA5SadGuSc2NE96Lbx87w63jvmMI6Jvqa9Sea3tZg=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=q3mGaXE3ztNW4MwYjzCrV3mj//9N9GUzEafr1g+UjOa7ZtfAJID6S6uFbsKFvh0rP FX1L37d2xuZPFFBeLtMdSC54dtUrid7h339KKx/5O+KX9B/5RKTNM9d5xuRp+wFUBw SDu+FVoziDkDyl+Vk3cPxCFVEQwMHgYqUX10GHf8= Received: from unknown (unknown [77.93.52.22]) by smtp8.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ALqW1xVu-ALqW4LaT; Sun, 25 Dec 2011 20:10:21 +0400 X-Yandex-Spam: 1 Date: Sun, 25 Dec 2011 18:10:17 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <621310179.20111225181017@yandex.ru> To: "wishmaster" In-Reply-To: <70251.1324270448.8859926110310105088@ffe16.ukr.net> References: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> <1374625746.20111217102942@yandex.ru> <926001243.20111218194712@yandex.ru> <70251.1324270448.8859926110310105088@ffe16.ukr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Daniel Staal , freebsd-questions@freebsd.org Subject: Re[4]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 16:10:25 -0000 Здравствуйте, wishmaster. Вы писали 19 декабря 2011 г., 6:54:08: w> --- Original message --- w> From: "Коньков Евгений" w> To: "Daniel Staal" w> Date: 18 December 2011, 19:47:40 w> Subject: Re[2]: high load system do not take all CPU time w> w> >> Здравствуйте, Daniel. >> >> Вы писали 18 декабря 2011 г., 17:52:00: >> >> DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений >> DS> is alleged to have said: >> >> >> How to debug why system do not use free CPU resouces? >> >> >> >> On this pictures you can see that CPU can not exceed 400tics >> >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >> >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >> >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >> >> >> >> >> >> On these pictures you can see that problems begin with trafic on re0 >> >> when CPU load rise to "maximum" >> >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >> >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >> >> >> >> But there is 25% CPU idle yet at that moment. >> >> DS> >> >> >># top -SIHP >> >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >> >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >> >> stopped, 20 waiting >> >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >> >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >> >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >> >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >> >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >> >> Swap: 4096M Total, 15M Used, 4080M Free >> >> DS> --As for the rest, it is mine. >> >> DS> You are I/O bound; most of your time is spent in interrupts. The CPU is >> DS> dealing with things as fast as it can get them, but it has to wait for the >> DS> disk and/or network card to get them to it. The CPU is not your problem; >> DS> if you need more performance, you need to tune the I/O. (And possibly get >> DS> better I/O cards, if available.) >> >> DS> Daniel T. Staal >> >> can I get interrupt limit or calculate it before that limit is >> reached? >> >> interrupt source is internal card: >> # vmstat -i >> interrupt total rate >> irq14: ata0 349756 78 >> irq16: ehci0 7427 1 >> irq23: ehci1 12150 2 >> cpu0:timer 18268704 4122 >> irq256: re0 85001260 19178 >> cpu1:timer 18262192 4120 >> cpu2:timer 18217064 4110 >> cpu3:timer 18210509 4108 >> Total 158329062 35724 >> >> Have you any good I/O tuning links to read? >> >> -- >> С уважением, >> Коньков mailto:kes-kes@yandex.ru w> w> Your problem is in the poor performance LAN Card. Guy from w> Calomel Org told you about it. He advised you to change to Intel Network Card. see at time 17:20 http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ at this point freeradius start to work slow because of no CPU time is allocated to it or is allocated to little and mpd5 start to drop users because of no response from radius. I do not know what idle were on 'top', sadly. does SNMP return right values for CPU usage? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 17:03:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A4B2106566B for ; Sun, 25 Dec 2011 17:03:07 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from ffe17.ukr.net (ffe17.ukr.net [195.214.192.83]) by mx1.freebsd.org (Postfix) with ESMTP id 435228FC14 for ; Sun, 25 Dec 2011 17:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Cc:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=kLLeSmXSVF+QdOcLNCo6xL/0NQJ7jzikegWOQyH4pJE=; b=LO/loUMFsDaBmMSW1tTq3K4Igsrvs6Annc2BVSKsMmOn0TX8YAKoW/LqYrMOoJ4bQeUsOTPW02G0dmUwmCeSfY5WJVFh2a1zalc3zO2Q44nhC5ABZLbRZc2WpbDPcjz7xDso1z4EFfBiGbybQUL2ADfc/myJ1m1watKT3Xdclf8=; Received: from mail by ffe17.ukr.net with local ID 1RerTV-000HK6-2B ; Sun, 25 Dec 2011 19:03:05 +0200 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" In-Reply-To: <621310179.20111225181017@yandex.ru> References: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> <1374625746.20111217102942@yandex.ru> <926001243.20111218194712@yandex.ru> <70251.1324270448.8859926110310105088@ffe16.ukr.net> <621310179.20111225181017@yandex.ru> To: =?WINDOWS-1251?B?yu7t/Oru4iDF4uPl7ejp?= From: "wishmaster" X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [195.200.251.68] Message-Id: <66225.1324832585.13952326456075091968@ffe17.ukr.net> X-Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20100101 Firefox/9.0 Date: Sun, 25 Dec 2011 19:03:05 +0200 Cc: Daniel Staal , freebsd-questions@freebsd.org Subject: Re: Re[4]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Dec 2011 17:03:07 -0000 --- Original message --- From: "Коньков Евгений" To: "wishmaster" Date: 25 December 2011, 18:10:22 Subject: Re[4]: high load system do not take all CPU time > Здравствуйте, wishmaster. > > Вы писали 19 декабря 2011 г., 6:54:08: > > > > w> --- Original message --- > w> From: "Коньков Евгений" > w> To: "Daniel Staal" > w> Date: 18 December 2011, 19:47:40 > w> Subject: Re[2]: high load system do not take all CPU time > w> > w> > > > >> Здравствуйте, Daniel. > >> > >> Вы писали 18 декабря 2011 г., 17:52:00: > >> > >> DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений > >> DS> is alleged to have said: > >> > >> >> How to debug why system do not use free CPU resouces? > >> >> > >> >> On this pictures you can see that CPU can not exceed 400tics > >> >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ > >> >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ > >> >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ > >> >> > >> >> > >> >> On these pictures you can see that problems begin with trafic on re0 > >> >> when CPU load rise to "maximum" > >> >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ > >> >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ > >> >> > >> >> But there is 25% CPU idle yet at that moment. > >> > >> DS> > >> > >> >># top -SIHP > >> >> last pid: 93050; load averages: 1.45, 1.41, 1.29 > >> >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 > >> >> stopped, 20 waiting > >> >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle > >> >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle > >> >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle > >> >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle > >> >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free > >> >> Swap: 4096M Total, 15M Used, 4080M Free > >> > >> DS> --As for the rest, it is mine. > >> > >> DS> You are I/O bound; most of your time is spent in interrupts. The CPU is > >> DS> dealing with things as fast as it can get them, but it has to wait for the > >> DS> disk and/or network card to get them to it. The CPU is not your problem; > >> DS> if you need more performance, you need to tune the I/O. (And possibly get > >> DS> better I/O cards, if available.) > >> > >> DS> Daniel T. Staal > >> > >> can I get interrupt limit or calculate it before that limit is > >> reached? > >> > >> interrupt source is internal card: > >> # vmstat -i > >> interrupt total rate > >> irq14: ata0 349756 78 > >> irq16: ehci0 7427 1 > >> irq23: ehci1 12150 2 > >> cpu0:timer 18268704 4122 > >> irq256: re0 85001260 19178 > >> cpu1:timer 18262192 4120 > >> cpu2:timer 18217064 4110 > >> cpu3:timer 18210509 4108 > >> Total 158329062 35724 > >> > >> Have you any good I/O tuning links to read? > >> > >> -- > >> С уважением, > >> Коньков mailto:kes-kes@yandex.ru > w> > w> Your problem is in the poor performance LAN Card. Guy from > w> Calomel Org told you about it. He advised you to change to Intel Network Card. > > see at time 17:20 > http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ > > at this point freeradius start to work slow because of no CPU time is > allocated to it or is allocated to little and mpd5 start to drop users because of no response > from radius. I do not know what idle were on 'top', sadly. > > does SNMP return right values for CPU usage? > Here is some interesting articles about performance, mpd and others. Read it. http://dadv.livejournal.com/138951.html From owner-freebsd-questions@FreeBSD.ORG Sun Dec 25 21:54:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FB47106564A for ; Sun, 25 Dec 2011 21:54:20 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 08E3E8FC12 for ; Sun, 25 Dec 2011 21:54:19 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so19518289wgb.31 for ; Sun, 25 Dec 2011 13:54:18 -0800 (PST) Received: by 10.227.59.205 with SMTP id m13mr21944351wbh.28.1324850058324; Sun, 25 Dec 2011 13:54:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.255.70 with HTTP; Sun, 25 Dec 2011 13:53:57 -0800 (PST) From: Chris Brennan Date: Sun, 25 Dec 2011 16:53:57 -0500 Message-ID: To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Chris Subject: ZFS & NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 25 Dec 2011 21:54:20 -0000 Greetings! Hopefully I don't get to lost in my explanation here. I have a raid1 array w/ ZFS running ontop of it, yes I realize this isn't the ideal way to do things, I didn't know that at the time. The system is stock FreeBSD-8.2-i386, with 2GB of RAM. In /boot/loader.conf I have the following: vfs.zfs.txg.timeout="5" kern.maxvnodes=250000 vfs.zfs.txg.write_limit_override=1073741824 The array is 2x750GB Seagate 2.5" drives w/ 16MB cache/ea. I'm not doing anything fancy except storage of various Operating System ISO's and some other files, all being served to my lan via Samba (to some windows clients) and via nfs to several linux/freebsd clients. Now, on to the juicy stuff. Windows is unable to successfully connect to the SMB shares anymore, and I can't figure out why. No error messages are printed in /var/log/messages on the server. The samba share block for /tank/store is as follows: [tank] comment = ZFS Tank path = /tank valid users = chris admin users = chris read list = chris write list = chris read only = No 'chris' being the uid I use everywhere on my lan. Every machine has this login. NFS wise, I have the following set up: [root@ziggy ~]# cat /etc/exports /home -alldirs -network 192.168.0.0 -mask 255.255.255.0 /usr/obj -maproot=root -alldirs -rw /usr/src -maproot=root -alldirs -rw /usr/ports -maproot=root -alldirs -rw /usr/ports/distfiles -maproot=root -alldirs -rw /usr/ports/packages -maproot=root -alldirs -rw [root@ziggy ~]# cat /etc/zfs/exports # !!! DO NOT EDIT THIS FILE MANUALLY !!! /tank -maproot=root -alldirs -rw /tank/music -maproot=root -alldirs -rw /tank/store -maproot=root -alldirs -rw /tank/tmp -maproot=root -alldirs -rw [root@ziggy ~]# showmount -ae All mount points on localhost: stewie.xaerolimit.net:/tank/store Exports list on localhost: /tank/tmp 192.168.0.0 /tank/store Everyone /tank/music 192.168.0.0 [root@ziggy ~]# /usr/src, /usr/obj, /usr/ports, /usr/ports/distfiles, and /usr/ports/packages are all zfs remounts [root@ziggy ~]# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad10s1a 989M 175M 735M 19% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad10s1e 989M 4.2M 906M 0% /tmp /dev/ad10s1f 61G 1.0G 55G 2% /usr /dev/ad10s1d 5.8G 96M 5.2G 2% /var /dev/ad8p2 902G 2.4M 830G 0% /usr/home procfs 4.0K 4.0K 0B 100% /proc tank 488G 4.8G 483G 1% /tank tank/music 483G 27M 483G 0% /tank/music tank/store 622G 139G 483G 22% /tank/store tank/tmp 539G 56G 483G 10% /tank/tmp tank/obj 484G 634M 483G 0% /usr/obj tank/ports 484G 257M 483G 0% /usr/ports tank/ports/distfiles 484G 580M 483G 0% /usr/ports/distfiles tank/ports/packages 483G 196M 483G 0% /usr/ports/packages tank/src 484G 798M 483G 0% /usr/src [root@ziggy ~]# Now when I try to mount anything from the tank path, I get success, but, I am not able to create files on /tank/store, whereas I can on /tank/tmp and /tank/music, which is odd in of itself. Now if I try to mount any of the zfs-remounted shares from /usr, I get permission denied errors, such as this. >From the client: (fbsd8.2 laptop, recompiled srcs) root@blackdragon ~]# mount -t nfs ziggy:/usr/src /usr/src/ [tcp] ziggy:/usr/src: Permission denied ^C [root@blackdragon ~]# And from the server's /var/log/messages I see: Dec 25 16:49:15 ziggy mountd[788]: mount request denied from 192.168.0.5 for /usr/src I'll get that error message for any of the following nfsshares: /usr/src, /usr/obj, /usr/ports, /usr/ports/packages, and /usr/ports/distfiles. So I am unsure where I went wrong but some guidance would be greatly appreciated. > -- > Chris Brennan > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 03:00:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A61C106566B for ; Mon, 26 Dec 2011 03:00:16 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id A17E58FC14 for ; Mon, 26 Dec 2011 03:00:15 +0000 (UTC) Received: by eaaf13 with SMTP id f13so13746728eaa.13 for ; Sun, 25 Dec 2011 19:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=0abT1gs/oO52TqViHxwi5PvHMSOYQ9hXZUz9DwicRPs=; b=fFvHWPoXIl+3D0cOq4+20EiN9JtXqaD6MmqIkanZwV/y7/8I3BFR2kBZTKNx/uGh+u X6Y7YMG2dzdrP1dKLVPCSZNHT0y9l9F1UijY1dtDmTplpWBh/IUK1/+pO4xhpB3tZnWq PSfWNVFddAq8JnCXSmwpgwZPNWpnzVAMAoLHs= MIME-Version: 1.0 Received: by 10.205.139.76 with SMTP id iv12mr6034427bkc.100.1324867061726; Sun, 25 Dec 2011 18:37:41 -0800 (PST) Received: by 10.204.130.27 with HTTP; Sun, 25 Dec 2011 18:37:41 -0800 (PST) Date: Sun, 25 Dec 2011 21:37:41 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Archived FreeBSD versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 03:00:17 -0000 I have been looking for archived versions of FreeBSD back to 2.0. Where can these be found? I have looked on the FTP site but cannot find them there. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 03:06:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F25EB106566C for ; Mon, 26 Dec 2011 03:06:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B5B838FC0C for ; Mon, 26 Dec 2011 03:06:21 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id 2C1DF3CC30; Mon, 26 Dec 2011 04:06:20 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBQ36Jp5003237; Mon, 26 Dec 2011 04:06:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 26 Dec 2011 04:06:19 +0100 From: Polytropon To: David Jackson Message-Id: <20111226040619.fb24709c.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Archived FreeBSD versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 03:06:22 -0000 On Sun, 25 Dec 2011 21:37:41 -0500, David Jackson wrote: > I have been looking for archived versions of FreeBSD back to 2.0. Where can > these be found? I have looked on the FTP site but cannot find them there. http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/ You'll also find ISO-IMAGES/ in there. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 04:13:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2556C106564A for ; Mon, 26 Dec 2011 04:13:16 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 018A28FC0A for ; Mon, 26 Dec 2011 04:13:15 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id pBQ4DE3G031898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 25 Dec 2011 20:13:15 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id pBQ4DEFC031897; Sun, 25 Dec 2011 20:13:14 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA22489; Sun, 25 Dec 11 20:08:11 PST Date: Mon, 26 Dec 2011 03:08:14 -0800 From: perryh@pluto.rain.com To: merlyn@stonehenge.com, jeff.t@mail.com Message-Id: <4ef8559e.ApDLThvSGffgE2D0%perryh@pluto.rain.com> References: <4EF653B7.2070500@mykitchentable.net> <4EF6B7C9.7030003@mykitchentable.net> <4EF6EC89.9050405@mail.com> <86wr9k1zk5.fsf@red.stonehenge.com> In-Reply-To: <86wr9k1zk5.fsf@red.stonehenge.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 04:13:16 -0000 merlyn@stonehenge.com (Randal L. Schwartz) wrote: > >>>>> "Jeff" == Jeff Tipton writes: > Jeff> It is the default behavior of sshd to reject root ... > Jeff> Just access your server with > Jeff> "ssh @, > Jeff> and then issue "su" command to become root ... > > Or better yet, install sudo, which doesn't require you to share > the root password with a group of people, reducing auditability. It makes all kinds of sense to avoid direct root logins to an installed system, but the OP was asking how to use ssh to connect to a system booted from a LiveCD -- which doesn't have any user logins. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 04:14:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED06C106566B for ; Mon, 26 Dec 2011 04:14:25 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88C208FC18 for ; Mon, 26 Dec 2011 04:14:25 +0000 (UTC) Received: by eaaf13 with SMTP id f13so13778992eaa.13 for ; Sun, 25 Dec 2011 20:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=px265dl87I6Fnjx3PGN4wgxq8BkaLdefrNVNYBguTi0=; b=PcHXeJm73TNowc0W9HttlS9SCjObSwL8VYk05b7bffGC9X0tbHztwpGoDD9KA9S6Mn 1V//5XD8HEHalOgaTUIyPCZx/Y3qmxfsQ1wRiBf7FyBCfRkRzdCB/W261BsC54vttQM5 JWqh3xEZFyGxLZDMMEpe+UCVKKbaSHM262khc= MIME-Version: 1.0 Received: by 10.204.153.216 with SMTP id l24mr6083082bkw.64.1324872864450; Sun, 25 Dec 2011 20:14:24 -0800 (PST) Received: by 10.204.130.27 with HTTP; Sun, 25 Dec 2011 20:14:24 -0800 (PST) Date: Sun, 25 Dec 2011 23:14:24 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 04:14:26 -0000 Since I wish to use packages instead of ports to update my system, someone recommended I use pkg_upgrade. However, basically, it does not work. It gets to downloaded packages. But, after 10 packages, it prints a message "Protocol error" and then "Package x cannot be fetched", where x is the name of the pavkage it stops at. I can restart pkg_upgrade, it downloads 10 more packages where it stopped previously, but then gives this same message again. Maybe the connection to the FTP server os being lost and code needs to be added to automatically restart the FTP connection without the whole thing crashing? I do think packages need to be better supported on FreeBSD, many users do prefer to use packages due to speed and convenience and do not prefer to build it all. it shouldnt be such a hassle From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 04:52:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D0911065670 for ; Mon, 26 Dec 2011 04:52:45 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id EDB498FC0C for ; Mon, 26 Dec 2011 04:52:44 +0000 (UTC) Received: from zmail-mta02.peak.org ([207.55.16.112]) by redcondor2.peak.org ({6c724cae-de34-4c5f-b615-3072b86419fa}) via TCP (outbound) with ESMTP id 20111226045244451 for ; Mon, 26 Dec 2011 04:52:44 +0000 X-RC-FROM: X-RC-RCPT: Received: from maple.localnet (unknown [207.55.106.132]) by zmail-mta02.peak.org (Postfix) with ESMTPSA id 247F3489118 for ; Sun, 25 Dec 2011 20:52:44 -0800 (PST) Received: from oak.localnet (oak.localnet [IPv6:2001:1938:266::6f:616b]) by maple.localnet (Postfix) with ESMTP id B486061F12 for ; Sun, 25 Dec 2011 20:52:41 -0800 (PST) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 8125BC4FB for ; Sun, 25 Dec 2011 20:52:41 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id pBQ4qfjL086517; Sun, 25 Dec 2011 20:52:41 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: Mail-Followup-To: freebsd-questions@freebsd.org Date: Sun, 25 Dec 2011 20:52:41 -0800 In-Reply-To: (David Jackson's message of "Sun, 25 Dec 2011 23:14:24 -0500") Message-ID: <874nwodjdy.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 04:52:45 -0000 David Jackson writes: > Since I wish to use packages instead of ports to update my system, someone > recommended I use pkg_upgrade. However, basically, it does not work. It > gets to downloaded packages. But, after 10 packages, it prints a message > "Protocol error" and then "Package x cannot be fetched", where x is the > name of the pavkage it stops at. I can restart pkg_upgrade, it downloads 10 > more packages where it stopped previously, but then gives this same message > again. Maybe the connection to the FTP server os being lost and code needs > to be added to automatically restart the FTP connection without the whole > thing crashing? > > I do think packages need to be better supported on FreeBSD, many users do > prefer to use packages due to speed and convenience and do not prefer to > build it all. it shouldnt be such a hassle I can't help directly with your problem, but both portupgrade and portmaster support packages. In both cases you can just supply the -P or -PP options to specify how to handle packages. I think they both require that the ports tree be present for the /usr/ports/INDEX file, but otherwise they can use just packages. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 05:03:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 975DF106566B for ; Mon, 26 Dec 2011 05:03:36 +0000 (UTC) (envelope-from kevinz5000@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 555148FC08 for ; Mon, 26 Dec 2011 05:03:36 +0000 (UTC) Received: by yhfq46 with SMTP id q46so8287488yhf.13 for ; Sun, 25 Dec 2011 21:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=1fMladOiMjt373OvxSdhArv2eUQjIrvBMkVr/f9yt+4=; b=ihacLaSY6QZBMavDQhA5OGLDxUaCt9+h2Uc4QqKVRBOoosgz055FQzlE4W09RP+h5F 7DgtSZm40PCVHwcEFXsm9Sd7qs8kTBtHszrNNp/EhrgsaWmLUOsgxucPHSG9zVXH/SyO OXbcoBaUUOKJCqITsRD2e7/oHDnSoRBa8sx0Q= Received: by 10.236.153.226 with SMTP id f62mr31173213yhk.62.1324874264839; Sun, 25 Dec 2011 20:37:44 -0800 (PST) Received: from [192.168.2.4] (adsl-99-112-43-82.dsl.stl2mo.sbcglobal.net. [99.112.43.82]) by mx.google.com with ESMTPS id a15sm55123479ana.1.2011.12.25.20.37.43 (version=SSLv3 cipher=OTHER); Sun, 25 Dec 2011 20:37:44 -0800 (PST) Message-ID: <4EF7FA1C.4000007@gmail.com> Date: Sun, 25 Dec 2011 22:37:48 -0600 From: Kevin Zheng User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 1.3.4 OpenPGP: id=5EBE6447 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Clearing Login Screen 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, 26 Dec 2011 05:03:36 -0000 I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD 9.0-R3 and CTRL-L doesn't clear the screen. Personally, I like having CTRL-L to clear the login prompt before and after I log in, and I'd like to see that on FreeBSD 9 as well. Is there something I can do with /etc/gettytab to get this behavior working again? Thanks in advance, Kevin From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 05:05:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65B5B106566B for ; Mon, 26 Dec 2011 05:05:20 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id ECE5B8FC15 for ; Mon, 26 Dec 2011 05:05:19 +0000 (UTC) Received: by eaaf13 with SMTP id f13so13801926eaa.13 for ; Sun, 25 Dec 2011 21:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zOt0UF9nUawrgV1V12W+Qy71Te2Lu0UCHn6ahta+Aok=; b=dSjsnvIw+qTPomAeI643CU+6rv78S9Vp/KlvP1fOtiFdZzCEBXccAGQ9ObGtaOF20J IRh9fLhAYbaf20W73tpXWfGIBk4qdoTf+wts8vO3/Tx9XPgtc32Wgx2xsiAbv/XyFDJU 1uaFDAEgsw2fwH35XMCf0OZbktwBUuyAR/Y3Q= MIME-Version: 1.0 Received: by 10.204.153.216 with SMTP id l24mr6103930bkw.64.1324875916545; Sun, 25 Dec 2011 21:05:16 -0800 (PST) Received: by 10.204.130.27 with HTTP; Sun, 25 Dec 2011 21:05:16 -0800 (PST) In-Reply-To: <874nwodjdy.fsf@oak.localnet> References: <874nwodjdy.fsf@oak.localnet> Date: Mon, 26 Dec 2011 00:05:16 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 05:05:20 -0000 On Sun, Dec 25, 2011 at 11:52 PM, Carl Johnson wrote: > David Jackson writes: > > > Since I wish to use packages instead of ports to update my system, > someone > > recommended I use pkg_upgrade. However, basically, it does not work. It > > gets to downloaded packages. But, after 10 packages, it prints a message > > "Protocol error" and then "Package x cannot be fetched", where x is the > > name of the pavkage it stops at. I can restart pkg_upgrade, it downloads > 10 > > more packages where it stopped previously, but then gives this same > message > > again. Maybe the connection to the FTP server os being lost and code > needs > > to be added to automatically restart the FTP connection without the whole > > thing crashing? > > > > I do think packages need to be better supported on FreeBSD, many users do > > prefer to use packages due to speed and convenience and do not prefer to > > build it all. it shouldnt be such a hassle > > I can't help directly with your problem, but both portupgrade and > portmaster support packages. In both cases you can just supply the -P > or -PP options to specify how to handle packages. I think they both > require that the ports tree be present for the /usr/ports/INDEX file, > but otherwise they can use just packages. > -- > Carl Johnson carlj@peak.org > > _ The fact is, I have had problems with portupgrade as well, in fact, portupgrade would give errors as well with not being able to download packages, the entire upgrade process at that point would fail. That is the reason I am trying pkg_upgrade. Again, things should work better than this. Things shouldnt be such a hassle. It should work similar to ubuntu apt-get, where it just works out of the box. You type apt-get upgrade and it automatically upgrades everything, no need to mess around, > ______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 05:25:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8094B1065673 for ; Mon, 26 Dec 2011 05:25:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 451C88FC08 for ; Mon, 26 Dec 2011 05:25:17 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx01.qsc.de (Postfix) with ESMTP id 366B13CBE9; Mon, 26 Dec 2011 06:25:15 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBQ5PFZj004830; Mon, 26 Dec 2011 06:25:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 26 Dec 2011 06:25:15 +0100 From: Polytropon To: Kevin Zheng Message-Id: <20111226062515.f63963f1.freebsd@edvax.de> In-Reply-To: <4EF7FA1C.4000007@gmail.com> References: <4EF7FA1C.4000007@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Clearing Login Screen on Console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 05:25:17 -0000 On Sun, 25 Dec 2011 22:37:48 -0600, Kevin Zheng wrote: > I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login > prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD > 9.0-R3 and CTRL-L doesn't clear the screen. > > Personally, I like having CTRL-L to clear the login prompt before and > after I log in, and I'd like to see that on FreeBSD 9 as well. Is there > something I can do with /etc/gettytab to get this behavior working again? Can you put the command "clear" or "tput clear" in the shell's login and logout files (globally /etc/csh.login and /etc/csh.logout, local to the respective user ~/.login and ~/.logout)? You can also test those two commands interactively. I think they are connected to the ^L key, just to make sure if something's wrong with the /etc/gettytab file. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 08:37:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C94F7106564A for ; Mon, 26 Dec 2011 08:37:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4938FC0A for ; Mon, 26 Dec 2011 08:37:06 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-185.dynamic.qsc.de [92.195.49.185]) by mx02.qsc.de (Postfix) with ESMTP id 278C01D98D; Mon, 26 Dec 2011 09:37:04 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBQ8b4Ko006761; Mon, 26 Dec 2011 09:37:04 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 26 Dec 2011 09:37:04 +0100 From: Polytropon To: David Jackson Message-Id: <20111226093704.d87cff8b.freebsd@edvax.de> In-Reply-To: References: <874nwodjdy.fsf@oak.localnet> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 08:37:06 -0000 On Mon, 26 Dec 2011 00:05:16 -0500, David Jackson wrote: > The fact is, I have had problems with portupgrade as well, in fact, > portupgrade would give errors as well with not being able to download > packages, the entire upgrade process at that point would fail. That is the > reason I am trying pkg_upgrade. Make sure PACKAGEROOT is properly set (typically to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest or *amd64* respectively) and your ports tree is up to date. You can then use portmaster with its -P and -PP options and do a full upgrade as described in the EXAMPLES section of "man portmaster". > Again, things should work better than this. It should. :-) > Things shouldnt be such a hassle. It should work similar to ubuntu apt-get, > where it just works out of the box. You type apt-get upgrade and it > automatically upgrades everything, no need to mess around, That's basically what "man portmaster" says, even though the options are different and allow more flexibility. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 11:53:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74F01106564A for ; Mon, 26 Dec 2011 11:53:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7AC8FC12 for ; Mon, 26 Dec 2011 11:53:08 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so8968249wib.13 for ; Mon, 26 Dec 2011 03:53:08 -0800 (PST) Received: by 10.180.20.18 with SMTP id j18mr52758576wie.20.1324900387346; Mon, 26 Dec 2011 03:53:07 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id fk3sm24120378wbb.10.2011.12.26.03.53.05 (version=SSLv3 cipher=OTHER); Mon, 26 Dec 2011 03:53:06 -0800 (PST) Message-ID: <4EF86030.8000601@my.gd> Date: Mon, 26 Dec 2011 12:53:20 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EF653B7.2070500@mykitchentable.net> In-Reply-To: <4EF653B7.2070500@mykitchentable.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 11:53:09 -0000 On 12/24/11 11:35 PM, Drew Tomlinson wrote: > I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from > which I've booted. I'd like to get sshd running so I can connect > remotely and have the ability to browse, copy/paste, etc. while I see > what I might be able to salvage before replacing my drive. > > I've found these directions: > > http://wiki.ggis.biz/index.php/Recover_Using_LiveFS > > I can do the "Configure the network connection", the "setup login shell > for root", and the "Prepare SSH" part. However the "Enable, configure, > and start sshd" part doesn't seem to apply and really doesn't make sense. > > Bottom line is that after running /mnt2/use/sbin/sshd, I can see the > process in ps output. However when I attempt to connect to sshd as > root, my connection is immediately closed. I'm thinking it's a > PermitRootLogin yes issue and I'm missing something but I've read and > re-read that section and verified that /etc/ssh/sshd_config contains > PermitRootLogin yes. > > Can anyone tell me how to get sshd running or point me to a better link? > > Thanks, > > Drew > I would suggest using Martin Matuska's MFSBSD and loading it over PXE (or burning it to a disk). It'll load you a 8.2 BSD in RAM, and from there you'll be able to mount your local disks. Root login allowed, password is mfsroot. It'll try to get a DHCP IP, if it fails, you'll need to configure an IP manually. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 14:43:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B6C3106564A for ; Mon, 26 Dec 2011 14:43:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0819D8FC15 for ; Mon, 26 Dec 2011 14:43:39 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so9104082wib.13 for ; Mon, 26 Dec 2011 06:43:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=fLweLxM910PAJFH1KMfjz+XX1KOq97F+lN07O6qLN4I=; b=G2FgGFQpTF33CU8q2xP8/eCA3oymAp583ctc8MscFdl9isGcEU/iQWCmB/Ygeg2lL1 YkphBJiYZnphUWttcMaKw/QsFismDR4FgXNIjz3yd9q8snQ6wKqNUT35hADrPTLfumWf N4iH2jOzJYmmpjMsUJZfhuh3/jX0pXdUOOYMs= Received: by 10.216.131.13 with SMTP id l13mr13676025wei.45.1324910618841; Mon, 26 Dec 2011 06:43:38 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id en20sm57467898wid.10.2011.12.26.06.43.36 (version=SSLv3 cipher=OTHER); Mon, 26 Dec 2011 06:43:37 -0800 (PST) Date: Mon, 26 Dec 2011 14:43:35 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111226144335.691185f6@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 14:43:40 -0000 On Sun, 25 Dec 2011 23:14:24 -0500 David Jackson wrote: > I do think packages need to be better supported on FreeBSD, many > users do prefer to use packages due to speed and convenience and do > not prefer to build it all. it shouldnt be such a hassle If you want to use packages I would suggest updating, as far as possible, to release package. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 15:12:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71B77106564A for ; Mon, 26 Dec 2011 15:12:31 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3AAF78FC12 for ; Mon, 26 Dec 2011 15:12:30 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id pBQERds2013568; Mon, 26 Dec 2011 09:12:29 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa02.fnfis.com with ESMTP id 11xtpk8618-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 26 Dec 2011 09:12:29 -0600 Received: from [10.106.164.162] (10.14.152.30) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 26 Dec 2011 09:12:25 -0600 References: <4EF653B7.2070500@mykitchentable.net> <4EF86030.8000601@my.gd> In-Reply-To: <4EF86030.8000601@my.gd> MIME-Version: 1.0 (iPhone Mail 8C148) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Message-ID: <280B4A0C-B193-41F7-BD2E-542DF7100800@fisglobal.com> X-Mailer: iPhone Mail (8C148) From: Devin Teske Date: Mon, 26 Dec 2011 07:12:06 -0800 To: Damien Fleuriot X-Originating-IP: [10.14.152.30] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-26_03:2011-12-23, 2011-12-26, 1970-01-01 signatures=0 Cc: "" Subject: * Re: FreeBSD 8 LiveFS - How To Start SSHD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 15:12:31 -0000 Sent from my iPhone On Dec 26, 2011, at 3:53 AM, Damien Fleuriot wrote: > On 12/24/11 11:35 PM, Drew Tomlinson wrote: >> I've lost a drive in my FBSD 8.? box. I have a FBSD 8.1 LiveFS CD from >> which I've booted. I'd like to get sshd running so I can connect >> remotely and have the ability to browse, copy/paste, etc. while I see >> what I might be able to salvage before replacing my drive. >>=20 >> I've found these directions: >>=20 >> http://wiki.ggis.biz/index.php/Recover_Using_LiveFS >>=20 >> I can do the "Configure the network connection", the "setup login shell >> for root", and the "Prepare SSH" part. However the "Enable, configure, >> and start sshd" part doesn't seem to apply and really doesn't make sense. >>=20 >> Bottom line is that after running /mnt2/use/sbin/sshd, I can see the >> process in ps output. However when I attempt to connect to sshd as >> root, my connection is immediately closed. I'm thinking it's a >> PermitRootLogin yes issue and I'm missing something but I've read and >> re-read that section and verified that /etc/ssh/sshd_config contains >> PermitRootLogin yes. >>=20 >> Can anyone tell me how to get sshd running or point me to a better link? >>=20 >> Thanks, >>=20 >> Drew >>=20 >=20 >=20 > I would suggest using Martin Matuska's MFSBSD and loading it over PXE > (or burning it to a disk). >=20 > It'll load you a 8.2 BSD in RAM, and from there you'll be able to mount > your local disks. >=20 Alternatively, you could try my DruidBSD. An 8.1 based 24MB bootable ISO th= at contains 150+ utilities and boots into RAM from CD, DVD or USB thumb (ju= st dd the iso to thumb). http://druidbsd.sourceforge.net/ I've ran root-login-enabled sshd from this several times. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 15:30:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581AA106566B for ; Mon, 26 Dec 2011 15:30:53 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1018FC1A for ; Mon, 26 Dec 2011 15:30:52 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id pBQFQTX8002739; Mon, 26 Dec 2011 09:30:52 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa05.fnfis.com with ESMTP id 11xq9g15ha-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 26 Dec 2011 09:30:52 -0600 Received: from [10.106.164.162] (10.14.152.30) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 26 Dec 2011 09:30:46 -0600 References: In-Reply-To: MIME-Version: 1.0 (iPhone Mail 8C148) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Message-ID: <54BD3670-BDE3-49C6-BD4B-7BACE1BD0EB0@fisglobal.com> X-Mailer: iPhone Mail (8C148) From: Devin Teske Date: Mon, 26 Dec 2011 07:30:23 -0800 To: Antonio Olivares X-Originating-IP: [10.14.152.30] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-26_04:2011-12-23, 2011-12-26, 1970-01-01 signatures=0 Cc: FreeBSD Questions Subject: * Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 15:30:53 -0000 Sent from my iPhone On Dec 23, 2011, at 8:28 PM, Antonio Olivares wro= te: > Dear folks, >=20 > I am trying to build a simple livecd to learn more. I have > successfully run some commands found here: >=20 > http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD >=20 > # cd /usr/src > # make buildworld DESTDIR=3D/usr/home/olivares/tmp/tmp/R/ > # make installworld DESTDIR=3D/usr/home/olivares/tmp/tmp/R/ > # make buildkernel DESTDIR=3D/usr/home/olivares/tmp/tmp/R/ > # make installkernel DESTDIR=3D/usr/home/olivares/tmp/tmp/R/ > # make distribution DESTDIR=3D/usr/home/olivares/tmp/tmp/R/ >=20 > all these commands are successful >=20 > I mount devfs as instructed in command >=20 > # mount -t devfs devfs /path/to/livecd/dev > # chroot /path/to/livecd >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > tricorehome# mount -t devfs devfs /usr/home/olivares/tmp/tmp/R/ > tricorehome# chroot /usr/home/olivares/tmp/tmp/R/ > chroot: /bin/csh: No such file or directory >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > I have tried to use freesbie script(s) by installing freesbie port, > but it failed and I asked questions but got few to no responses. > I have tried to look for some scripts/SDK but not have been successful > like frenzy's to create frenzy livecd. There are few to no FreeBSD > LiveCDs, only one that has been working and updated is the GhostBSD > one by Eric Turgeon. I see OpenBSD has several livecds/livedvds like > jggimi, FuguITA, etc to showcase it. NetBSD has one as well called > Jibbed. FreeBSD has specialized ones like PfSense, Monowall, FreeNAS, > Mahesha, and GhostBSD. Frenzy was apparently going to be maintained > but no newer releases. I have gotten feedback as to there exist > mfsBSD by Martin Matruska, http://mfsbsd.vx.sk/, and druidbsd, > http://sourceforge.net/projects/druidbsd/, but cannot do much with > them :( >=20 > I try to get my feet wet, but I get error and can't seem to get around it= :( >=20 > Any thoughts, ideas, comments, observations? > I just want to create a livecd/livedvd with customized packages to > take my desktop everywhere, That should be pretty easy with druidbsd as it gives you a convenient dumpi= ng-ground to throw extras. Note, however, that there is a very large code-drop around the corner that = will bring about 1.5 years of enhancements in soon. So if it doesn't do qui= te what you want now, it may soon. That being said, one of the things I feel makes DruidBSD unique is an insan= ely-customized mfsroot designed to break you out into the larger (and more = expansive) ISO-9660 structure so that you -- as a developer of your own cus= tom LiveCD -- CAN expand the functionality simply by dumping binaries and l= ibs into the ISO-9660 structure while the mfsroot stays nice and compact. If you wanted to, you could add X windows even. --=20 Devin > I have tried several *BSD livecds out > there, they are good, but I want to have the packages that I use and > more newer than FreeSBIE 2.0, and roFreeSBIE 1.3. >=20 > I have seen linux-live scripts [http://www.linux-live.org/] by Tomas > M, and wonder if there exist such a utility in the *BSDs, a universal > script to create a livecd/livedvd of a running BSD ? if there is not > any utility, how can I get around the error about /bin/csh, if it is > apparently there: >=20 > tricorehome# which csh > /bin/csh >=20 > so I can chroot to it and add packages/ports to customize the > livecd/dvd I want to create? >=20 > Regards, >=20 >=20 > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 15:56:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 974581065677 for ; Mon, 26 Dec 2011 15:56:48 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 28C5B8FC08 for ; Mon, 26 Dec 2011 15:56:47 +0000 (UTC) Received: by eaaf13 with SMTP id f13so14243672eaa.13 for ; Mon, 26 Dec 2011 07:56:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dqJubtpntXzn6iW7RBjOoO3UNvu/tFKZoykJ/1L1+58=; b=Wien8XQ8NFJ5dccHV96Nf9YFidSf5p2y9Cqxlz6jEsGHDvbwnwEkRK48urEWzb3R0F xR5f/jRK867LlNoxjlOiS4fMTHwt1cWsqdQPt3E51gAPHJU9XBzGdZpFqz8i0wgb2wLu 41kjCAdYAa/S8113mvabUCqqUo93mb6ShQajk= MIME-Version: 1.0 Received: by 10.204.156.210 with SMTP id y18mr6482613bkw.118.1324915005631; Mon, 26 Dec 2011 07:56:45 -0800 (PST) Received: by 10.204.130.27 with HTTP; Mon, 26 Dec 2011 07:56:45 -0800 (PST) In-Reply-To: <20111226144335.691185f6@gumby.homeunix.com> References: <20111226144335.691185f6@gumby.homeunix.com> Date: Mon, 26 Dec 2011 10:56:45 -0500 Message-ID: From: David Jackson To: RW , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 15:56:48 -0000 On Mon, Dec 26, 2011 at 9:43 AM, RW wrote: > On Sun, 25 Dec 2011 23:14:24 -0500 > David Jackson wrote: > > > > I do think packages need to be better supported on FreeBSD, many > > users do prefer to use packages due to speed and convenience and do > > not prefer to build it all. it shouldnt be such a hassle > > If you want to use packages I would suggest updating, as far as > possible, to release package. > Huh? The release packages are most out of date. The idea of using old versions of packages, such as firefox, is dangerous because security vulnerabilities are always being fixed. So, it really is a best practice to use the most up to date packages rather than very old ones. To be more user friendly there needs to be less fuss to using FreeBSD, it needs to just work. I am a system administrator and in fact, an operating system that makes things unnecessarily difficult to get working is a problem, user friendliness is not just for non techies. Good software design involves allowing the user to configure and work on all parts of the system, and to make things work the way they want, but not forcing them to configure anything to use the software, it should work out of the box with reasonable defaults, and then the user can fine tune to their needs. On ubuntu, packages can be easily upgraded with apt-get upgrade. No fuss, no mess, no hours of trying to get something which should be simple to work. so a system should be very flexible, configurable, transparent and so on, but a user should not have to configure anything since it should have a reasonable default behaviour. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 17:14:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAC741065676 for ; Mon, 26 Dec 2011 17:14:47 +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 72AD08FC0A for ; Mon, 26 Dec 2011 17:14:47 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1RfDqD-0007SN-34 for freebsd-questions@freebsd.org; Mon, 26 Dec 2011 16:56:11 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RfDq2-0005j8-Sk for freebsd-questions@freebsd.org; Mon, 26 Dec 2011 16:55:50 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id pBQGthPd010588 for ; Mon, 26 Dec 2011 16:55:43 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id pBQGthLa010587 for freebsd-questions@freebsd.org; Mon, 26 Dec 2011 16:55:43 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 26 Dec 2011 16:55:43 +0000 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: buildkernel error: unknown option "COMPAT_LINUX" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 17:14:47 -0000 I'm building kernel on r228359: *skip* >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /usr/src/sys/amd64/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/ usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin :/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/BUZI /usr/src/sys/amd 64/conf/BUZI /usr/src/sys/amd64/conf/BUZI: unknown option "COMPAT_LINUX" *** Error code 1 What's wrong? Thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 17:23:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B1D8106566C for ; Mon, 26 Dec 2011 17:23:40 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from procyon.xvoid.org (procyon.xvoid.org [IPv6:2001:470:28:4ba:20c:29ff:feb6:11bc]) by mx1.freebsd.org (Postfix) with ESMTP id C34F98FC08 for ; Mon, 26 Dec 2011 17:23:39 +0000 (UTC) Received: from procyon.xvoid.org (yuri@procyon.xvoid.org [IPv6:::1]) by procyon.xvoid.org (8.14.5/8.14.5) with ESMTP id pBQHNcFT007054 for ; Mon, 26 Dec 2011 21:23:38 +0400 (MSK) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.5/8.14.5/Submit) id pBQHNcV7007053 for freebsd-questions@freebsd.org; Mon, 26 Dec 2011 21:23:38 +0400 (MSK) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Mon, 26 Dec 2011 21:23:38 +0400 From: Yuri Pankov To: freebsd-questions@freebsd.org Message-ID: <20111226172338.GA4177@procyon.xvoid.org> References: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: buildkernel error: unknown option "COMPAT_LINUX" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 17:23:40 -0000 On Mon, Dec 26, 2011 at 04:55:43PM +0000, Anton Shterenlikht wrote: > I'm building kernel on r228359: > > *skip* > > >>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/sys/amd64/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/ > usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr > c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin > :/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/BUZI /usr/src/sys/amd > 64/conf/BUZI > /usr/src/sys/amd64/conf/BUZI: unknown option "COMPAT_LINUX" > *** Error code 1 > > What's wrong? linux(4): for an amd64 kernel use: options COMPAT_LINUX32 HTH, Yuri From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 18:52:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCDB01065670 for ; Mon, 26 Dec 2011 18:52:17 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id BB9268FC13 for ; Mon, 26 Dec 2011 18:52:16 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward14.mail.yandex.net (Yandex) with ESMTP id BC2CE1982818; Mon, 26 Dec 2011 22:52:14 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324925534; bh=9xIifj+wNVPj3uzVHZpHYMIipMFQetYLsAqltFbd3Fc=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WHT4nWoBD8kIJ3L6zzIA/IyGOY6tbNrEkGDLi0CHjHEV6TIhRpfvDM3VIR5k6jk4k 0zsndcTICnW9PiFYFe47zyLxoYhgHGYk7ZlJmPCUOtQfhxsuVjgY79L7kajMsE6BAD wJHph87HG1VSmsxtMyuGlWl96zsN4Ce+W/gmhqMk= Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 85A047E033F; Mon, 26 Dec 2011 22:52:14 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324925534; bh=9xIifj+wNVPj3uzVHZpHYMIipMFQetYLsAqltFbd3Fc=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WHT4nWoBD8kIJ3L6zzIA/IyGOY6tbNrEkGDLi0CHjHEV6TIhRpfvDM3VIR5k6jk4k 0zsndcTICnW9PiFYFe47zyLxoYhgHGYk7ZlJmPCUOtQfhxsuVjgY79L7kajMsE6BAD wJHph87HG1VSmsxtMyuGlWl96zsN4Ce+W/gmhqMk= Received: from unknown (unknown [77.93.52.22]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qDVuCdZ3-qEVin1xk; Mon, 26 Dec 2011 22:52:14 +0400 X-Yandex-Spam: 1 Date: Mon, 26 Dec 2011 20:52:11 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 2 (High) Message-ID: <1765647434.20111226205211@yandex.ru> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <621310179.20111225181017@yandex.ru> References: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> <1374625746.20111217102942@yandex.ru> <926001243.20111218194712@yandex.ru> <70251.1324270448.8859926110310105088@ffe16.ukr.net> <621310179.20111225181017@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Daniel Staal , wishmaster Subject: Re[5]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 18:52:18 -0000 Здравствуйте, Коньков. Вы писали 25 декабря 2011 г., 18:10:17: КЕ> Здравствуйте, wishmaster. КЕ> Вы писали 19 декабря 2011 г., 6:54:08: w>> --- Original message --- w>> From: "Коньков Евгений" w>> To: "Daniel Staal" w>> Date: 18 December 2011, 19:47:40 w>> Subject: Re[2]: high load system do not take all CPU time w>> w>> >>> Здравствуйте, Daniel. >>> >>> Вы писали 18 декабря 2011 г., 17:52:00: >>> >>> DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений >>> DS> is alleged to have said: >>> >>> >> How to debug why system do not use free CPU resouces? >>> >> >>> >> On this pictures you can see that CPU can not exceed 400tics >>> >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >>> >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >>> >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >>> >> >>> >> >>> >> On these pictures you can see that problems begin with trafic on re0 >>> >> when CPU load rise to "maximum" >>> >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >>> >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >>> >> >>> >> But there is 25% CPU idle yet at that moment. >>> >>> DS> >>> >>> >># top -SIHP >>> >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >>> >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >>> >> stopped, 20 waiting >>> >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >>> >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >>> >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >>> >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >>> >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >>> >> Swap: 4096M Total, 15M Used, 4080M Free >>> >>> DS> --As for the rest, it is mine. >>> >>> DS> You are I/O bound; most of your time is spent in interrupts. The CPU is >>> DS> dealing with things as fast as it can get them, but it has to wait for the >>> DS> disk and/or network card to get them to it. The CPU is not your problem; >>> DS> if you need more performance, you need to tune the I/O. (And possibly get >>> DS> better I/O cards, if available.) >>> >>> DS> Daniel T. Staal >>> >>> can I get interrupt limit or calculate it before that limit is >>> reached? >>> >>> interrupt source is internal card: >>> # vmstat -i >>> interrupt total rate >>> irq14: ata0 349756 78 >>> irq16: ehci0 7427 1 >>> irq23: ehci1 12150 2 >>> cpu0:timer 18268704 4122 >>> irq256: re0 85001260 19178 >>> cpu1:timer 18262192 4120 >>> cpu2:timer 18217064 4110 >>> cpu3:timer 18210509 4108 >>> Total 158329062 35724 >>> >>> Have you any good I/O tuning links to read? >>> >>> -- >>> С уважением, >>> Коньков mailto:kes-kes@yandex.ru w>> w>> Your problem is in the poor performance LAN Card. Guy from w>> Calomel Org told you about it. He advised you to change to Intel Network Card. КЕ> see at time 17:20 КЕ> http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ КЕ> at this point freeradius start to work slow because of no CPU time is КЕ> allocated to it or is allocated to little and mpd5 start to drop users because of no response КЕ> from radius. I do not know what idle were on 'top', sadly. КЕ> does SNMP return right values for CPU usage? last pid: 14445; load averages: 6.88, 5.69, 5.33 up 0+12:11:35 20:37:57 244 processes: 12 running, 211 sleeping, 3 stopped, 15 waiting, 3 lock CPU 0: 4.7% user, 0.0% nice, 13.3% system, 46.7% interrupt, 35.3% idle CPU 1: 2.0% user, 0.0% nice, 9.8% system, 69.4% interrupt, 18.8% idle CPU 2: 2.7% user, 0.0% nice, 8.2% system, 74.5% interrupt, 14.5% idle CPU 3: 1.2% user, 0.0% nice, 9.4% system, 78.0% interrupt, 11.4% idle Mem: 800M Active, 2708M Inact, 237M Wired, 60M Cache, 112M Buf, 93M Free Swap: 4096M Total, 25M Used, 4071M Free PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 12 root -72 - 0K 160K CPU1 1 159:49 100.00% {swi1: netisr 3} 12 root -72 - 0K 160K *per-i 2 101:25 84.57% {swi1: netisr 1} 12 root -72 - 0K 160K *per-i 3 60:10 40.72% {swi1: netisr 2} 12 root -72 - 0K 160K *per-i 2 41:54 39.26% {swi1: netisr 0} 11 root 155 ki31 0K 32K RUN 0 533:06 24.46% {idle: cpu0} 3639 root 36 0 10460K 3824K CPU3 3 7:43 22.17% zebra 12 root -92 - 0K 160K CPU0 0 93:56 14.94% {irq256: re0} 11 root 155 ki31 0K 32K RUN 1 563:29 14.16% {idle: cpu1} 11 root 155 ki31 0K 32K RUN 2 551:46 12.79% {idle: cpu2} 11 root 155 ki31 0K 32K RUN 3 558:54 11.52% {idle: cpu3} 13 root -16 - 0K 32K sleep 3 16:56 4.93% {ng_queue2} 13 root -16 - 0K 32K RUN 2 16:56 4.69% {ng_queue0} 13 root -16 - 0K 32K RUN 0 16:56 4.54% {ng_queue1} 13 root -16 - 0K 32K RUN 1 16:59 4.44% {ng_queue3} 6818 root 22 0 15392K 4836K select 2 25:16 4.10% snmpd 49448 freeradius 29 0 27748K 16984K select 3 2:37 2.59% {initial thread} 16118 firebird 20 -10 233M 145M usem 2 0:06 0.83% {fb_smp_server} 14282 cacti 21 0 12000K 3084K select 3 0:00 0.68% snmpwalk 16118 firebird 20 -10 233M 145M usem 0 0:03 0.54% {fb_smp_server} 5572 root 21 0 136M 78284K wait 1 5:23 0.49% {mpd5} 14507 root 20 0 9536K 1148K nanslp 0 0:51 0.15% monitord 14441 root 25 0 11596K 4048K CPU0 0 0:00 0.00% perl5.14.1 14443 cacti 21 0 11476K 2920K piperd 0 0:00 0.00% perl5.14.1 14444 root 22 0 9728K 1744K select 0 0:00 0.00% sudo 14445 root 21 0 9672K 1240K kqread 0 0:00 0.00% ping # vmstat -i interrupt total rate irq14: ata0 1577446 35 irq16: ehci0 66968 1 irq23: ehci1 94012 2 cpu0:timer 180767557 4122 irq256: re0 683483519 15587 cpu1:timer 180031511 4105 cpu3:timer 175311179 3998 cpu2:timer 179460055 4092 Total 1400792247 31947 1 users Load 6.02 5.59 5.31 Dec 26 20:38 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 1022276 12900 3562636 39576 208992 count 4 All 1143548 20380 5806292 100876 pages 48 Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 1135 cow 37428 total 186 129k 10k 17k 21k 14k 5857 2348 zfod 15 ata0 14 184 ozfod 1 ehci0 16 8.1%Sys 68.4%Intr 5.9%User 0.0%Nice 17.6%Idle 7%ozfod 2 ehci1 23 | | | | | | | | | | | daefr 4120 cpu0:timer ====++++++++++++++++++++++++++++++++++>>> 2423 prcfr 21013 re0 256 208 dtbuf 4425 totfr 4100 cpu1:timer Namei Name-cache Dir-cache 142271 desvn react 4083 cpu3:timer Calls hits % hits % 3750 numvn pdwak 4094 cpu2:timer 36571 36546 100 1998 frevn pdpgs intrn Disks ad0 da0 pass0 241412 wire KB/t 26.81 0.00 0.00 826884 act tps 15 0 0 2714240 inact MB/s 0.39 0.00 0.00 97284 cache %busy 1 0 0 111708 free 114976 buf # netstat -w 1 -I re0 input (re0) output packets errs idrops bytes packets errs bytes colls 52329 0 0 40219676 58513 0 40189497 0 50207 0 0 37985881 57340 0 38438634 0 http://piccy.info/view3/2409691/69d31186d8943a53c31ec193c8dfe79d/ http://piccy.info/view3/2409746/efb444ffe892592fbd6f025fd14535c4/ before overload happen, as you can see, server passthrought more traffic. programs at this moment works very sloooow! at the day on re0 there are can be more interrupts than now and server works fine some problems with scheduler I think. -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 19:41:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F106106566B for ; Mon, 26 Dec 2011 19:41:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 830FA8FC19 for ; Mon, 26 Dec 2011 19:41:47 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so9303840wib.13 for ; Mon, 26 Dec 2011 11:41:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=7gbtH17yg1skiThk34rbHavSr665H/nZh6eY7KJvuts=; b=oWpcEC2N5h4WfUHmflFe8ELYO+kb46ABBanTfkOcA1ZUKwzXVKrgWzPKfMMZh0Fkez IgRGGmQVMTQZlqnXCnyFK0s50paeKXo+t5xTAsDF+8NtPdH5B0uXQjf9WRg0Daun2m2c 9rkqOLi9PvvS2dmyX3sE3T1f1xyP4tX/4v2Yk= Received: by 10.181.13.17 with SMTP id eu17mr56212693wid.12.1324928506488; Mon, 26 Dec 2011 11:41:46 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id dd4sm59363634wib.1.2011.12.26.11.41.44 (version=SSLv3 cipher=OTHER); Mon, 26 Dec 2011 11:41:45 -0800 (PST) Date: Mon, 26 Dec 2011 19:41:43 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111226194143.45685f50@gumby.homeunix.com> In-Reply-To: References: <20111226144335.691185f6@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Problems with pkg_upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 19:41:48 -0000 On Mon, 26 Dec 2011 10:56:45 -0500 David Jackson wrote: > On Mon, Dec 26, 2011 at 9:43 AM, RW > wrote: > > > On Sun, 25 Dec 2011 23:14:24 -0500 > > David Jackson wrote: > > > > > > > I do think packages need to be better supported on FreeBSD, many > > > users do prefer to use packages due to speed and convenience and > > > do not prefer to build it all. it shouldnt be such a hassle > > > > If you want to use packages I would suggest updating, as far as > > possible, to release package. > > > > Huh? The release packages are most out of date. They wont be on the next release. In between portaudit will tell you whether any packages are actually vulnerable. > The idea of using old > versions of packages, such as firefox, is dangerous because security > vulnerabilities are always being fixed. So, it really is a best > practice to use the most up to date packages rather than very old > ones. Best practice is to use stable software with no known pertinent vulnerabilities. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 19:44:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15671106566C for ; Mon, 26 Dec 2011 19:44:31 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward7.mail.yandex.net (forward7.mail.yandex.net [IPv6:2a02:6b8:0:202::2]) by mx1.freebsd.org (Postfix) with ESMTP id EB5118FC0C for ; Mon, 26 Dec 2011 19:44:29 +0000 (UTC) Received: from smtp7.mail.yandex.net (smtp7.mail.yandex.net [77.88.61.55]) by forward7.mail.yandex.net (Yandex) with ESMTP id 577DA1C42B6; Mon, 26 Dec 2011 23:44:28 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324928668; bh=z/3cnmAv9YxQxq62FjIqIxBBy72mGtoJFlYKcj9CamI=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lhUM1/faxlah+1eahBJyuemTboOR0+TgZLrNML+1YCEzlAuZBCp0iuwkVcm0iWShH o0+UUG/4xkbv7+wVylUSPol0KpXVeToQPZ6nzDvLSOpRNqQUad+yDVUbQ3yjc9g6yA km5JQs5nThn+Aux72CjwaJXJiL+AgvhVvaZ64VhQ= Received: from smtp7.mail.yandex.net (localhost [127.0.0.1]) by smtp7.mail.yandex.net (Yandex) with ESMTP id 1F1E51580214; Mon, 26 Dec 2011 23:44:28 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324928668; bh=z/3cnmAv9YxQxq62FjIqIxBBy72mGtoJFlYKcj9CamI=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lhUM1/faxlah+1eahBJyuemTboOR0+TgZLrNML+1YCEzlAuZBCp0iuwkVcm0iWShH o0+UUG/4xkbv7+wVylUSPol0KpXVeToQPZ6nzDvLSOpRNqQUad+yDVUbQ3yjc9g6yA km5JQs5nThn+Aux72CjwaJXJiL+AgvhVvaZ64VhQ= Received: from unknown (unknown [77.93.52.22]) by smtp7.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iR3qFger-iR3GleVu; Mon, 26 Dec 2011 23:44:27 +0400 X-Yandex-Spam: 1 Date: Mon, 26 Dec 2011 21:44:24 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <9110154891.20111226214424@yandex.ru> To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <1765647434.20111226205211@yandex.ru> References: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> <1374625746.20111217102942@yandex.ru> <926001243.20111218194712@yandex.ru> <70251.1324270448.8859926110310105088@ffe16.ukr.net> <621310179.20111225181017@yandex.ru> <1765647434.20111226205211@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org, Daniel Staal , wishmaster Subject: Re[6]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 19:44:31 -0000 Здравствуйте, Коньков. Вы писали 26 декабря 2011 г., 20:52:11: КЕ> Здравствуйте, Коньков. КЕ> Вы писали 25 декабря 2011 г., 18:10:17: КЕ>> Здравствуйте, wishmaster. КЕ>> Вы писали 19 декабря 2011 г., 6:54:08: w>>> --- Original message --- w>>> From: "Коньков Евгений" w>>> To: "Daniel Staal" w>>> Date: 18 December 2011, 19:47:40 w>>> Subject: Re[2]: high load system do not take all CPU time w>>> w>>> >>>> Здравствуйте, Daniel. >>>> >>>> Вы писали 18 декабря 2011 г., 17:52:00: >>>> >>>> DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений >>>> DS> is alleged to have said: >>>> >>>> >> How to debug why system do not use free CPU resouces? >>>> >> >>>> >> On this pictures you can see that CPU can not exceed 400tics >>>> >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >>>> >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >>>> >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >>>> >> >>>> >> >>>> >> On these pictures you can see that problems begin with trafic on re0 >>>> >> when CPU load rise to "maximum" >>>> >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >>>> >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >>>> >> >>>> >> But there is 25% CPU idle yet at that moment. >>>> >>>> DS> >>>> >>>> >># top -SIHP >>>> >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >>>> >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >>>> >> stopped, 20 waiting >>>> >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >>>> >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >>>> >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >>>> >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >>>> >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >>>> >> Swap: 4096M Total, 15M Used, 4080M Free >>>> >>>> DS> --As for the rest, it is mine. >>>> >>>> DS> You are I/O bound; most of your time is spent in interrupts. The CPU is >>>> DS> dealing with things as fast as it can get them, but it has to wait for the >>>> DS> disk and/or network card to get them to it. The CPU is not your problem; >>>> DS> if you need more performance, you need to tune the I/O. (And possibly get >>>> DS> better I/O cards, if available.) >>>> >>>> DS> Daniel T. Staal >>>> >>>> can I get interrupt limit or calculate it before that limit is >>>> reached? >>>> >>>> interrupt source is internal card: >>>> # vmstat -i >>>> interrupt total rate >>>> irq14: ata0 349756 78 >>>> irq16: ehci0 7427 1 >>>> irq23: ehci1 12150 2 >>>> cpu0:timer 18268704 4122 >>>> irq256: re0 85001260 19178 >>>> cpu1:timer 18262192 4120 >>>> cpu2:timer 18217064 4110 >>>> cpu3:timer 18210509 4108 >>>> Total 158329062 35724 >>>> >>>> Have you any good I/O tuning links to read? >>>> >>>> -- >>>> С уважением, >>>> Коньков mailto:kes-kes@yandex.ru w>>> w>>> Your problem is in the poor performance LAN Card. Guy from w>>> Calomel Org told you about it. He advised you to change to Intel Network Card. КЕ>> see at time 17:20 КЕ>> http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ КЕ>> at this point freeradius start to work slow because of no CPU time is КЕ>> allocated to it or is allocated to little and mpd5 start to drop users because of no response КЕ>> from radius. I do not know what idle were on 'top', sadly. КЕ>> does SNMP return right values for CPU usage? КЕ> last pid: 14445; load averages: 6.88, 5.69, 5.33 up 0+12:11:35 20:37:57 КЕ> 244 processes: 12 running, 211 sleeping, 3 stopped, 15 waiting, 3 lock КЕ> CPU 0: 4.7% user, 0.0% nice, 13.3% system, 46.7% interrupt, 35.3% idle КЕ> CPU 1: 2.0% user, 0.0% nice, 9.8% system, 69.4% interrupt, 18.8% idle КЕ> CPU 2: 2.7% user, 0.0% nice, 8.2% system, 74.5% interrupt, 14.5% idle КЕ> CPU 3: 1.2% user, 0.0% nice, 9.4% system, 78.0% interrupt, 11.4% idle КЕ> Mem: 800M Active, 2708M Inact, 237M Wired, 60M Cache, 112M Buf, 93M Free КЕ> Swap: 4096M Total, 25M Used, 4071M Free КЕ> PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND КЕ> 12 root -72 - 0K 160K CPU1 1 159:49 100.00% {swi1: netisr 3} КЕ> 12 root -72 - 0K 160K *per-i 2 101:25 84.57% {swi1: netisr 1} КЕ> 12 root -72 - 0K 160K *per-i 3 60:10 40.72% {swi1: netisr 2} КЕ> 12 root -72 - 0K 160K *per-i 2 41:54 39.26% {swi1: netisr 0} КЕ> 11 root 155 ki31 0K 32K RUN 0 533:06 24.46% {idle: cpu0} КЕ> 3639 root 36 0 10460K 3824K CPU3 3 7:43 22.17% zebra КЕ> 12 root -92 - 0K 160K CPU0 0 93:56 14.94% {irq256: re0} КЕ> 11 root 155 ki31 0K 32K RUN 1 563:29 14.16% {idle: cpu1} КЕ> 11 root 155 ki31 0K 32K RUN 2 551:46 12.79% {idle: cpu2} КЕ> 11 root 155 ki31 0K 32K RUN 3 558:54 11.52% {idle: cpu3} КЕ> 13 root -16 - 0K 32K sleep 3 16:56 4.93% {ng_queue2} КЕ> 13 root -16 - 0K 32K RUN 2 16:56 4.69% {ng_queue0} КЕ> 13 root -16 - 0K 32K RUN 0 16:56 4.54% {ng_queue1} КЕ> 13 root -16 - 0K 32K RUN 1 16:59 4.44% {ng_queue3} КЕ> 6818 root 22 0 15392K 4836K select 2 25:16 4.10% snmpd КЕ> 49448 freeradius 29 0 27748K 16984K select 3 2:37 2.59% {initial thread} КЕ> 16118 firebird 20 -10 233M 145M usem 2 0:06 0.83% {fb_smp_server} КЕ> 14282 cacti 21 0 12000K 3084K select 3 0:00 0.68% snmpwalk КЕ> 16118 firebird 20 -10 233M 145M usem 0 0:03 0.54% {fb_smp_server} КЕ> 5572 root 21 0 136M 78284K wait 1 5:23 0.49% {mpd5} КЕ> 14507 root 20 0 9536K 1148K nanslp 0 0:51 0.15% monitord КЕ> 14441 root 25 0 11596K 4048K CPU0 0 0:00 0.00% perl5.14.1 КЕ> 14443 cacti 21 0 11476K 2920K piperd 0 0:00 0.00% perl5.14.1 КЕ> 14444 root 22 0 9728K 1744K select 0 0:00 0.00% sudo КЕ> 14445 root 21 0 9672K 1240K kqread 0 0:00 0.00% ping КЕ> # vmstat -i КЕ> interrupt total rate КЕ> irq14: ata0 1577446 35 КЕ> irq16: ehci0 66968 1 КЕ> irq23: ehci1 94012 2 КЕ> cpu0:timer 180767557 4122 КЕ> irq256: re0 683483519 15587 КЕ> cpu1:timer 180031511 4105 КЕ> cpu3:timer 175311179 3998 КЕ> cpu2:timer 179460055 4092 КЕ> Total 1400792247 31947 КЕ> 1 users Load 6.02 5.59 5.31 Dec 26 20:38 КЕ> Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER КЕ> Tot Share Tot Share Free in out in out КЕ> Act 1022276 12900 3562636 39576 208992 count 4 КЕ> All 1143548 20380 5806292 100876 pages 48 КЕ> Proc: Interrupts КЕ> r p d s w Csw Trp Sys Int Sof Flt 1135 cow 37428 total КЕ> 186 129k 10k 17k 21k 14k 5857 2348 zfod 15 ata0 14 КЕ> 184 ozfod 1 ehci0 16 КЕ> 8.1%Sys 68.4%Intr 5.9%User 0.0%Nice 17.6%Idle 7%ozfod 2 ehci1 23 КЕ> | | | | | | | | | | | daefr 4120 cpu0:timer КЕ> ====++++++++++++++++++++++++++++++++++>>> 2423 prcfr 21013 re0 256 КЕ> 208 dtbuf 4425 totfr 4100 cpu1:timer КЕ> Namei Name-cache Dir-cache 142271 desvn react 4083 cpu3:timer КЕ> Calls hits % hits % 3750 numvn pdwak 4094 cpu2:timer КЕ> 36571 36546 100 1998 frevn pdpgs КЕ> intrn КЕ> Disks ad0 da0 pass0 241412 wire КЕ> KB/t 26.81 0.00 0.00 826884 act КЕ> tps 15 0 0 2714240 inact КЕ> MB/s 0.39 0.00 0.00 97284 cache КЕ> %busy 1 0 0 111708 free КЕ> 114976 buf КЕ> # netstat -w 1 -I re0 КЕ> input (re0) output КЕ> packets errs idrops bytes packets errs bytes colls КЕ> 52329 0 0 40219676 58513 0 40189497 0 КЕ> 50207 0 0 37985881 57340 0 38438634 0 КЕ> http://piccy.info/view3/2409691/69d31186d8943a53c31ec193c8dfe79d/ КЕ> http://piccy.info/view3/2409746/efb444ffe892592fbd6f025fd14535c4/ КЕ> before overload happen, as you can see, server passthrought more traffic. КЕ> programs at this moment works very sloooow! КЕ> at the day on re0 there are can be more interrupts than now and server works fine КЕ> some problems with scheduler I think. and three is *radix state. last pid: 51533; load averages: 4.67, 5.24, 5.29 up 0+12:59:43 21:26:05 284 processes: 6 running, 255 sleeping, 3 stopped, 17 waiting, 3 lock CPU 0: 0.5% user, 0.0% nice, 15.2% system, 27.2% interrupt, 57.1% idle CPU 1: 0.0% user, 0.0% nice, 20.1% system, 22.3% interrupt, 57.6% idle CPU 2: 1.6% user, 0.0% nice, 29.3% system, 20.7% interrupt, 48.4% idle CPU 3: 2.7% user, 0.0% nice, 21.7% system, 16.3% interrupt, 59.2% idle Mem: 788M Active, 2660M Inact, 239M Wired, 81M Cache, 112M Buf, 129M Free Swap: 4096M Total, 51M Used, 4045M Free, 1% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 51239 root -72 0 10460K 3416K CPU0 0 0:15 66.80% zebra 11 root 155 ki31 0K 32K CPU3 3 565:03 46.53% {idle: cpu3} 11 root 155 ki31 0K 32K RUN 1 571:46 45.70% {idle: cpu1} 11 root 155 ki31 0K 32K RUN 2 558:13 44.73% {idle: cpu2} 11 root 155 ki31 0K 32K CPU0 0 546:21 43.85% {idle: cpu0} 12 root -72 - 0K 160K *radix 1 204:13 42.14% {swi1: netisr 3} 12 root -72 - 0K 160K *radix 2 141:57 37.55% {swi1: netisr 1} 12 root -72 - 0K 160K *radix 3 61:10 25.15% {swi1: netisr 0} 12 root -72 - 0K 160K WAIT 3 78:28 19.92% {swi1: netisr 2} 12 root -92 - 0K 160K WAIT 0 100:28 9.13% {irq256: re0} 6818 root 22 0 15392K 4836K select 1 26:59 2.10% snmpd 13 root -16 - 0K 32K sleep 3 19:24 1.56% {ng_queue1} 51531 cacti 36 0 17092K 5944K select 0 0:00 1.51% {initial thread} 13 root -16 - 0K 32K sleep 3 19:27 1.46% {ng_queue3} 13 root -16 - 0K 32K sleep 3 19:24 1.46% {ng_queue2} 13 root -16 - 0K 32K sleep 1 19:25 1.42% {ng_queue0} 51531 cacti 52 0 17092K 5944K usem 0 0:00 1.42% {perl5.14.1} 51510 cacti 46 0 32256K 16304K piperd 3 0:00 1.22% php 51514 cacti 46 0 11476K 2940K piperd 2 0:00 1.22% perl5.14.1 51515 root 46 0 9728K 1748K select 3 0:00 1.22% sudo 51516 root 45 0 9672K 1220K kqread 1 0:00 1.22% ping 51508 cacti 52 0 32256K 16312K piperd 2 0:00 1.03% php 51248 root 4 0 10564K 4980K select 0 0:00 0.44% bgpd 5572 root 20 -15 136M 64812K select 1 6:10 0.34% {mpd5} 51502 cacti 25 0 32256K 16568K nanslp 0 0:00 0.34% php 51513 cacti 23 0 17772K 4436K piperd 1 0:00 0.34% rrdtool 5572 root 20 -15 136M 64812K select 2 0:00 0.34% {mpd5} 5572 root 20 -15 136M 64812K select 1 0:00 0.34% {mpd5} 5572 root 20 -15 136M 64812K select 1 0:00 0.34% {mpd5} I am trying to google about *radix and *per-i but I did not find anything ( -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 21:52:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E86A1065687 for ; Mon, 26 Dec 2011 21:52:21 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 40E408FC0C for ; Mon, 26 Dec 2011 21:52:20 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBQLsxJt038471; Mon, 26 Dec 2011 15:54:59 -0600 (CST) Date: Mon, 26 Dec 2011 15:54:59 -0600 (CST) From: Robert Bonomi Message-Id: <201112262154.pBQLsxJt038471@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <9110154891.20111226214424@yandex.ru> Cc: kes-kes@yandex.ru Subject: Re: Re[6]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 21:52:21 -0000 [drivelectomy -- 200+ lines] You've been told the following, *repeatedly*: Your hardware is not capable of keeping up with the level of network traffic it is being subjected to. Reaaltek cards and the 're' device driver are a *BAD*CHOICE* for systems with heavy network traffic. They're merely 'medium lousy' on a lightly-loaded system, but you don't notice the problems under light loads. You have two choices: 1) "live with" the crappy performance 2) get a better quality network card. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 22:12:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFA17106564A for ; Mon, 26 Dec 2011 22:12:06 +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 96B408FC14 for ; Mon, 26 Dec 2011 22:12:06 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1RfIln-0000t9-F5; Mon, 26 Dec 2011 22:11:57 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RfIlS-00005O-3d; Mon, 26 Dec 2011 22:11:26 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id pBQMBPaD011266; Mon, 26 Dec 2011 22:11:25 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id pBQMBPtE011265; Mon, 26 Dec 2011 22:11:25 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 26 Dec 2011 22:11:25 +0000 From: Anton Shterenlikht To: Yuri Pankov Message-ID: <20111226221125.GA11238@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Yuri Pankov , freebsd-questions@freebsd.org References: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> <20111226172338.GA4177@procyon.xvoid.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111226172338.GA4177@procyon.xvoid.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: buildkernel error: unknown option "COMPAT_LINUX" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 22:12:07 -0000 On Mon, Dec 26, 2011 at 09:23:38PM +0400, Yuri Pankov wrote: > On Mon, Dec 26, 2011 at 04:55:43PM +0000, Anton Shterenlikht wrote: > > I'm building kernel on r228359: > > > > *skip* > > > > >>> stage 1: configuring the kernel > > -------------------------------------------------------------- > > cd /usr/src/sys/amd64/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/ > > usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr > > c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin > > :/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/BUZI /usr/src/sys/amd > > 64/conf/BUZI > > /usr/src/sys/amd64/conf/BUZI: unknown option "COMPAT_LINUX" > > *** Error code 1 > > > > What's wrong? > > linux(4): > > for an amd64 kernel use: > options COMPAT_LINUX32 thanks. I finally got flash working. Wanted to do it for ages, finally the kids demanded it. Thanks again Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Dec 26 23:00:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BC7F106564A for ; Mon, 26 Dec 2011 23:00:43 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo103.cox.net (eastrmfepo103.cox.net [68.230.241.215]) by mx1.freebsd.org (Postfix) with ESMTP id DC57F8FC14 for ; Mon, 26 Dec 2011 23:00:42 +0000 (UTC) Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo103.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111226230037.DUDT28068.eastrmfepo103.cox.net@eastrmimpo210.cox.net>; Mon, 26 Dec 2011 18:00:37 -0500 Received: from serene.no-ip.org ([98.164.81.195]) by eastrmimpo210.cox.net with bizsmtp id Dz0Z1i00J4Cqs6y02z0cvh; Mon, 26 Dec 2011 18:00:36 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020203.4EF8FC94.00B4,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=BGJq+/N/CWNQOYfWmJoFYPveaJQrJUd9XhwdEp+IOvE= c=1 sm=1 a=Pc14L-981CIA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=DWqX+Kn1d6thaIR2xP2zPw==:17 a=rZ1T3NJVAAAA:8 a=kviXuzpPAAAA:8 a=5Cy9J-402rdY6ApTecIA:9 a=h9xHvTuS6wVK0zLVgO4A:7 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=DWqX+Kn1d6thaIR2xP2zPw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pBQN0Vox007008; Mon, 26 Dec 2011 17:00:32 -0600 (CST) (envelope-from conrads@cox.net) Date: Mon, 26 Dec 2011 17:00:26 -0600 From: "Conrad J. Sabatier" To: Anton Shterenlikht Message-ID: <20111226170026.52cc4984@cox.net> In-Reply-To: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> References: <20111226165543.GA10565@mech-cluster241.men.bris.ac.uk> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: buildkernel error: unknown option "COMPAT_LINUX" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 23:00:43 -0000 On Mon, 26 Dec 2011 16:55:43 +0000 Anton Shterenlikht wrote: > I'm building kernel on r228359: > > *skip* > > >>> stage 1: configuring the kernel > -------------------------------------------------------------- > cd /usr/src/sys/amd64/conf; > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/ > usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/sr > c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin :/bin:/usr/sbin:/usr/bin > config -d /usr/obj/usr/src/sys/BUZI /usr/src/sys/amd 64/conf/BUZI > /usr/src/sys/amd64/conf/BUZI: unknown option "COMPAT_LINUX" > *** Error code 1 > > What's wrong? > > Thanks > Anton The option is now named "COMPAT_LINUX32". -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 15:09:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCE5D106564A for ; Tue, 27 Dec 2011 15:09:56 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 823978FC17 for ; Tue, 27 Dec 2011 15:09:56 +0000 (UTC) Received: by ggnp1 with SMTP id p1so11248389ggn.13 for ; Tue, 27 Dec 2011 07:09:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1DvYeCLd/Y2mB5Lv/Wwpo2jFkKTXGZj5fkO+9j3VV0Y=; b=jML2Fwa1z/zwMpI5CPbhvWQQFfryRkpXubpUvsz3eJ+iMJBgxXdEPRqhZdw+8tL2SR 0jLvhfgLUTwUWBqmrnPMJveLj6nK0Do0CGGvOCF32xeSkgvNIvxdIfffKfVQBxrUE+Vl hEDJu5qAUiMXJXfONpEW9hm6FrHScstLle1iY= MIME-Version: 1.0 Received: by 10.236.178.9 with SMTP id e9mr37807943yhm.77.1324997274030; Tue, 27 Dec 2011 06:47:54 -0800 (PST) Received: by 10.147.76.13 with HTTP; Tue, 27 Dec 2011 06:47:54 -0800 (PST) Date: Tue, 27 Dec 2011 12:47:54 -0200 Message-ID: From: Alexandre Biancalana To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: FreeBSD EC2 Status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Dec 2011 15:09:56 -0000 Hi lists, What=B4s is the current state of FreeBSD running on Amazon EC2 ? Is this stable ? Looking at Colin's status page (http://www.daemonology.net/freebsd-on-ec2/) looks like there=B4s no active development on that. Does someone running production workload with FreeBSD on EC2 ? I'm interested in running network (dns and http with accept filter) and memory/buffer cache intensive applications on m1.small, m1.large and m2.xlarge instances. Any thoughts ? Best Regards and Happy New Year ! Alexandre From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 15:46:13 2011 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 AB4711065670 for ; Tue, 27 Dec 2011 15:46:13 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 3ACC18FC12 for ; Tue, 27 Dec 2011 15:46:12 +0000 (UTC) Received: from mart.js.berklix.net (p57BCFE6B.dip.t-dialin.net [87.188.254.107]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pBRFkAVM023560; Tue, 27 Dec 2011 15:46:10 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pBRFjwNJ059708; Tue, 27 Dec 2011 16:45:58 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pBRFjkX1056658; Tue, 27 Dec 2011 16:45:52 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112271545.pBRFjkX1056658@fire.js.berklix.net> To: questions@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Linux Unix Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com/~jhs/cv/ Date: Tue, 27 Dec 2011 16:45:46 +0100 Sender: jhs@berklix.com Cc: Dmitry Marakasov Subject: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 15:46:13 -0000 Hi questions@ cc Dmitry Marakasov ( of graphics/gnash/Makefile ) On 8.2-RELEASE amd64 I ran make install on both /usr/ports/www/firefox /usr/ports/graphics/gnash But I see no hint what to read, hot to get firefox to call gnash. I would like to view a flash eg from http://www.bbc.co.uk/news/technology-16252407 {within firefox|externaly}. Internaly: { Clicking on Tools -> Add-ons - Plugins Gnash is listed, On xterm calling firefox3 I just get a normal static page, } Externaly { man gnash says what to do from CLI, But I'm not clear what the URL is, of the flash to save to file } Any ideas ? PS I also get, though this may not be relevant: LoadPlugin: failed to initialize shared library \ /ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so \ [/ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so: \ unsupported file layout] file /ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so /ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so: ELF 32-bit \ LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, \ stripped ls -l /ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so -rwxr-xr-x 1 jhs staff 179552 Sep 5 01:25 \ /ad4s1/usr1/home/jhs/.mozilla/plugins/nppdf.so* PS I am rebuilding firefox, in case some autoconfig might auto detect /usr/local/lib/gnash Cheers, Julian - -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. EU tax to kill London Vetoed http://berklix.com/~jhs/blog/2011_12_11 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 15:58:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C01F106566B for ; Tue, 27 Dec 2011 15:58:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8018FC08 for ; Tue, 27 Dec 2011 15:58:08 +0000 (UTC) Received: by werb13 with SMTP id b13so10489691wer.13 for ; Tue, 27 Dec 2011 07:58:08 -0800 (PST) Received: by 10.216.138.218 with SMTP id a68mr21329483wej.38.1325001488040; Tue, 27 Dec 2011 07:58:08 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id fq7sm28522573wbb.1.2011.12.27.07.58.06 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 07:58:07 -0800 (PST) Message-ID: <4EF9EB0E.809@my.gd> Date: Tue, 27 Dec 2011 16:58:06 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201112271545.pBRFjkX1056658@fire.js.berklix.net> In-Reply-To: <201112271545.pBRFjkX1056658@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 15:58:09 -0000 On 12/27/11 4:45 PM, Julian H. Stacey wrote: > Hi questions@ [snip] > Externaly > { > man gnash says what to do from CLI, > But I'm not clear what the URL is, of the flash to save to file > } In reply to knowing the flash's URL, I think the download helper plugin for FF could be of use to you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 16:34:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77CA11065677 for ; Tue, 27 Dec 2011 16:34:33 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F78F8FC1C for ; Tue, 27 Dec 2011 16:34:32 +0000 (UTC) Received: by werb13 with SMTP id b13so10512182wer.13 for ; Tue, 27 Dec 2011 08:34:31 -0800 (PST) Received: by 10.216.136.232 with SMTP id w82mr15882590wei.46.1325003671616; Tue, 27 Dec 2011 08:34:31 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id fg15sm28629763wbb.7.2011.12.27.08.34.30 (version=SSLv3 cipher=OTHER); Tue, 27 Dec 2011 08:34:31 -0800 (PST) Message-ID: <4EF9F395.6030302@my.gd> Date: Tue, 27 Dec 2011 17:34:29 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: KERNEL - knowing what programs use/need modules X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Dec 2011 16:34:33 -0000 Hello list, I'm currently upgrading some firewalls following the 5 advisories we received on the 23rd. One of these firewalls shows, for no reason that I can fathom, the following kldstat: # kldstat Id Refs Address Size Name 1 26 0xffffffff80100000 8361c0 kernel 2 1 0xffffffff80a12000 4f9b if_lagg.ko 3 1 0xffffffff80a17000 5e99 umass.ko 4 1 0xffffffff80a1d000 42b27 cam.ko 5 1 0xffffffff80a60000 22f1 ums.ko Now, I'm wondering why in the world a server would need umass, ums and cam ? My understanding is that ums is the USB mouse, which we're never going to need. Umass would be USB mass storage, which again we're never going to need. Regarding CAM I have absolutely no idea why the module is loaded either. Are there any ways of finding what programs, if any, require or use said modules ? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 18:24:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49A06106566C for ; Tue, 27 Dec 2011 18:24:28 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id DB95C8FC08 for ; Tue, 27 Dec 2011 18:24:27 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwEAHsF+k5thJiN/2dsb2JhbABCrEeBBoIzHDtdJYgzlXCfJYh1gjdjBJUBAZI1 Received: from 141.152-132-109.adsl-dyn.isp.belgacom.be (HELO localhost) ([109.132.152.141]) by relay.skynet.be with ESMTP; 27 Dec 2011 18:54:46 +0100 Date: Tue, 27 Dec 2011 18:55:03 +0100 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20111227175420.GA2489@desmo.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: VirtualBox USB 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: Tue, 27 Dec 2011 18:24:28 -0000 Hello.... in the FreeBSD handbook it mentions there's USB support in Virtualbox. In other sources I read however that the VBoxPuelMain module is not supported in FreeBSD. So I'm wondering if the VBox extension pack needs to be installed since it is not mentioned in the Handbook. When trying to install the extension Pack, I get the VBoxPuelMain error, but without this and following the instructions in the handbook, my guest OS's don't see any USB devices (Nor do I see them in preferences of VBox) Thanks in advance for letting me know if this should work or not. Alain From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 20:25:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AF98106566B for ; Tue, 27 Dec 2011 20:25:23 +0000 (UTC) (envelope-from max@mxcrypt.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E1BBE8FC15 for ; Tue, 27 Dec 2011 20:25:22 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so16370143vbb.13 for ; Tue, 27 Dec 2011 12:25:22 -0800 (PST) Received: by 10.52.21.83 with SMTP id t19mr13903087vde.71.1325017522281; Tue, 27 Dec 2011 12:25:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.150.132 with HTTP; Tue, 27 Dec 2011 12:24:51 -0800 (PST) From: Maxim Khitrov Date: Tue, 27 Dec 2011 15:24:51 -0500 Message-ID: To: FreeBSD Content-Type: text/plain; charset=UTF-8 Subject: Unexpected sh behavior with EXIT trap and errexit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Dec 2011 20:25:23 -0000 Can anyone explain this behavior (FreeBSD 9.0-RC3 amd64): Script: ---- #!/bin/sh cleanup() { echo 'first' echo 'second' } fail() { return 42; } trap cleanup EXIT set -o errexit fail ---- Output: ---- first ---- Now comment out 'set -o errexit', replace 'fail' with 'fail || exit' (which should be equivalent to using errexit), and run again. Output: ---- first second ---- Am I doing something stupid or is this a bug? Bash prints out the same (second) output for both versions of the code. - Max From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 21:36:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12C7A106564A for ; Tue, 27 Dec 2011 21:36:33 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id CA7508FC13 for ; Tue, 27 Dec 2011 21:36:32 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id pBRLQW9Z026009; Tue, 27 Dec 2011 15:36:31 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com with ESMTP id 11ynqqg295-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 27 Dec 2011 15:36:31 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 27 Dec 2011 15:36:30 -0600 From: Devin Teske To: "'Maxim Khitrov'" , "'FreeBSD'" References: In-Reply-To: Date: Tue, 27 Dec 2011 13:36:36 -0800 Message-ID: <029f01ccc4df$9cca8190$d65f84b0$@fisglobal.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGDxWH+b+5E3VWkBdTpf3FClEeRy5aCMvCA Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-27_05:2011-12-27, 2011-12-27, 1970-01-01 signatures=0 Content-Type: text/plain; charset="utf-8" Cc: Subject: RE: Unexpected sh behavior with EXIT trap and errexit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Dec 2011 21:36:33 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Maxim Khitrov > Sent: Tuesday, December 27, 2011 12:25 PM > To: FreeBSD > Subject: Unexpected sh behavior with EXIT trap and errexit >=20 > Can anyone explain this behavior (FreeBSD 9.0-RC3 amd64): >=20 > Script: > ---- > #!/bin/sh >=20 > cleanup() > { > echo 'first' > echo 'second' > } >=20 > fail() { return 42; } >=20 > trap cleanup EXIT > set -o errexit > fail > ---- >=20 > Output: > ---- > first > ---- >=20 If you change to: fail() { false; } Then the outcome is what you expect (both lines come out). ASIDE: It appears that it's nothing to do with echo, stdout, or anything ot= her than the fact that only the first command of the cleanup routine is cal= led. >From sh(1) regarding errexit: "If a shell function is executed and its exit status is explicitly tested, = all commands of the function are considered to be tested as well." The exact meaning of which escapes me at the moment, but I'm lead to believ= e that this explanation somehow plays a role in what we're witnessing with = your sample. It may be a bug, it may not. What's interesting in the sample is that the "= return 42" is a valid command that succeeds while the function itself does = not. HTH, Devin > Now comment out 'set -o errexit', replace 'fail' with 'fail || exit' > (which should be equivalent to using errexit), and run again. >=20 > Output: > ---- > first > second > ---- >=20 > Am I doing something stupid or is this a bug? Bash prints out the same > (second) output for both versions of the code. >=20 > - Max > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 27 23:00:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FA8D106566B for ; Tue, 27 Dec 2011 23:00:32 +0000 (UTC) (envelope-from max@mxcrypt.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 56F9C8FC14 for ; Tue, 27 Dec 2011 23:00:31 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so16482946vbb.13 for ; Tue, 27 Dec 2011 15:00:31 -0800 (PST) Received: by 10.52.94.242 with SMTP id df18mr3515941vdb.122.1325026831213; Tue, 27 Dec 2011 15:00:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.150.132 with HTTP; Tue, 27 Dec 2011 14:59:59 -0800 (PST) In-Reply-To: <029f01ccc4df$9cca8190$d65f84b0$@fisglobal.com> References: <029f01ccc4df$9cca8190$d65f84b0$@fisglobal.com> From: Maxim Khitrov Date: Tue, 27 Dec 2011 17:59:59 -0500 Message-ID: To: Devin Teske Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: Unexpected sh behavior with EXIT trap and errexit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 27 Dec 2011 23:00:32 -0000 On Tue, Dec 27, 2011 at 4:36 PM, Devin Teske wr= ote: >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Maxim Khitrov >> Sent: Tuesday, December 27, 2011 12:25 PM >> To: FreeBSD >> Subject: Unexpected sh behavior with EXIT trap and errexit >> >> Can anyone explain this behavior (FreeBSD 9.0-RC3 amd64): >> >> Script: >> ---- >> #!/bin/sh >> >> cleanup() >> { >> =C2=A0 =C2=A0 echo 'first' >> =C2=A0 =C2=A0 echo 'second' >> } >> >> fail() { return 42; } >> >> trap cleanup EXIT >> set -o errexit >> fail >> ---- >> >> Output: >> ---- >> first >> ---- >> > > If you change to: > > fail() { false; } > > Then the outcome is what you expect (both lines come out). It seems that any command other than return, built-in or external, works as expected. > ASIDE: It appears that it's nothing to do with echo, stdout, or anything = other than the fact that only the first command of the cleanup routine is c= alled. Correct, I used echo just for the example. I also tried 'set +o errexit' as the first line of cleanup() to see if that would allow execution to continue. Nope. > From sh(1) regarding errexit: > > "If a shell function is executed and its exit status is explicitly tested= , all commands of the function are considered to be tested as well." > > The exact meaning of which escapes me at the moment, but I'm lead to beli= eve that this explanation somehow plays a role in what we're witnessing wit= h your sample. I don't know if this is related, but it means that errexit should not cause the following code to terminate (and it doesn't): dosomething() { echo 'here' false echo 'still here' } set -o errexit dosomething || true echo 'all is well' > It may be a bug, it may not. What's interesting in the sample is that the= "return 42" is a valid command that succeeds while the function itself doe= s not. > > HTH, > Devin > > >> Now comment out 'set -o errexit', replace 'fail' with 'fail || exit' >> (which should be equivalent to using errexit), and run again. >> >> Output: >> ---- >> first >> second >> ---- >> >> Am I doing something stupid or is this a bug? Bash prints out the same >> (second) output for both versions of the code. >> >> - Max From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 02:26:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5EB106564A for ; Wed, 28 Dec 2011 02:26:56 +0000 (UTC) (envelope-from judmarc@fastmail.fm) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id C8B158FC14 for ; Wed, 28 Dec 2011 02:26:55 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C1E4320CAB for ; Tue, 27 Dec 2011 21:08:50 -0500 (EST) Received: from web3.nyi.mail.srv.osa ([10.202.2.213]) by compute3.internal (MEProxy); Tue, 27 Dec 2011 21:08:50 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:date; s=mesmtp; bh=YHCj7q7XJW4LKeLcsdnUgrO XUFM=; b=Hv2+89WudPmyKuhDFJHfk9RVQXrSawRDNbgkUS5iRa1Q0MRA+s8sz4a X0O5uNmInjGY2LzWlRMZmvqAzde6PPuef0+ei/SxlToE1qnkfvKGAUqcXOL4GeyE Ng0MakEbFbTMOQRtBRE+2+SxGr9hCuPMS7VST7ytWQPQRAF1ryRQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=YHCj7q7XJW4LKeLcsdnUgrOXUFM=; b=pxrZfIPw3+fPuOgMNxRCYqfi4x1J E/2Wm4sPi28G6nhqtf6vIl6HK7MP2r3f7IqUopR91U/L11aeMntAw4spz8F7Eqm9 p0/sThku0B/sIrzBhM2uSPF66TA7n8g6HR9guuOsYr2Sx3xBu9d7YMaePX/7Ru/e 4aeplgkK47s5ZgA= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 95E4740077; Tue, 27 Dec 2011 21:08:50 -0500 (EST) Message-Id: <1325038130.25799.140661016548921@webmail.messagingengine.com> X-Sasl-Enc: lHWkVc/xU+hWQQ0BmQAzJmTGo8Fdhhwi9JANxEGV+/5F 1325038130 From: "Jud" To: "freebsd-questions" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Date: Tue, 27 Dec 2011 21:08:50 -0500 Subject: No sound from S/PDIF Output of ESI Juli@ (Envy24HT) 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, 28 Dec 2011 02:26:56 -0000 I can't seem to get volume from the S/PDIF (digital coaxial) output of my ESI Juli@ sound card. Running a recent version of 8.2-STABLE. Here's what appears to me to be the relevant part of dmesg (full dmesg appended below): pcm0: port 0xec00-0xec1f,0xe880-0xe8ff irq 16 at device 0.0 on pci8 pcm0: [GIANT-LOCKED] pcm0: [ITHREAD] pcm0: system configuration SubVendorID: 0x3031, SubDeviceID: 0x4553 XIN2 Clock Source: 24.576MHz(96kHz*256) MPU-401 UART(s) #: 1 ADC #: 1 DAC #: 1 Multi-track converter type: I2S(with volume, 192KHz support, 24bit resolution, ID#0x0) S/PDIF(IN/OUT): 1/1 ID# 0x00 GPIO(mask/dir/state): 0x7fff9f/0x7fff9f/0x8016 /boot/loader.conf contains snd_envy24ht_load="YES" The light on my digital-to-audio converter that is fed by the Juli@ coaxial connection is on, indicating it is receiving a signal. The same is true in Win 7 and Ubuntu 11.10, where I do get sound. Mixer shows vol, pcm and line all set to 100:100. cat /dev/sndstat shows FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (rec) Would someone be kind enough to help me determine what I'm not doing correctly or doing wrong? Thanks, Jud $ dmesg Copyright (c) 1992-2011 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 8.2-STABLE #0: Wed Nov 30 11:58:00 EST 2011 jud@jud.dyndns.org:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz (4945.11-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x106a5 Family = 6 Model = 1a Stepping = 5 Features=0xbfebfbff Features2=0x98e3bd AMD Features=0x28100800 AMD Features2=0x1 TSC: P-state invariant real memory = 12884901888 (12288 MB) avail memory = 12353847296 (11781 MB) ACPI APIC Table: <092011 APIC1949> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: <092011 XSDT1949> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, bff00000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 atapci0: port 0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f mem 0xf7eff800-0xf7efffff irq 28 at device 0.0 on pci1 atapci0: [ITHREAD] atapci0: AHCI v1.20 controller with 8 6Gbps ports, PM not supported ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] ata5: on atapci0 ata5: [ITHREAD] ata6: on atapci0 ata6: [ITHREAD] ata7: on atapci0 ata7: [ITHREAD] ata8: on atapci0 ata8: [ITHREAD] ata9: on atapci0 ata9: [ITHREAD] pcib2: at device 2.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pcib3: at device 3.0 on pci0 pci3: on pcib3 vgapci0: port 0xbc00-0xbc7f mem 0xf8000000-0xf9ffffff,0xd8000000-0xdfffffff,0xd4000000-0xd7ffffff irq 24 at device 0.0 on pci3 nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: child nvidia0 requested pci_enable_io nvidia0: [ITHREAD] pci3: at device 0.1 (no driver attached) pcib4: at device 7.0 on pci0 pci4: on pcib4 pci0: at device 20.0 (no driver attached) pci0: at device 20.1 (no driver attached) pci0: at device 20.2 (no driver attached) pci0: at device 20.3 (no driver attached) em0: port 0x9c00-0x9c1f mem 0xf7de0000-0xf7dfffff,0xf7ddf000-0xf7ddffff irq 22 at device 25.0 on pci0 em0: Using an MSI interrupt em0: [FILTER] em0: Ethernet address: 20:cf:30:54:35:d0 uhci0: port 0x9480-0x949f irq 16 at device 26.0 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x2f00 usbus0: on uhci0 uhci1: port 0x9800-0x981f irq 21 at device 26.1 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0x2f00 usbus1: on uhci1 uhci2: port 0x9880-0x989f irq 19 at device 26.2 on pci0 uhci2: [ITHREAD] uhci2: LegSup = 0x2f00 usbus2: on uhci2 ehci0: mem 0xf7dde000-0xf7dde3ff irq 18 at device 26.7 on pci0 ehci0: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci0 pci0: at device 27.0 (no driver attached) pcib5: irq 17 at device 28.0 on pci0 pci7: on pcib5 pcib6: irq 19 at device 28.3 on pci0 pci6: on pcib6 fwohci0: <1394 Open Host Controller Interface> port 0xd800-0xd8ff mem 0xfbeff000-0xfbeff7ff irq 19 at device 0.0 on pci6 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:1f:c6:00:00:02:d2:9d fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:1f:c6:02:d2:9d fwe0: Ethernet address: 02:1f:c6:02:d2:9d fwip0: on firewire0 fwip0: Firewire address: 00:1f:c6:00:00:02:d2:9d @ 0xfffe00000000, S400, maxrec 2048 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x4dc4000 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000001, SelfID Count=1, CYCLEMASTER mode pcib7: irq 17 at device 28.4 on pci0 pci5: on pcib7 atapci1: port 0xcc00-0xcc07,0xc880-0xc883,0xc800-0xc807,0xc480-0xc483,0xc400-0xc40f mem 0xfbdfe000-0xfbdfffff irq 16 at device 0.0 on pci5 atapci1: [ITHREAD] atapci2: on atapci1 atapci2: [ITHREAD] atapci2: AHCI v1.00 controller with 2 3Gbps ports, PM supported ata10: on atapci2 ata10: [ITHREAD] ata11: on atapci2 ata11: [ITHREAD] ata12: on atapci1 ata12: [ITHREAD] uhci3: port 0x9000-0x901f irq 23 at device 29.0 on pci0 uhci3: [ITHREAD] uhci3: LegSup = 0x2f00 usbus4: on uhci3 uhci4: port 0x9080-0x909f irq 21 at device 29.1 on pci0 uhci4: [ITHREAD] uhci4: LegSup = 0x2f00 usbus5: on uhci4 uhci5: port 0x9400-0x941f irq 18 at device 29.2 on pci0 uhci5: [ITHREAD] uhci5: LegSup = 0x2f00 usbus6: on uhci5 ehci1: mem 0xf7ddd000-0xf7ddd3ff irq 23 at device 29.7 on pci0 ehci1: [ITHREAD] usbus7: EHCI version 1.0 usbus7: on ehci1 pcib8: at device 30.0 on pci0 pci8: on pcib8 pcm0: port 0xec00-0xec1f,0xe880-0xe8ff irq 16 at device 0.0 on pci8 pcm0: [GIANT-LOCKED] pcm0: [ITHREAD] pcm0: system configuration SubVendorID: 0x3031, SubDeviceID: 0x4553 XIN2 Clock Source: 24.576MHz(96kHz*256) MPU-401 UART(s) #: 1 ADC #: 1 DAC #: 1 Multi-track converter type: I2S(with volume, 192KHz support, 24bit resolution, ID#0x0) S/PDIF(IN/OUT): 1/1 ID# 0x00 GPIO(mask/dir/state): 0x7fff9f/0x7fff9f/0x8016 isab0: at device 31.0 on pci0 isa0: on isab0 atapci3: port 0x8880-0x8887,0x8800-0x8803,0x8480-0x8487,0x8400-0x8403,0x8080-0x809f mem 0xf7dd7000-0xf7dd77ff irq 20 at device 31.2 on pci0 atapci3: [ITHREAD] atapci3: AHCI called from vendor specific driver atapci3: AHCI v1.20 controller with 6 3Gbps ports, PM supported ata13: on atapci3 ata13: [ITHREAD] ata14: on atapci3 ata14: [ITHREAD] ata15: on atapci3 ata15: [ITHREAD] ata16: on atapci3 ata16: [ITHREAD] ata17: on atapci3 ata17: [ITHREAD] ata18: on atapci3 ata18: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 qpi0: on motherboard pcib9: pcibus 255 on qpi0 pci255: on pcib9 orm0: at iomem 0xd1000-0xd3fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est0 attach returned 6 p4tcc0: on cpu0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est1 attach returned 6 p4tcc1: on cpu1 est2: on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est2 attach returned 6 p4tcc2: on cpu2 est3: on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est3 attach returned 6 p4tcc3: on cpu3 est4: on cpu4 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est4 attach returned 6 p4tcc4: on cpu4 est5: on cpu5 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est5 attach returned 6 p4tcc5: on cpu5 est6: on cpu6 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est6 attach returned 6 p4tcc6: on cpu6 est7: on cpu7 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 17 device_attach: est7 attach returned 6 p4tcc7: on cpu7 Timecounters tick every 1.000 msec firewire0: 2 nodes, maxhop <= 1 cable IRM irm(1) (me) firewire0: bus manager 1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 12Mbps Full Speed USB v1.0 usbus7: 480Mbps High Speed USB v2.0 ad4: 244198MB at ata2-master UDMA100 SATA 6Gb/s GEOM: ad4: partition 4 does not start on a track boundary. GEOM: ad4: partition 4 does not end on a track boundary. GEOM: ad4: partition 3 does not start on a track boundary. GEOM: ad4: partition 3 does not end on a track boundary. GEOM: ad4: partition 2 does not start on a track boundary. GEOM: ad4: partition 2 does not end on a track boundary. GEOM: ad4: partition 1 does not start on a track boundary.ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ugen7.1: at usbus7 uhub7: on usbus7 GEOM: ad4: partition 1 does not end on a track boundary. acd0: DVDR at ata13-master UDMA100 SATA 1.5Gb/s acd1: DVDR at ata15-master UDMA100 SATA 1.5Gb/s ad34: 238475MB at ata17-master UDMA100 SATA 1.5Gb/s ad36: 238475MB at ata18-master UDMA100 SATA 1.5Gb/s SMP: AP CPU #1 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! Root mount waiting for: usbus7 usbus6 usbus5 usbus4 usbus3 usbus2 usbus1 usbus0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered uhub6: 2 ports with 2 removable, self powered Root mount waiting for: usbus7 usbus3 uhub3: 6 ports with 6 removable, self powered uhub7: 6 ports with 6 removable, self powered Root mount waiting for: usbus7 usbus3 ugen6.2: at usbus6 ukbd0: on usbus6 kbd2 at ukbd0 uhid0: on usbus6 ugen3.2: at usbus3 Trying to mount root from ufs:/dev/ad4s4a ugen0.2: at usbus0 uhub8: on usbus0 ugen6.3: at usbus6 ums0: on usbus6 ums0: 16 buttons and [XYZT] coordinates ID=0 uhid1: on usbus6 ugen2.2: at usbus2 uhid2: on usbus2 uhub8: 3 ports with 0 removable, bus powered ugen0.3: at usbus0 ukbd1: on usbus0 kbd3 at ukbd1 uaudio0: on usbus3 uaudio0: No playback! uaudio0: Record: 16000 Hz, 1 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer pcm1: on uaudio0 fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 ugen0.4: at usbus0 ums1: on usbus0 ums1: 3 buttons and [XY] coordinates ID=2 ugen0.5: at usbus0 ubt0: on usbus0 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() em0: link state changed to UP -- "I'd take the awe of understanding over the awe of ignorance any day." - Douglas Adams From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 02:32:01 2011 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 C77501065672 for ; Wed, 28 Dec 2011 02:32:01 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-pb-sasl-sd.pobox.com [74.115.168.62]) by mx1.freebsd.org (Postfix) with ESMTP id 8B31D8FC08 for ; Wed, 28 Dec 2011 02:32:01 +0000 (UTC) Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6D4DA8DA3 for ; Tue, 27 Dec 2011 21:16:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from :reply-to:to:subject:message-id:mime-version:content-type; s= sasl; bh=kTRC9y7zKN4j2IlI0ovxw4CgQ88=; b=MDw3q5BrDbNHZpzemMmgQOp 755dcueXf/F6MhX7rS5b9IJ4USo5uBNqOz7+++sYroPFdrunptm+rOfh+DxR6jFJ 2Od+s+MgIz8PhAfZ38k6OM8x2kd9UbYdXOnepDiUjROPsz9BvS81OaKO0+7dBehY pJVfBuBzk6UTOl0RuHe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from :reply-to:to:subject:message-id:mime-version:content-type; q= dns; s=sasl; b=aMqhkcPEBIQj+wpnQ4l3iIBj4oA/f7TaqHm7p3wWmN3TjKlq+ oMXmuFm092sg41hNhjyJCPwPmQXynfu7n+LXoXdcbhqw0E+8zpBXD3B+jbdx9hgz tFDeYIbVKCRYkO0CLPsEizzkMPgCVRjATou5GLlelqRTg93J/IjPOxvsW8= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 647748DA2 for ; Tue, 27 Dec 2011 21:16:45 -0500 (EST) Received: from tower.lukas.is-a-geek.org (unknown [50.35.181.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id B32B88DA1 for ; Tue, 27 Dec 2011 21:16:44 -0500 (EST) Date: Tue, 27 Dec 2011 18:16:40 -0800 (PST) From: Luke Dean X-X-Sender: lukas@tower.lukas.is-a-geek.org To: questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Pobox-Relay-ID: FD0C5264-30F9-11E1-9E51-65B1DE995924-96347044!a-pb-sasl-sd.pobox.com Cc: Subject: Intel EMGD driver on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 02:32:01 -0000 I've recently acquired an Asus Eee PC 1201HAB netbook with GMA500 "Poulsbo" video. My research and experiments show that this hardware is not supported by the usual mainstream Intel driver. The only driver that I seem to have any luck with at all under FreeBSD is vesa, but even vesa has problems. The latest news I've read from the Linux world is that Intel's EMGD "Embedded Media and Graphics Driver" is the current best solution. If I'm reading the FAQ correctly, the bits I need the most are closed source. http://www.intel.com/p/en_US/embedded/hwsw/software/emgd#faqs Aside from being nailed down to a specific version of OpenGL, I had good experiences using the Nvidia binary blob driver under FreeBSD. I'd be willing to endure that same kind of situation again if that's the only way to get any kind of video acceleration out of this hardware. Is anyone working on making the EMGD work under FreeBSD? Would it make sense to try? From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 02:41:24 2011 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 EC2E6106564A for ; Wed, 28 Dec 2011 02:41:24 +0000 (UTC) (envelope-from feld@feld.me) Received: from mwi1.coffeenet.org (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id B19FF8FC0A for ; Wed, 28 Dec 2011 02:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=3wxhlMKUU/m3L0N5Z5RwVGyQBH/6P1M6mM9MDD3ao7U=; b=BqZFtdi0LyDAX1A6hPedLHJBFZWQh/qb4zyvneu9W7ctPfxNdFeHTtWG3cwvGZibC2UomCsb0MCeOm9ZBRXP48KZjvQOSlh1ID8Ynss6FiP11HYMO+BCHw5j19i9Q8M4; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by mwi1.coffeenet.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RfjSF-0009k5-Di for questions@freebsd.org; Tue, 27 Dec 2011 20:41:24 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpsa id 1325040077-2767-2766/5/1; Wed, 28 Dec 2011 02:41:17 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: questions@freebsd.org References: Date: Tue, 27 Dec 2011 20:41:17 -0600 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/11.61 (FreeBSD) X-SA-Score: -1.0 Cc: Subject: Re: Intel EMGD driver on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 02:41:25 -0000 Are you sure that the problem isn't just that the current releases of FreeBSD don't have GEM/KMS support which the newer Intel drivers require? I'm running a test build on my Google CR48 and have OpenGL acceleration without any major hiccups except not being able to get back to a console after starting X. Test here: http://lists.freebsd.org/pipermail/freebsd-current/2011-November/029219.html I converted the image into full install on my hard drive. More details here: http://wiki.freebsd.org/Intel_GPU Regards, Mark From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 04:33:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A332F106566B for ; Wed, 28 Dec 2011 04:33:26 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 3000E8FC08 for ; Wed, 28 Dec 2011 04:33:25 +0000 (UTC) Received: from mart.js.berklix.net (p57BCFE6B.dip.t-dialin.net [87.188.254.107]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pBS4XLaK036904; Wed, 28 Dec 2011 04:33:24 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pBS4X8bs063109; Wed, 28 Dec 2011 05:33:10 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pBS4WgNY052026; Wed, 28 Dec 2011 05:33:02 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112280433.pBS4WgNY052026@fire.js.berklix.net> To: Damien Fleuriot From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Tue, 27 Dec 2011 16:58:06 +0100." <4EF9EB0E.809@my.gd> Date: Wed, 28 Dec 2011 05:32:42 +0100 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org Subject: Re: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 04:33:26 -0000 Damien Fleuriot wrote: > On 12/27/11 4:45 PM, Julian H. Stacey wrote: > > Hi questions@ > [snip] > > > Externaly > > { > > man gnash says what to do from CLI, > > But I'm not clear what the URL is, of the flash to save to file > > } > > In reply to knowing the flash's URL, I think the download helper plugin > for FF could be of use to you. Does plugin = remote compiled binary ? If so I'd rather not thanks (security). With /usr/ports/graphics/gnash I can now run eg gnash /xp/WINDOWS/Help/Tours/mmTour/segment5.swf & firefox3 will play the top video on youtube.com. but firefox3 still refuses on http://www.bbc.co.uk/news/technology-16252407 Maybe different levels of flash. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. EU tax to kill London Vetoed http://berklix.com/~jhs/blog/2011_12_11 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 07:54:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5D671065672 for ; Wed, 28 Dec 2011 07:54:26 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 17AF08FC0A for ; Wed, 28 Dec 2011 07:54:25 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22929968 for freebsd-questions@freebsd.org; Wed, 28 Dec 2011 14:54:23 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBS7sNaQ018326 for ; Wed, 28 Dec 2011 14:54:23 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBS7sMYO018325 for freebsd-questions@freebsd.org; Wed, 28 Dec 2011 14:54:22 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 28 Dec 2011 14:54:22 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111228075422.GA18064@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 07:54:26 -0000 Colleagues, This question is not directly related to FreeBSD, but perhaps some network administrators reading this list know the answer. Can I setup several ISC BIND servers to be each other's mutual forwarders? Will it work or create an endless loop of DNS queries? I have customers using several DNS servers as recursive resolvers. The usage pattern is pretty much equal between all the servers. What I want is create a cache common to all the recursive servers to reduce traffic and response time (much like squid siblings work). Thank you for any input. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 08:26:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E4741065670 for ; Wed, 28 Dec 2011 08:26:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 064328FC0C for ; Wed, 28 Dec 2011 08:26:01 +0000 (UTC) Received: by eekc50 with SMTP id c50so14632711eek.13 for ; Wed, 28 Dec 2011 00:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=pkFxDILIMMvilR1XQ2XCX3/rpirtAnj7WXhYOWLsG4w=; b=OfPoPg7G4eZse/4r0rfpwQol5ANXG5FHXAkkQLk0KVicP4I/d/qHIvO3iRnUr82664 V0tTyx4/45Kc1E/ljrQ3F3cZo1lDnk0pwX2PhMmaX4PMR+6hs4YdUybzlwPEkgYyRLPy 2kZBMW1IqCJNgVypMzLCrI/axd1kXUX43NmXA= Received: by 10.14.2.15 with SMTP id 15mr12742202eee.29.1325060760810; Wed, 28 Dec 2011 00:26:00 -0800 (PST) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id u53sm69851801eeu.6.2011.12.28.00.25.59 (version=SSLv3 cipher=OTHER); Wed, 28 Dec 2011 00:26:00 -0800 (PST) Message-ID: <4EFAD296.6080909@gmail.com> Date: Wed, 28 Dec 2011 10:25:58 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111223 Thunderbird/9.0 MIME-Version: 1.0 To: "Alain G. Fabry" References: <20111227175420.GA2489@desmo.home> In-Reply-To: <20111227175420.GA2489@desmo.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: VirtualBox USB 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: Wed, 28 Dec 2011 08:26:02 -0000 27.12.2011 19:55, Alain G. Fabry wrote: > Hello.... in the FreeBSD handbook it mentions there's USB support in Virtualbox. In other sources I read however that the VBoxPuelMain module is not supported in FreeBSD. VirtualBox comes with basic USB support, extension pack provides USB2.0 support. > So I'm wondering if the VBox extension pack needs to be installed since it is not mentioned in the Handbook. When trying to install the extension Pack, I get the VBoxPuelMain error, but without this and following the instructions in the handbook, my guest OS's don't see any USB devices (Nor do I see them in preferences of VBox) You have to enable usb in machine preferences. -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 09:43:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD8C106564A for ; Wed, 28 Dec 2011 09:43:35 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B82268FC18 for ; Wed, 28 Dec 2011 09:43:35 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so12296061obb.13 for ; Wed, 28 Dec 2011 01:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Yqzog89UCkEsp2SNthyfNeIyxhGe8TEmWYlhZGtYFBY=; b=vFPa4T1SpImON6JCkhhDq0JknKlSHpqT6CveYqbXczj9Rl6hmh9C831RX2/WSFctIX HLn3IoUBSJzhZUygnxOnJuUMnv740uXJbPuJXMMZMstsS8a02mbKPHraewUX6ZqTxFyO o8AXgoif/Yl24tiex+0+QgtrtrFRlDwJ9QWFA= MIME-Version: 1.0 Received: by 10.182.132.105 with SMTP id ot9mr3514052obb.34.1325063603892; Wed, 28 Dec 2011 01:13:23 -0800 (PST) Received: by 10.182.133.33 with HTTP; Wed, 28 Dec 2011 01:13:23 -0800 (PST) In-Reply-To: References: Date: Wed, 28 Dec 2011 01:13:23 -0800 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD EC2 Status X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 09:43:36 -0000 My friend did an installation to try it out. He is currently running Apache for over a week with no problems. Nothing heavier was done. -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 09:57:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6CF1106564A for ; Wed, 28 Dec 2011 09:57:34 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B6CD8FC15 for ; Wed, 28 Dec 2011 09:57:34 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so16979807vbb.13 for ; Wed, 28 Dec 2011 01:57:33 -0800 (PST) Received: by 10.52.16.78 with SMTP id e14mr887024vdd.60.1325066253698; Wed, 28 Dec 2011 01:57:33 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id cn2sm7452045vdc.3.2011.12.28.01.57.32 (version=SSLv3 cipher=OTHER); Wed, 28 Dec 2011 01:57:33 -0800 (PST) Message-ID: <4EFAE80D.9040900@my.gd> Date: Wed, 28 Dec 2011 10:57:33 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> In-Reply-To: <20111228075422.GA18064@admin.sibptus.tomsk.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 09:57:34 -0000 On 12/28/11 8:54 AM, Victor Sudakov wrote: > Colleagues, > > This question is not directly related to FreeBSD, but perhaps some > network administrators reading this list know the answer. > > Can I setup several ISC BIND servers to be each other's mutual forwarders? > Will it work or create an endless loop of DNS queries? > > I have customers using several DNS servers as recursive resolvers. The > usage pattern is pretty much equal between all the servers. What I > want is create a cache common to all the recursive servers to reduce > traffic and response time (much like squid siblings work). > > Thank you for any input. > If your planned setup is: DNS A, forward to DNS B on query fail DNS B, forward to DNS A on query fail Then this will indeed create a loop in case a query cannot be answered by both servers. Also, you won't want to do that. If you're trying to build up a cache to improve performance and response time, here's your scenario: DNS C, forward to DNS A,B for all queries DNS D, forward to DNS B,A for all queries Your cache will start building up and only responses that are not cached will be taken from your NS A and B servers. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 10:04:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6992106564A for ; Wed, 28 Dec 2011 10:04:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 391C98FC08 for ; Wed, 28 Dec 2011 10:04:04 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBSA3vJK034333 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 28 Dec 2011 10:03:57 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBSA3vJK034333 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325066637; bh=BBpmyH0KE8CTfn13vtEeCFNq7L6wo0tXtaB0bfPPKXc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=GY37bTpaV+u0ERonYCRnIhuVubYH2YXYg3nqehV/pv+GXTh5DFxBsbmydejmRWRzr ecdO7BxCisQWOLNbTxLiWfKqcnV058aCYHmMly2kT8s9w4J90XmZb2zWQmiUO56fFc m/KluqBXfjUJTgRC8G6gqTiInogQo4kJiEIl8u/8= Message-ID: <4EFAE986.7030207@infracaninophile.co.uk> Date: Wed, 28 Dec 2011 10:03:50 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> In-Reply-To: <20111228075422.GA18064@admin.sibptus.tomsk.ru> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig814EEE72AB375714A9BCC2CB" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 10:04:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig814EEE72AB375714A9BCC2CB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/12/2011 07:54, Victor Sudakov wrote: > This question is not directly related to FreeBSD, but perhaps some > network administrators reading this list know the answer. >=20 > Can I setup several ISC BIND servers to be each other's mutual forwarde= rs? > Will it work or create an endless loop of DNS queries? >=20 > I have customers using several DNS servers as recursive resolvers. The > usage pattern is pretty much equal between all the servers. What I > want is create a cache common to all the recursive servers to reduce > traffic and response time (much like squid siblings work).=20 Hmmm.... I've a feeling that the end result will be a forwarding loop as you suspect, although eventually your resolvers will go and do the lookup correctly and return the answers. That will probably add quite a lot to the latency of cache misses and on the whole not help at all. This is not a configuration I've ever heard of in use successfully, which might be a clue as to it's efficacy and desirability. DNS delays are almost always due to one or more of the nameservers listed in resolv.conf being uncommunicative. Or because there's a dumb firewall between the client and the resolver or between the resolver and the rest of the net that does stupid things like assume that DNS packets are limited to 512 bytes -- so blocking eDNS0 and forcing the resolver to eventually fall back to using TCP. [Cisco, I'm looking at you...] You can use tcpdump or wireshark to capture DNS traffic and diagnose this sort of problem, plus bind will log information about problems with eDNS0 packet sizes. Also this: https://www.dns-oarc.net/oarc/services/replysizetest If you want to consolidate caches then probably your best bet is to have fewer, but larger resolvers. A pretty standard server class machine dedicated to recursive DNS should be easily capable of supporting many thousands of clients. DNS is not really a fruitful target for reducing traffic volume -- there really isn't that much of it compared to all other types in any case. It's also pretty critical to the perceived performance of your networks. Complicating and slowing down the DNS lookup path just makes everything look slow. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig814EEE72AB375714A9BCC2CB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk766Y0ACgkQ8Mjk52CukIwyrQCdGjooFbtCgdnMkVPMMRnNnTdM 6GsAn1U+VIV62B6xx4xJBzcLPV12+20p =yF+d -----END PGP SIGNATURE----- --------------enig814EEE72AB375714A9BCC2CB-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 13:07:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E0A106564A for ; Wed, 28 Dec 2011 13:07:37 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 35F9C8FC15 for ; Wed, 28 Dec 2011 13:07:36 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22938559 for freebsd-questions@freebsd.org; Wed, 28 Dec 2011 20:07:35 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBSD7Y6W023938 for ; Wed, 28 Dec 2011 20:07:35 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBSD7Yt5023937 for freebsd-questions@freebsd.org; Wed, 28 Dec 2011 20:07:34 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Wed, 28 Dec 2011 20:07:34 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111228130734.GA23763@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EFAE80D.9040900@my.gd> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 13:07:38 -0000 Damien Fleuriot wrote: > > If you're trying to build up a cache to improve performance and response > time, here's your scenario: > > DNS C, forward to DNS A,B for all queries > DNS D, forward to DNS B,A for all queries > > Your cache will start building up and only responses that are not cached > will be taken from your NS A and B servers. Sorry, I fail to see how this is any better than two independent DNS servers. Perhaps a variant like DNS C, forward to DNS A DNS D, forward to DNS A would be close to the goal of cache consolidation. Matthew Seaman wrote: > > If you want to consolidate caches then probably your best bet is to have > fewer, but larger resolvers. A pretty standard server class machine > dedicated to recursive DNS should be easily capable of supporting many > thousands of clients. You are certainly right. > > DNS is not really a fruitful target for reducing traffic volume -- there > really isn't that much of it compared to all other types in any case. > It's also pretty critical to the perceived performance of your networks. > Complicating and slowing down the DNS lookup path just makes everything > look slow. I just wanted the servers to benefit from each other's caches. That could speed up the lookups. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 13:14:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 203281065673 for ; Wed, 28 Dec 2011 13:14:03 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward18.mail.yandex.net (forward18.mail.yandex.net [IPv6:2a02:6b8:0:1402::3]) by mx1.freebsd.org (Postfix) with ESMTP id 93E6C8FC15 for ; Wed, 28 Dec 2011 13:14:02 +0000 (UTC) Received: from web6.yandex.ru (web6.yandex.ru [95.108.252.106]) by forward18.mail.yandex.net (Yandex) with ESMTP id 0DD121783BEF for ; Wed, 28 Dec 2011 17:14:01 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325078041; bh=5Vr/aYLowHkpIto87fJpC2s3AtFptijnS6eaNaGvZJ8=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=VdYCrbmFfi4tC0UCYsUFouHewLr38XCwH5tJCDAbfHyXkE3CM/kcco7XEnFCU8C+c 7JhzO9JiS3x9BIxRKgZenxKoUmmgKkbl5/KrXpB+exQfyFRgcYFdlOJPLRaMit4Kbi HeXdKjxjJG2ksZUyi5mQOy3ouBCozuX1V1jH46ho= Received: from localhost (localhost.localdomain [127.0.0.1]) by web6.yandex.ru (Yandex) with ESMTP id E2AC63188039 for ; Wed, 28 Dec 2011 17:14:00 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325078040; bh=5Vr/aYLowHkpIto87fJpC2s3AtFptijnS6eaNaGvZJ8=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=oCLu2FA56CqnsbIYM3DVQ1YyvLAvPeIeKaxE+/hFTuerXgP+gM4YcSLiyNDS5E70B PyiznPiusr5XxXf9Ks6qyJetmhnHEjQZ5mebNB15MOORuiuB5hKHevQsnc6zTdPAnf Jgmdz2pUFinSh7mhhJqt+iZzbQ6XhCBWqHODnT+g= X-Yandex-Spam: 1 Received: from [77.93.52.5] ([77.93.52.5]) by web6.yandex.ru with HTTP; Wed, 28 Dec 2011 17:14:00 +0400 From: KES Envelope-From: kes-kes@yandex.ru To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: <889011325078040@web6.yandex.ru> Date: Wed, 28 Dec 2011 15:14:00 +0200 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: vmcore X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 13:14:03 -0000 I am have vmcore files but kernel has compiled without -g can I take any usefull information about 'why this problem occour'? cat info.0 info.1 info.2 Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 380215296B (362 MB) Blocksize: 512 Dumptime: Wed Dec 28 14:17:48 2011 Hostname: flux Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 @:/usr/obj/usr/src/sys/PAE_KES Panic String: double fault Dump Parity: 435437143 Bounds: 2 Dump Status: good Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 493899776B (471 MB) Blocksize: 512 Dumptime: Wed Dec 7 17:56:01 2011 Hostname: flux Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 @:/usr/obj/usr/src/sys/PAE_KES Panic String: double fault Dump Parity: 2760491868 Bounds: 1 Dump Status: good Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 449695744B (428 MB) Blocksize: 512 Dumptime: Sat Nov 12 14:54:01 2011 Hostname: flux Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 @:/usr/obj/usr/src/sys/PAE_KES Panic String: double fault Dump Parity: 2619940699 Bounds: 0 Dump Status: good From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 13:36:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9D5C1065675 for ; Wed, 28 Dec 2011 13:36:19 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2D65F8FC14 for ; Wed, 28 Dec 2011 13:36:18 +0000 (UTC) Received: by lahl5 with SMTP id l5so6773014lah.13 for ; Wed, 28 Dec 2011 05:36:17 -0800 (PST) Received: by 10.152.135.105 with SMTP id pr9mr4690843lab.19.1325079377835; Wed, 28 Dec 2011 05:36:17 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id s13sm24815716lad.8.2011.12.28.05.36.16 (version=SSLv3 cipher=OTHER); Wed, 28 Dec 2011 05:36:17 -0800 (PST) Message-ID: <4EFB1B4F.2090504@my.gd> Date: Wed, 28 Dec 2011 14:36:15 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> In-Reply-To: <20111228130734.GA23763@admin.sibptus.tomsk.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 13:36:19 -0000 On 12/28/11 2:07 PM, Victor Sudakov wrote: > Damien Fleuriot wrote: >> >> If you're trying to build up a cache to improve performance and response >> time, here's your scenario: >> >> DNS C, forward to DNS A,B for all queries >> DNS D, forward to DNS B,A for all queries >> >> Your cache will start building up and only responses that are not cached >> will be taken from your NS A and B servers. > > Sorry, I fail to see how this is any better than two independent DNS > servers. Perhaps a variant like > > DNS C, forward to DNS A > DNS D, forward to DNS A > > would be close to the goal of cache consolidation. > DNS A suffers an outage ; you're fucked, to put it bluntly. > Matthew Seaman wrote: >> >> If you want to consolidate caches then probably your best bet is to have >> fewer, but larger resolvers. A pretty standard server class machine >> dedicated to recursive DNS should be easily capable of supporting many >> thousands of clients. > > You are certainly right. > >> >> DNS is not really a fruitful target for reducing traffic volume -- there >> really isn't that much of it compared to all other types in any case. >> It's also pretty critical to the perceived performance of your networks. >> Complicating and slowing down the DNS lookup path just makes everything >> look slow. > > I just wanted the servers to benefit from each other's caches. That > could speed up the lookups. > > On a side note, have you considered unbound ? It may be better suited to your needs and scale. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 16:41:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 191C11065672 for ; Wed, 28 Dec 2011 16:41:05 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A4FF78FC13 for ; Wed, 28 Dec 2011 16:41:04 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so22260013wgb.31 for ; Wed, 28 Dec 2011 08:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=xLmOF8OGEdptv8kZavatkDGzgxKkuKpM1ic9xIefRsE=; b=KJLV4Xs7to+aoExY54ffXz9ly39/uWvNfm0i0YHe8oeDAcjwNoYJ9k10yDfJ6a3cIT ASy+9C8y8ffGprUKfgu6IpuFUudg5qT1imhu0owtQthSRACK8RcvTcdaTBh0QFlu2PNP MaC3KD4QzXXP6yvB66/d6YZM5cHGdYwopvtpM= MIME-Version: 1.0 Received: by 10.227.207.82 with SMTP id fx18mr32246182wbb.19.1325088753171; Wed, 28 Dec 2011 08:12:33 -0800 (PST) Received: by 10.216.15.77 with HTTP; Wed, 28 Dec 2011 08:12:33 -0800 (PST) In-Reply-To: References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> Date: Wed, 28 Dec 2011 19:12:33 +0300 Message-ID: From: Peter Andreev To: freebsd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 16:41:05 -0000 2011/12/28 Damien Fleuriot : > > > On 12/28/11 2:07 PM, Victor Sudakov wrote: >> Damien Fleuriot wrote: >>> >>> If you're trying to build up a cache to improve performance and respons= e >>> time, here's your scenario: >>> >>> DNS C, forward to DNS A,B for all queries >>> DNS D, forward to DNS B,A for all queries >>> >>> Your cache will start building up and only responses that are not cache= d >>> will be taken from your NS A and B servers. >> >> Sorry, I fail to see how this is any better than two independent DNS >> servers. Perhaps a variant like >> >> DNS C, forward to DNS A >> DNS D, forward to DNS A >> >> would be close to the goal of cache consolidation. >> > > DNS A suffers an outage ; you're fucked, to put it bluntly. BIND can be configured to deal with such troubles. =A0But still Victor's idea isn't very good. First of all because response time increasing in case of using forwarders. Victor, we researched this topic and learned that response time highly depends on distance between user and resolver, while cache influence on this value is lesser. So I advice you to keep all as is. > > >> Matthew Seaman wrote: >>> >>> If you want to consolidate caches then probably your best bet is to hav= e >>> fewer, but larger resolvers. =A0A pretty standard server class machine >>> dedicated to recursive DNS should be easily capable of supporting many >>> thousands of clients. >> >> You are certainly right. >> >>> >>> DNS is not really a fruitful target for reducing traffic volume -- ther= e >>> really isn't that much of it compared to all other types in any case. >>> It's also pretty critical to the perceived performance of your networks= . >>> =A0Complicating and slowing down the DNS lookup path just makes everyth= ing >>> look slow. >> >> I just wanted the servers to benefit from each other's caches. That >> could speed up the lookups. >> >> > > On a side note, have you considered unbound ? > > It may be better suited to your needs and scale. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" -- -- AP --=20 -- AP From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 16:46:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3788106566B for ; Wed, 28 Dec 2011 16:46:42 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id A2E468FC0A for ; Wed, 28 Dec 2011 16:46:42 +0000 (UTC) Received: by qadb17 with SMTP id b17so8649092qad.13 for ; Wed, 28 Dec 2011 08:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ivkiUagGCNfD6RjqxNxjByXXnM/WkvV+9kpCuXsD0UM=; b=TAiMS/YNNz2EOAmUEBLs+C9OIJoySYsrYAFn3jArlsPXFHORjseCNne9sn/FinLeK5 8M5hxE77oK7P3YGat3FN91pL3Z7tfGLPaLDBSunAY3zmfFjZDwUse3eVzfGDDybjZX1M +zFSWrE3kSZkoyA7hZ+I0x6x7N/Tv2b/bKFhc= MIME-Version: 1.0 Received: by 10.224.177.203 with SMTP id bj11mr38778814qab.37.1325089443159; Wed, 28 Dec 2011 08:24:03 -0800 (PST) Received: by 10.229.164.10 with HTTP; Wed, 28 Dec 2011 08:24:03 -0800 (PST) Date: Wed, 28 Dec 2011 18:24:03 +0200 Message-ID: From: Omer Faruk SEN To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ISP driver and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 16:46:43 -0000 Hi, I have a dual port HBA: isp0@pci0:2:0:0: class=0x0c0400 card=0x015d1077 chip=0x25321077 rev=0x02 hdr=0x00 vendor = 'QLogic Corporation' device = '8Gb PCIe x8 Single/Dual Fibre Channel HBA (ISP2532)' class = serial bus subclass = Fibre Channel isp1@pci0:2:0:1: class=0x0c0400 card=0x015d1077 chip=0x25321077 rev=0x02 hdr=0x00 vendor = 'QLogic Corporation' device = '8Gb PCIe x8 Single/Dual Fibre Channel HBA (ISP2532)' class = serial bus subclass = Fibre Channel for the SAN Storage we use EMC VNX5100. I have enabled driver /boot/loader.conf: isp_load="YES" ispfw_load="YES" I have attached a LUN but I can see the daX disks and get following error: # grep da0 /var/run/dmesg.boot (da0:isp0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da0:isp0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit not supported) (da0:isp0:0:0:0): fatal error, failed to attach to device (da0:isp0:0:0:0): lost device (da0:isp0:0:0:0): removing device entry # grep da1 /var/run/dmesg.boot (da1:isp1:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (da1:isp1:0:0:0): SCSI sense: ILLEGAL REQUEST asc:25,0 (Logical unit not supported) (da1:isp1:0:0:0): fatal error, failed to attach to device (da1:isp1:0:0:0): lost device (da1:isp1:0:0:0): removing device entry Can anyone guide me what may be the problem. I use FreeBSD 8.1 amd64 Regards. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 17:18:51 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0A7E106566B for ; Wed, 28 Dec 2011 17:18:51 +0000 (UTC) (envelope-from jedwards@bsdftw.org) Received: from mail.bsdftw.org (unknown [IPv6:2001:470:c630:3000::]) by mx1.freebsd.org (Postfix) with ESMTP id 7F95F8FC0C for ; Wed, 28 Dec 2011 17:18:51 +0000 (UTC) Received: from webmail.bsdftw.org (websrv [IPv6:2001:470:c630:1000::]) by mail.bsdftw.org (Postfix) with ESMTP id 1E94C55DE for ; Wed, 28 Dec 2011 12:18:48 -0500 (EST) Received: from 75.149.97.29 (SquirrelMail authenticated user jedwards) by webmail.bsdftw.org with HTTP; Wed, 28 Dec 2011 12:18:48 -0500 Message-ID: <80adac46ceb89a5ac93109a46115f7b6.squirrel@webmail.bsdftw.org> Date: Wed, 28 Dec 2011 12:18:48 -0500 From: "James Edwards" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: ZFS upgrade path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 17:18:51 -0000 Hello all, I currently have a FreeBSD server colocated and it isn't always physically accessible. I was trying to develop an upgrade path for my server, in hopes to mainly save a trip to the colo center. There are four disks, all in a single storage pool - tank. Here is the naming convention I planned on following after 9.0 is released: tank/9.0 tank/9.0/usr tank/9.0/var tank/9.0/tmp and so on This way, in theory at least, when 9.1 (or 10.0) is released, I can simply create tank/9.1 and the associated data sets, make my changes to /etc and /boot, change the zfs bootfs, reboot, and finally upgrade the ZFS pools. Is this feasible to do, or are there any caveats/gotchas I'm overlooking? Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 17:52:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F049106564A for ; Wed, 28 Dec 2011 17:52:25 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id C7C898FC16 for ; Wed, 28 Dec 2011 17:52:24 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22942899 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 00:52:22 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBSHqLhL027339 for ; Thu, 29 Dec 2011 00:52:22 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBSHqLch027338 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 00:52:21 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 00:52:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111228175221.GA27286@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EFB1B4F.2090504@my.gd> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 17:52:25 -0000 Damien Fleuriot wrote: > > > >> > >> If you're trying to build up a cache to improve performance and response > >> time, here's your scenario: > >> > >> DNS C, forward to DNS A,B for all queries > >> DNS D, forward to DNS B,A for all queries > >> > >> Your cache will start building up and only responses that are not cached > >> will be taken from your NS A and B servers. > > > > Sorry, I fail to see how this is any better than two independent DNS > > servers. Perhaps a variant like > > > > DNS C, forward to DNS A > > DNS D, forward to DNS A > > > > would be close to the goal of cache consolidation. > > > > DNS A suffers an outage ; you're fucked, to put it bluntly. Nope. DNS C and D will do the queries on their own. I don't suggest a "forward only" setup. I just want the servers to share the cache. [dd] > > On a side note, have you considered unbound ? > > It may be better suited to your needs and scale. I would read a comparison of BIND and Unbound with great interest. Do you perchance have a link? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 17:55:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30606106566B for ; Wed, 28 Dec 2011 17:55:15 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 727CB8FC12 for ; Wed, 28 Dec 2011 17:55:13 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22942918 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 00:55:12 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBSHtCZ6027376 for ; Thu, 29 Dec 2011 00:55:12 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBSHtCWY027375 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 00:55:12 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 00:55:12 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111228175512.GB27286@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 17:55:15 -0000 Peter Andreev wrote: [dd] > Victor, we researched this topic and learned that response time highly > depends on distance between user and resolver, while cache influence > on this value is lesser. > So I advice you to keep all as is. Be it so. Thank you. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 20:32:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B890B106566C for ; Wed, 28 Dec 2011 20:32:35 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward2.mail.yandex.net (forward2.mail.yandex.net [IPv6:2a02:6b8:0:602::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3124A8FC13 for ; Wed, 28 Dec 2011 20:32:35 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward2.mail.yandex.net (Yandex) with ESMTP id BCBAD12A3068; Thu, 29 Dec 2011 00:32:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325104352; bh=WDgz9a1hbFxH1gpmAowMG7+mCyDOENsG1obfRL9A/gQ=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ksrmfztSkXQ/S9pkNoe163zeVYMaIa+k7emgMjPaiidFhUnWludVh0SwdrQbm0UTc wAejxnCufZ2l+AqldHith5naRouiUA0xCGlHGfxsTRDgRStdf1QeG08g99hD1OHWL7 IZOUaDJbmZgSEVahPvca1a2AbHPIYHQz9goq1lLE= Received: from smtp2.mail.yandex.net (localhost [127.0.0.1]) by smtp2.mail.yandex.net (Yandex) with ESMTP id 97FD8E2034A; Thu, 29 Dec 2011 00:32:32 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325104352; bh=WDgz9a1hbFxH1gpmAowMG7+mCyDOENsG1obfRL9A/gQ=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ksrmfztSkXQ/S9pkNoe163zeVYMaIa+k7emgMjPaiidFhUnWludVh0SwdrQbm0UTc wAejxnCufZ2l+AqldHith5naRouiUA0xCGlHGfxsTRDgRStdf1QeG08g99hD1OHWL7 IZOUaDJbmZgSEVahPvca1a2AbHPIYHQz9goq1lLE= Received: from unknown (unknown [77.93.52.20]) by smtp2.mail.yandex.net (nwsmtp/Yandex) with ESMTP id WVGivnpi-WWGK7JST; Thu, 29 Dec 2011 00:32:32 +0400 X-Yandex-Spam: 1 Date: Wed, 28 Dec 2011 22:32:27 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1245989976.20111228223227@yandex.ru> To: Robert Bonomi In-Reply-To: <201112262154.pBQLsxJt038471@mail.r-bonomi.com> References: <9110154891.20111226214424@yandex.ru> <201112262154.pBQLsxJt038471@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[8]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 20:32:35 -0000 RB> [drivelectomy -- 200+ lines] RB> You've been told the following, *repeatedly*: RB> Your hardware is not capable of keeping up with the level of network traffic RB> it is being subjected to. RB> Reaaltek cards and the 're' device driver are a *BAD*CHOICE* for systems with RB> heavy network traffic. They're merely 'medium lousy' on a lightly-loaded RB> system, but you don't notice the problems under light loads. RB> You have two choices: RB> 1) "live with" the crappy performance RB> 2) get a better quality network card. without only one ipfw fw rule: queue 54 config pipe 54 queue 50 mask dst-ip 0xffffffff gred 0.002/10/30/0.1 275 queue 54 all from any not 80,110 to any in recv re0 works more! better: http://piccy.info/view3/2418620/59aa576c1006bbb046a13554d8468a6c/ with igb cards I get problems too! it put pptp traffice only to one queue0 instead to spread to all: queue0 queue1 queue2 queue3 =`((((( -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 23:48:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9633106566B for ; Wed, 28 Dec 2011 23:48:56 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 535C78FC08 for ; Wed, 28 Dec 2011 23:48:55 +0000 (UTC) Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111228234850.MBCV3177.eastrmfepo102.cox.net@eastrmimpo210.cox.net>; Wed, 28 Dec 2011 18:48:50 -0500 Received: from serene.no-ip.org ([98.164.81.195]) by eastrmimpo210.cox.net with bizsmtp id Enoo1i00c4Cqs6y02nopKt; Wed, 28 Dec 2011 18:48:49 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020201.4EFBAAE2.0015,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=BGJq+/N/CWNQOYfWmJoFYPveaJQrJUd9XhwdEp+IOvE= c=1 sm=1 a=vJ9I8_j3rJcA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=DWqX+Kn1d6thaIR2xP2zPw==:17 a=NRF7K_vUAAAA:8 a=vnREMb7VAAAA:8 a=aSRvjw2BAAAA:8 a=kviXuzpPAAAA:8 a=Ui8KppLvQ_NNl7uiyiYA:9 a=CjuIK1q_8ugA:10 a=NQ6LF8Y-154A:10 a=MFc6XYY7ANoA:10 a=4vB-4DCPJfMA:10 a=DWqX+Kn1d6thaIR2xP2zPw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pBSNme8j098920; Wed, 28 Dec 2011 17:48:47 -0600 (CST) (envelope-from conrads@cox.net) Date: Wed, 28 Dec 2011 17:48:35 -0600 From: "Conrad J. Sabatier" To: "Julian H. Stacey" Message-ID: <20111228174835.5ae9e640@cox.net> In-Reply-To: <201112280433.pBS4WgNY052026@fire.js.berklix.net> References: <4EF9EB0E.809@my.gd> <201112280433.pBS4WgNY052026@fire.js.berklix.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Damien Fleuriot , freebsd-questions@freebsd.org Subject: Re: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 23:48:56 -0000 On Wed, 28 Dec 2011 05:32:42 +0100 "Julian H. Stacey" wrote: > Damien Fleuriot wrote: > > On 12/27/11 4:45 PM, Julian H. Stacey wrote: > > > Hi questions@ > > [snip] > > > > > Externaly > > > { > > > man gnash says what to do from CLI, > > > But I'm not clear what the URL is, of the flash to save > > > to file } > > > > In reply to knowing the flash's URL, I think the download helper > > plugin for FF could be of use to you. > > Does plugin = remote compiled binary ? > If so I'd rather not thanks (security). > > With > /usr/ports/graphics/gnash > I can now run eg > gnash /xp/WINDOWS/Help/Tours/mmTour/segment5.swf > & firefox3 will play the top video on youtube.com. > but firefox3 still refuses on > http://www.bbc.co.uk/news/technology-16252407 > Maybe different levels of flash. > > Cheers, > Julian For starters, I'm wondering why you would prefer gnash over the official flash player. But anyway, you might try symlinking /path/to/{gnash} to /usr/local/lib/browser_plugins/{same_name}. The gnash player will not play all flash videos properly (I know, I've tried it before). You'd do *much* better to install www/linux-f10-flashplugin11 and www/nspluginwrapper. This does require linux emulation to be enabled, of course, but it's well worth it. I play flash videos all the time now in firefox and chrome, and it works splendidly. Also, on YouTube, if you enroll in the HTML5 Beta test, many videos on YouTube will play without even using the flash player. See http://www.youtube.com/html5 HTH -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 23:50:14 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9439106566C for ; Wed, 28 Dec 2011 23:50:14 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3998FC21 for ; Wed, 28 Dec 2011 23:50:14 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id B42B0E80F58; Wed, 28 Dec 2011 15:50:13 -0800 (PST) Date: Wed, 28 Dec 2011 15:50:13 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20111228235010.GA28763@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: how to tell that a file exists and is not 0-len? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 23:50:14 -0000 guys, access(filenamewithpath, F_OK) returned true as Zero if i have access to it. what do i use in C to tell me that a file is not empty? fstat? or is there something more common? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 23:57:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3C35106566C for ; Wed, 28 Dec 2011 23:57:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 1EB1A8FC1B for ; Wed, 28 Dec 2011 23:57:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBSNvNVx068408 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 28 Dec 2011 23:57:23 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBSNvNVx068408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325116643; bh=AXYfM7FaB91uOdMhCfsnbdW4PuYyujUriP1wU2t88+o=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=pHJV9N8KVECg4n85z1qBKreWbjsgK2GUxGm/WcNM8oe9Yi/9RiEh0PgxuUXkvZfn0 F6UBwpbwUg76AIgv4qtUHqZbGYP4EwlWhUdU+dwWMzAAbPjFNcO76xP8/G2e69C8UR AzZc/Jn4gX1HEtY2iq41OGSoovsewzFe4P8kXJDM= Message-ID: <4EFBACE2.3000206@infracaninophile.co.uk> Date: Wed, 28 Dec 2011 23:57:22 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111228235010.GA28763@thought.org> In-Reply-To: <20111228235010.GA28763@thought.org> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCDC091BD3F5FEDB90ED17361" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: how to tell that a file exists and is not 0-len? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 23:57:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCDC091BD3F5FEDB90ED17361 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 28/12/2011 23:50, Gary Kline wrote: > access(filenamewithpath, F_OK) returned true as Zero if i have > access to it. what do i use in C to tell me that a file is not =20 > empty? fstat? or is there something more common? stat(2) which uses the file path -- unless you have an open file descriptor on the file, in which case use fstat(2). Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigCDC091BD3F5FEDB90ED17361 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk77rOMACgkQ8Mjk52CukIzxeQCcC7cGu8ExmEKvFOC9NDP+I+Dm EFUAn2/Dwgd8xm5xPxa/HYSHzeN7T+np =MR71 -----END PGP SIGNATURE----- --------------enigCDC091BD3F5FEDB90ED17361-- From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 23:59:26 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1CB8106567C for ; Wed, 28 Dec 2011 23:59:26 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7AC008FC08 for ; Wed, 28 Dec 2011 23:59:26 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa07 [127.0.0.1]) by ltcfislmsgpa07.fnfis.com (8.14.4/8.14.4) with SMTP id pBSNQvKI014611; Wed, 28 Dec 2011 17:59:25 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa07.fnfis.com with ESMTP id 120cr4g2ks-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 28 Dec 2011 17:59:25 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 28 Dec 2011 17:59:24 -0600 From: Devin Teske To: "'Gary Kline'" , "'FreeBSD Mailing List'" References: <20111228235010.GA28763@thought.org> In-Reply-To: <20111228235010.GA28763@thought.org> Date: Wed, 28 Dec 2011 15:59:33 -0800 Message-ID: <032401ccc5bc$bf645950$3e2d0bf0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGT3xT8feIqbiSk3I8fOSI2y4xLA5ZjuYlw Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-28_08:2011-12-28, 2011-12-28, 1970-01-01 signatures=0 Cc: Subject: RE: how to tell that a file exists and is not 0-len? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 23:59:26 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Gary Kline > Sent: Wednesday, December 28, 2011 3:50 PM > To: FreeBSD Mailing List > Subject: how to tell that a file exists and is not 0-len? > > > > guys, > > access(filenamewithpath, F_OK) returned true as Zero if i have access to it. what > do i use in C to tell me that a file is not empty? This should do: #include #include ... struct stat sb; off_t size; if (!lstat(pathbuf, &sb)) size = sb.st_size; ... -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 02:25:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30977106564A for ; Thu, 29 Dec 2011 02:25:42 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 6F07C8FC15 for ; Thu, 29 Dec 2011 02:25:40 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22946598 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 09:25:39 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBT2PcZA038600 for ; Thu, 29 Dec 2011 09:25:39 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBT2PcZI038599 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 09:25:38 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 09:25:38 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111229022538.GA38514@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111228175512.GB27286@admin.sibptus.tomsk.ru> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 02:25:42 -0000 Victor Sudakov wrote: > > > Victor, we researched this topic and learned that response time highly > > depends on distance between user and resolver, while cache influence > > on this value is lesser. > > So I advice you to keep all as is. > > Be it so. Thank you. And the reason for the whole thread. One of the customers told me that 8.8.8.8 is faster than our own DNS servers which are located on the same 100 MBit/s LAN with them. I was shocked but it seems true, at least for the answers which are not yet cached. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 03:09:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7E6C106566B for ; Thu, 29 Dec 2011 03:09:39 +0000 (UTC) (envelope-from kevin.wilcox@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 96D968FC12 for ; Thu, 29 Dec 2011 03:09:39 +0000 (UTC) Received: by dakp5 with SMTP id p5so12039162dak.13 for ; Wed, 28 Dec 2011 19:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EjDeR3yRkz5aoEwqqgMGukB90T9ltOhb7m1uQWEJJ2E=; b=eowZqjm6NYXY8UGMzHYCCPebjTuRujMMKeStSxHWoUrpA7BN7FrUn1W0yB3hI2seZM H26UBW9o5XVgI8JjVaql6dx4v0u1iJin4x9/Ys+SIa4UQQ85J6GhDxBBkDPrz+qqU2m6 FnhSYpd/yodxJ+RRlR2pRzX/Wr8wKu0PJ4Kjg= MIME-Version: 1.0 Received: by 10.68.191.8 with SMTP id gu8mr80675115pbc.36.1325126750850; Wed, 28 Dec 2011 18:45:50 -0800 (PST) Received: by 10.68.2.104 with HTTP; Wed, 28 Dec 2011 18:45:50 -0800 (PST) Received: by 10.68.2.104 with HTTP; Wed, 28 Dec 2011 18:45:50 -0800 (PST) In-Reply-To: <20111229022538.GA38514@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> Date: Wed, 28 Dec 2011 21:45:50 -0500 Message-ID: From: Kevin Wilcox To: Victor Sudakov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 03:09:40 -0000 On Dec 28, 2011 9:26 PM, "Victor Sudakov" wrote: > And the reason for the whole thread. One of the customers told me that > 8.8.8.8 is faster than our own DNS servers which are located on the > same 100 MBit/s LAN with them. I was shocked but it seems true, at > least for the answers which are not yet cached. That actually makes perfect sense. That's one of the Google DNS IP addresses and they see a LOT of traffic, they're probably going to have the majority of the domains your clients want to look up (assuming your clients are like mine and most of their lookups are general web traffic) already in cache - your servers will need to go through the whole lookup process. Still, after a day or two of use, I would think your servers would have the bulk of what they needed in their caches. You may want to enable logging to see which domains are being looked up (if it won't break any applicable laws or policies) and do some spot-checks to see why they may not be in your cache. kmw From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 03:40:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB51D1065672; Thu, 29 Dec 2011 03:40:20 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 359478FC0C; Thu, 29 Dec 2011 03:40:19 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBEC93.dip.t-dialin.net [217.251.236.147]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id pBT3eDAN053408; Thu, 29 Dec 2011 03:40:14 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id pBT3e0bq071832; Thu, 29 Dec 2011 04:40:00 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id pBT3dfbA060217; Thu, 29 Dec 2011 04:39:59 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201112290339.pBT3dfbA060217@fire.js.berklix.net> To: "Conrad J. Sabatier" From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 28 Dec 2011 17:48:35 CST." <20111228174835.5ae9e640@cox.net> Date: Thu, 29 Dec 2011 04:39:40 +0100 Sender: jhs@berklix.com Cc: "Gary Jennejohn \(FreeBSD\)" , Damien Fleuriot , freebsd-questions@freebsd.org Subject: Re: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 03:40:20 -0000 Hi, "Conrad J. Sabatier" wrote: > On Wed, 28 Dec 2011 05:32:42 +0100 > "Julian H. Stacey" wrote: > > > Damien Fleuriot wrote: > > > On 12/27/11 4:45 PM, Julian H. Stacey wrote: > > > > Hi questions@ > > > [snip] > > > > > > > Externaly > > > > { > > > > man gnash says what to do from CLI, > > > > But I'm not clear what the URL is, of the flash to save > > > > to file } > > > > > > In reply to knowing the flash's URL, I think the download helper > > > plugin for FF could be of use to you. > > > > Does plugin = remote compiled binary ? > > If so I'd rather not thanks (security). > > > > With > > /usr/ports/graphics/gnash > > I can now run eg > > gnash /xp/WINDOWS/Help/Tours/mmTour/segment5.swf > > & firefox3 will play the top video on youtube.com. > > but firefox3 still refuses on > > http://www.bbc.co.uk/news/technology-16252407 > > Maybe different levels of flash. > > > > Cheers, > > Julian > > For starters, I'm wondering why you would prefer gnash over the > official flash player. Source code, free to inspect or enhance/search whatever. No need to trust proprietary binaries. > But anyway, you might try symlinking /path/to/{gnash} > to /usr/local/lib/browser_plugins/{same_name}. gnash already works on youtube.com, but not on bbc.com ls -l `which gnash` -r-xr-xr-x 1 root wheel 1814 Dec 27 15:54 /usr/local/bin/gnash* cd /usr/local/lib/browser_plugins/gnash ; ls -la drwxr-xr-x 2 root wheel 512 Dec 27 15:54 ./ drwxr-xr-x 4 root wheel 512 Dec 27 13:21 ../ -rwxr-xr-x 1 root wheel 350968 Dec 27 15:54 libgnashplugin.so* > The gnash player will not play all flash videos properly (I know, I've > tried it before). I supposes version compatabilitty is a constant moving target. It's what I've been wondering, whether http://www.bbc.co.uk/news/technology-16252407 used a newer flash format than youtube.com. (But I could not find a URL on BBC to download to inspect) Gary J cc'd told me of existence of /usr/ports/www/youtube_dl (as flash if downloaded then playable with vlc & mplayer & inspectable with 'file' etc). I suppose ideally I need a bbc_dl port :-) Maybe the 3 www/*_dl will give me clues. > You'd do *much* better to install > www/linux-f10-flashplugin11 and www/nspluginwrapper. I've been avoiding non localy compiled binaries till now. however just installed. > This does require > linux emulation to be enabled, of course, Got emulation installed thanks. > but it's well worth it. I > play flash videos all the time now in firefox and chrome, and it works > splendidly. Hmm. Tempting. > Also, on YouTube, if you enroll in the HTML5 Beta test, many videos on > YouTube will play without even using the flash player. I wasn't particularly targeting youtube, I never browsed it till now, though they do have some FreeBSD talks to watch. I was just looking for a source solution to random periodic flash references I get in mail, & happened to notice gnash. > See > http://www.youtube.com/html5 That lists firefox 4, not in ports-cur/ Thanks for the info :-). > HTH > -- > Conrad J. Sabatier > conrads@cox.net Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, & indent with "> ". Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. EU tax to kill London Vetoed http://berklix.com/~jhs/blog/2011_12_11 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 04:20:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAEAB106564A for ; Thu, 29 Dec 2011 04:20:23 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 593068FC14 for ; Thu, 29 Dec 2011 04:20:22 +0000 (UTC) Received: from eastrmimpo209.cox.net ([68.230.241.224]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111229042017.VQFE3177.eastrmfepo102.cox.net@eastrmimpo209.cox.net>; Wed, 28 Dec 2011 23:20:17 -0500 Received: from serene.no-ip.org ([98.164.81.195]) by eastrmimpo209.cox.net with bizsmtp id EsLF1i00T4Cqs6y02sLG5P; Wed, 28 Dec 2011 23:20:17 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020B.4EFBEA81.0032,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=xZ0IfZp1qocGLlQbKHUgH7d1CbqFTnA6tCdoZ3AJUC0= c=1 sm=1 a=vJ9I8_j3rJcA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=DWqX+Kn1d6thaIR2xP2zPw==:17 a=NRF7K_vUAAAA:8 a=vnREMb7VAAAA:8 a=aSRvjw2BAAAA:8 a=rPs4IpjIAAAA:8 a=kviXuzpPAAAA:8 a=ewUZBgDMV3Hxf0DqeTYA:9 a=SL9mOlx0k_DabxZffbsA:7 a=CjuIK1q_8ugA:10 a=NQ6LF8Y-154A:10 a=yFCjLnbpjokA:10 a=MFc6XYY7ANoA:10 a=4vB-4DCPJfMA:10 a=JsTC_R4bJl4kW6lv:21 a=m21PzdVPQ33f8Iex:21 a=DWqX+Kn1d6thaIR2xP2zPw==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pBT4KEmU036831; Wed, 28 Dec 2011 22:20:15 -0600 (CST) (envelope-from conrads@cox.net) Date: Wed, 28 Dec 2011 22:20:09 -0600 From: "Conrad J. Sabatier" To: "Julian H. Stacey" Message-ID: <20111228222009.555ef056@cox.net> In-Reply-To: <201112290339.pBT3dfbA060217@fire.js.berklix.net> References: <20111228174835.5ae9e640@cox.net> <201112290339.pBT3dfbA060217@fire.js.berklix.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Gary Jennejohn \(FreeBSD\)" , Damien Fleuriot , freebsd-questions@freebsd.org Subject: Re: hooking /usr/ports/graphics/gnash to /usr/ports/www/firefox ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 04:20:23 -0000 On Thu, 29 Dec 2011 04:39:40 +0100 "Julian H. Stacey" wrote: > Hi, > "Conrad J. Sabatier" wrote: > > On Wed, 28 Dec 2011 05:32:42 +0100 > > "Julian H. Stacey" wrote: > > > > > Damien Fleuriot wrote: > > > > On 12/27/11 4:45 PM, Julian H. Stacey wrote: > > > > > Hi questions@ > > > > [snip] > > > > > > > > > Externaly > > > > > { > > > > > man gnash says what to do from CLI, > > > > > But I'm not clear what the URL is, of the flash to > > > > > save to file } > > > > > > > > In reply to knowing the flash's URL, I think the download helper > > > > plugin for FF could be of use to you. > > > > > > Does plugin = remote compiled binary ? > > > If so I'd rather not thanks (security). > > > > > > With > > > /usr/ports/graphics/gnash > > > I can now run eg > > > gnash /xp/WINDOWS/Help/Tours/mmTour/segment5.swf > > > & firefox3 will play the top video on youtube.com. > > > but firefox3 still refuses on > > > http://www.bbc.co.uk/news/technology-16252407 > > > Maybe different levels of flash. > > > > > > Cheers, > > > Julian > > > > For starters, I'm wondering why you would prefer gnash over the > > official flash player. > > Source code, free to inspect or enhance/search whatever. > No need to trust proprietary binaries. In general, I'm of the same mind as you, but this is one area where I do make an exception. I just want something that *works*. :-) > > But anyway, you might try symlinking /path/to/{gnash} > > to /usr/local/lib/browser_plugins/{same_name}. > > gnash already works on youtube.com, but not on bbc.com Oh, I see. Misunderstood before. > ls -l `which gnash` > -r-xr-xr-x 1 root wheel 1814 Dec 27 15:54 /usr/local/bin/gnash* > > cd /usr/local/lib/browser_plugins/gnash ; ls -la > drwxr-xr-x 2 root wheel 512 Dec 27 15:54 ./ > drwxr-xr-x 4 root wheel 512 Dec 27 13:21 ../ > -rwxr-xr-x 1 root wheel 350968 Dec 27 15:54 libgnashplugin.so* > > > > The gnash player will not play all flash videos properly (I know, > > I've tried it before). > > I supposes version compatabilitty is a constant moving target. > It's what I've been wondering, whether > http://www.bbc.co.uk/news/technology-16252407 used a newer flash > format than youtube.com. (But I could not find a URL on BBC to > download to inspect) Doesn't right-clicking in firefox give you a "Page info" option? > Gary J cc'd told me of existence of /usr/ports/www/youtube_dl > (as flash if downloaded then playable with vlc & mplayer & inspectable > with 'file' etc). I suppose ideally I need a bbc_dl port :-) > Maybe the 3 www/*_dl will give me clues. You may want to look at a couple of firefox extensions for that: DownloadHelper and/or Down Them All! The former will offer to download any downloadable links it can find on a page. > > You'd do *much* better to install > > www/linux-f10-flashplugin11 and www/nspluginwrapper. > > I've been avoiding non localy compiled binaries till now. > however just installed. > > > > This does require > > linux emulation to be enabled, of course, > > Got emulation installed thanks. > > > > but it's well worth it. I > > play flash videos all the time now in firefox and chrome, and it > > works splendidly. > > Hmm. Tempting. Yes, I used to struggle with gnash, and always ran into pages where it simply would not work properly. I was absolutely delighted when I finally tried the official flash player with nspluginwrapper. Works great! > > Also, on YouTube, if you enroll in the HTML5 Beta test, many videos > > on YouTube will play without even using the flash player. > > I wasn't particularly targeting youtube, I never browsed it > till now, though they do have some FreeBSD talks to watch. > I was just looking for a source solution to random periodic > flash references I get in mail, & happened to notice gnash. Well, again. if you want a solution that will always work, you need to trade in gnash for the official flash player. Gnash looked quite promising back when I used to use it, but it never seemed to be able to catch up with the newer flash versions as they came into use. > > See > > http://www.youtube.com/html5 > > That lists firefox 4, not in ports-cur/ Your ports tree must be quite stale, or you're looking in the wrong place if you're using packages. The version in ports was recently updated to 9.0.1. Why are you still running such an old version of firefox, anyway? > Thanks for the info :-). Welcome. :-) -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 05:56:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 592631065670 for ; Thu, 29 Dec 2011 05:56:26 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6F08FC0A for ; Thu, 29 Dec 2011 05:56:25 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id pBT4wK2U004302 for ; Wed, 28 Dec 2011 22:58:20 -0600 (CST) Date: Wed, 28 Dec 2011 22:58:20 -0600 (CST) From: Scott Bennett Message-Id: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: "portmaster --list-origins" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 05:56:26 -0000 [N.B. Please reply directly or Cc: me in any replies. I read -questions in the digest form, so there can be a delay of a day or more before I see replies posted only to the list. Thanks.] I was in the process of preparing to upgrade from 7.4 to 8.2 (at last!), when I encountered a possible problem. Following the portmaster man page's suggestion to use portmaster's --list-origins option to produce a list of installed ports in the form "category-dir/port-name-dir", I got a list that was much shorter than expected. I use windowmaker as a window manager and have quite a few windowmaker-related ports installed. Only one of those related ports appeared in the portmaster output, and windowmaker itself was absent, so I looked at the numbers next. Script started on Wed Dec 28 22:39:21 2011 [hellas] 101 % nice +20 portmaster --list-origins > /tmp/ports.list [hellas] 102 % wc -l /tmp/ports.list 782 /tmp/ports.list [hellas] 103 % ls /var/db/pkg|wc -l 2035 [hellas] 104 % exit exit Script done on Wed Dec 28 22:41:27 2011 As you can see above, 1253 ports, or ~62% of those installed, are missing from the portmaster output, whereas I had expected that *all* installed ports would be listed. Did I misunderstand something about the --list-origins option? Or have I run into a bug? Any suggestions of how to proceed would be welcome. Thanks! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 07:33:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BB5D106564A for ; Thu, 29 Dec 2011 07:33:19 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D0AC68FC13 for ; Thu, 29 Dec 2011 07:33:18 +0000 (UTC) Received: by werb13 with SMTP id b13so11540926wer.13 for ; Wed, 28 Dec 2011 23:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=wnJFGph2zTa1hj4/wAghFe6AcR+sZ12CfLIcD52YZe4=; b=VlQTf3pftaMoBE4VYHnTRyHMLzptYKyMXTSz2fhFKd+wDRA35RC1AevOT6UzR/Yd8P natKsR2H4tEOPXFrqNFtANL6J0s+/ycyNxmxxovLfNbQi4mI5ks/zF4YRNK6M0ndWmC4 vHhllXey2Uxj5JpZbDTVYWE/6dTCnV7vUuKEA= MIME-Version: 1.0 Received: by 10.216.135.159 with SMTP id u31mr17641981wei.2.1325143997775; Wed, 28 Dec 2011 23:33:17 -0800 (PST) Received: by 10.216.15.77 with HTTP; Wed, 28 Dec 2011 23:33:17 -0800 (PST) In-Reply-To: <20111229022538.GA38514@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> Date: Thu, 29 Dec 2011 10:33:17 +0300 Message-ID: From: Peter Andreev To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 07:33:19 -0000 2011/12/29 Victor Sudakov : > Victor Sudakov wrote: >> >> > Victor, we researched this topic and learned that response time highly >> > depends on distance between user and resolver, while cache influence >> > on this value is lesser. >> > So I advice you to keep all as is. >> >> Be it so. Thank you. > > And the reason for the whole thread. One of the customers told me that > 8.8.8.8 is faster than our own DNS servers which are located on the > same 100 MBit/s LAN with them. I was shocked but it seems true, at > least for the answers which are not yet cached. I don't know what software google uses on its resolvers, but I suppose something with shared or synchronizing cache. May be they also make preventive lookups on popular domains to fill this cache. And the reason why 8.8.8.8 seems faster - it answered from cache while your resolver made full lookup chain. > > -- > Victor Sudakov, =A0VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 -- AP From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 07:38:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAA0A106566C for ; Thu, 29 Dec 2011 07:38:20 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 27D6C8FC13 for ; Thu, 29 Dec 2011 07:38:19 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22951230 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 14:38:18 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBT7cHXC044360 for ; Thu, 29 Dec 2011 14:38:18 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBT7cHvJ044359 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 14:38:17 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 14:38:17 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111229073817.GB44026@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 07:38:20 -0000 Peter Andreev wrote: > >> > >> > Victor, we researched this topic and learned that response time highly > >> > depends on distance between user and resolver, while cache influence > >> > on this value is lesser. > >> > So I advice you to keep all as is. > >> > >> Be it so. Thank you. > > > > And the reason for the whole thread. One of the customers told me that > > 8.8.8.8 is faster than our own DNS servers which are located on the > > same 100 MBit/s LAN with them. I was shocked but it seems true, at > > least for the answers which are not yet cached. > > I don't know what software google uses on its resolvers, but I suppose > something with shared or synchronizing cache. May be they also make > preventive lookups on popular domains to fill this cache. And the > reason why 8.8.8.8 seems faster - it answered from cache while your > resolver made full lookup chain. Duh! That is why I started thinking about some cache synchronizing technique for my resolvers. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:13:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77AD1106564A for ; Thu, 29 Dec 2011 08:13:09 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id A73038FC15 for ; Thu, 29 Dec 2011 08:13:08 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22952074; Thu, 29 Dec 2011 15:13:06 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBT8D5P6045171; Thu, 29 Dec 2011 15:13:06 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBT8D5g0045170; Thu, 29 Dec 2011 15:13:05 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 15:13:05 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111229081305.GA45000@admin.sibptus.tomsk.ru> References: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Scott Bennett Subject: Re: "portmaster --list-origins" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 08:13:09 -0000 Scott Bennett wrote: > have quite a few windowmaker-related ports installed. Only one of those > related ports appeared in the portmaster output, and windowmaker itself was > absent, so I looked at the numbers next. I think --list-origins lists only leaf packages and not dependencies. It is strange however that windowmaker itself was absent. What does 'pkg_info -xrR windowmaker' show? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:17:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7ECA1065670 for ; Thu, 29 Dec 2011 08:17:55 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway09.websitewelcome.com (gateway09.websitewelcome.com [67.18.15.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9913C8FC12 for ; Thu, 29 Dec 2011 08:17:55 +0000 (UTC) Received: by gateway09.websitewelcome.com (Postfix, from userid 507) id 77B1C97B5A08F; Thu, 29 Dec 2011 01:48:19 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway09.websitewelcome.com (Postfix) with ESMTP id 69F6997B5A06B for ; Thu, 29 Dec 2011 01:48:19 -0600 (CST) Received: from [127.0.0.1] (port=43139 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgAip-00006M-DD; Thu, 29 Dec 2011 01:48:19 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Thu, 29 Dec 2011 01:48:19 -0600 Message-ID: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 01:48:19 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:43139 X-Source-Auth: james@colannino.org X-Email-Count: 1 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: Static IP on a 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: Thu, 29 Dec 2011 08:17:55 -0000 Hey everyone. I've successfully setup a network bridge in /etc/rc.conf. However, I am only able to access the network if I dhcp on bridge0 *after* the bridge is configured. If I try to set a static IP on the bridge, things don't work. Here's my /etc/rc.conf: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0" ifconfig_re0="up" ifconfig_tap0="up" ifconfig_tap1="up" defaultrouter="192.168.1.1" bridge0 is configured with the IP 192.168.1.6, but I can't ping out. However, once I run dhclient in bridge0, things magically work. Does anyone know why the above won't work? Thanks! James From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:25:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2B9106564A for ; Thu, 29 Dec 2011 08:25:58 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 12A628FC08 for ; Thu, 29 Dec 2011 08:25:57 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBT8Pmr3077974 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 29 Dec 2011 08:25:49 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBT8Pmr3077974 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325147149; bh=hmqPlDqrrY32mSG8EeXbdWDS9mGimJ7wGppAF+CE8+8=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=iRBBo87R6qZ+dGCPGZkBRbdHelV48LXgShbLcKw0eFjnwfhyP0KwJ+gLOqVWEt1Ok jxdHgXUPqyxXXfqU905d3fGaBA+Zpq8A+7eMHCSL7l0DK0EK7kOw5vZ71Pz2Ra2rYZ IDfwLNnetcsHBBbSkG7b0/3U2zVLDCq6bMFJrz6Y= Message-ID: <4EFC2405.4080103@infracaninophile.co.uk> Date: Thu, 29 Dec 2011 08:25:41 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> In-Reply-To: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5256F683F480442773742BB1" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Static IP on a 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: Thu, 29 Dec 2011 08:25:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5256F683F480442773742BB1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/12/2011 07:48, james@colannino.org wrote: > bridge0 is configured with the IP 192.168.1.6, but I can't ping out.=20 > However, once I run dhclient in bridge0, things magically work. Does > anyone know why the above won't work? Thanks! What's the error message you see when you fail to ping out? What does the routing table (netstat -r) look like before and after DHCP?= What does your arp table look like (arp -a) before and after DHCP? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig5256F683F480442773742BB1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk78JAwACgkQ8Mjk52CukIytewCZAbPgtYl2rI6sN0pI0Z9HYAY/ dKMAnjviTShZN9cRtdTrOchpOuJoNNy3 =WVrn -----END PGP SIGNATURE----- --------------enig5256F683F480442773742BB1-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:26:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A420106564A for ; Thu, 29 Dec 2011 08:26:19 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3B748FC18 for ; Thu, 29 Dec 2011 08:26:18 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so11760212wib.13 for ; Thu, 29 Dec 2011 00:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8vDdga8ToOkrFkjugvFMOqHUfv4dkmPt5Wj7GC7HYso=; b=jsRWLx4RO5s+V8oEg0et2KDAVnDqzUivjlNokInwh2WX6O5Vduf2fhCMrf0QA10xsA rc9hJr6UFJnUyGHwnl/Asar0LLqKUYYaQH/oj992B4ChrT77dT9HisTOreZ4vP51VraL nvoL2oJ8U1NdbT4Nq7jEYfq0M/PDDeupKdrSY= MIME-Version: 1.0 Received: by 10.180.78.101 with SMTP id a5mr19899430wix.19.1325147177559; Thu, 29 Dec 2011 00:26:17 -0800 (PST) Received: by 10.216.15.77 with HTTP; Thu, 29 Dec 2011 00:26:17 -0800 (PST) In-Reply-To: <20111229073817.GB44026@admin.sibptus.tomsk.ru> References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> <20111229073817.GB44026@admin.sibptus.tomsk.ru> Date: Thu, 29 Dec 2011 11:26:17 +0300 Message-ID: From: Peter Andreev To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 08:26:19 -0000 2011/12/29 Victor Sudakov : > Peter Andreev wrote: >> >> >> >> > Victor, we researched this topic and learned that response time hig= hly >> >> > depends on distance between user and resolver, while cache influenc= e >> >> > on this value is lesser. >> >> > So I advice you to keep all as is. >> >> >> >> Be it so. Thank you. >> > >> > And the reason for the whole thread. One of the customers told me that >> > 8.8.8.8 is faster than our own DNS servers which are located on the >> > same 100 MBit/s LAN with them. I was shocked but it seems true, at >> > least for the answers which are not yet cached. >> >> I don't know what software google uses on its resolvers, but I suppose >> something with shared or synchronizing cache. May be they also make >> preventive lookups on popular domains to fill this cache. And the >> reason why 8.8.8.8 seems faster - it answered from cache while your >> resolver made full lookup chain. > > Duh! That is why I started thinking about some cache synchronizing > technique for my resolvers. Preventive lookups can be made via self-written scripts. AFAIK there is no free open source implementations providing cache synchronization between different resolvers. > > -- > Victor Sudakov, =A0VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 -- AP From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 08:58:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAED106564A for ; Thu, 29 Dec 2011 08:58:46 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id BAE058FC12 for ; Thu, 29 Dec 2011 08:58:45 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 22953479 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 15:58:43 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.5/8.14.5) with ESMTP id pBT8wg8F046017 for ; Thu, 29 Dec 2011 15:58:43 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.5/8.14.5/Submit) id pBT8wg97046016 for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 15:58:42 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Thu, 29 Dec 2011 15:58:42 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Message-ID: <20111229085842.GA45978@admin.sibptus.tomsk.ru> References: <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> <20111229073817.GB44026@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.livejournal.com/pubkey.bml?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 08:58:46 -0000 Peter Andreev wrote: > >> >> > Victor, we researched this topic and learned that response time highly > >> >> > depends on distance between user and resolver, while cache influence > >> >> > on this value is lesser. > >> >> > So I advice you to keep all as is. > >> >> > >> >> Be it so. Thank you. > >> > > >> > And the reason for the whole thread. One of the customers told me that > >> > 8.8.8.8 is faster than our own DNS servers which are located on the > >> > same 100 MBit/s LAN with them. I was shocked but it seems true, at > >> > least for the answers which are not yet cached. > >> > >> I don't know what software google uses on its resolvers, but I suppose > >> something with shared or synchronizing cache. May be they also make > >> preventive lookups on popular domains to fill this cache. And the > >> reason why 8.8.8.8 seems faster - it answered from cache while your > >> resolver made full lookup chain. > > > > Duh! That is why I started thinking about some cache synchronizing > > technique for my resolvers. > > Preventive lookups can be made via self-written scripts. Sure, after query log analysis. > > AFAIK there is no free open source implementations providing cache > synchronization between different resolvers. Unbound cannot do that, can it? I am surprised. After all, squid siblings are quite common. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 09:28:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C40931065675 for ; Thu, 29 Dec 2011 09:28:57 +0000 (UTC) (envelope-from irked7189@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC3D8FC12 for ; Thu, 29 Dec 2011 09:28:57 +0000 (UTC) Received: by iadj38 with SMTP id j38so29464370iad.13 for ; Thu, 29 Dec 2011 01:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=boAGxxSitHeDgm+oOBGE+Q+pXz5JjK5JzV1EUDqjKsE=; b=EAflxYR1jIHoGdkURzq3uti4lU/KiOvcgJIqdsx6Xw21EkIj0DpgkDkDKSchkeMxfD npRUCr6NKGMNN73H3gKuILl3e+CdQYHL8rFc0Ak+0BJBMuVIPZUwwWYUHZvHscMKxcp+ ESu73Y9z3C+TKT0Nq2YGNp3AcgM5a/hrhAdLc= MIME-Version: 1.0 Received: by 10.42.19.69 with SMTP id a5mr11487176icb.42.1325149302162; Thu, 29 Dec 2011 01:01:42 -0800 (PST) Received: by 10.50.10.163 with HTTP; Thu, 29 Dec 2011 01:01:42 -0800 (PST) Date: Thu, 29 Dec 2011 04:01:42 -0500 Message-ID: From: Irk Ed To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 09:28:57 -0000 For the first time, a customer is asking me for root access to said customer's servers. Obviously, I must comply. At the same time, I cannot continue be accountable for those servers. Is this that simple and clear cut? Assuming that I'll be asked to continue administering said servers, I guess I should at least enable accounting... I'd appreciate comments/experience/advice from the wise... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 09:36:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33BAF106564A for ; Thu, 29 Dec 2011 09:36:12 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B3ADB8FC19 for ; Thu, 29 Dec 2011 09:36:11 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so22931919wgb.31 for ; Thu, 29 Dec 2011 01:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=yoVy8fGCgNc+kwjjkvR7LIfSJEro8U2M9K1fc/PG/+A=; b=IC0XWP9pmc/2hCLVrBB5kXkuDQn6nylQm9UX2PKGaJn+B73TipHOMH/5+NfXW5eWqD WD0V8cnRvP6u85/fSXZqmGz60pvyzBRwc573IE7aorcOIWgb5XFzABSTf+uwPOiyJoTr N/TZa/AVsD5f4J7O1PmaF7lcDSVhM3f919A/U= MIME-Version: 1.0 Received: by 10.227.204.66 with SMTP id fl2mr34417053wbb.16.1325151370670; Thu, 29 Dec 2011 01:36:10 -0800 (PST) Received: by 10.216.15.77 with HTTP; Thu, 29 Dec 2011 01:36:10 -0800 (PST) In-Reply-To: <20111229085842.GA45978@admin.sibptus.tomsk.ru> References: <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> <20111229073817.GB44026@admin.sibptus.tomsk.ru> <20111229085842.GA45978@admin.sibptus.tomsk.ru> Date: Thu, 29 Dec 2011 12:36:10 +0300 Message-ID: From: Peter Andreev To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 09:36:12 -0000 2011/12/29 Victor Sudakov : > Peter Andreev wrote: >> >> >> > Victor, we researched this topic and learned that response time = highly >> >> >> > depends on distance between user and resolver, while cache influ= ence >> >> >> > on this value is lesser. >> >> >> > So I advice you to keep all as is. >> >> >> >> >> >> Be it so. Thank you. >> >> > >> >> > And the reason for the whole thread. One of the customers told me t= hat >> >> > 8.8.8.8 is faster than our own DNS servers which are located on the >> >> > same 100 MBit/s LAN with them. I was shocked but it seems true, at >> >> > least for the answers which are not yet cached. >> >> >> >> I don't know what software google uses on its resolvers, but I suppos= e >> >> something with shared or synchronizing cache. May be they also make >> >> preventive lookups on popular domains to fill this cache. And the >> >> reason why 8.8.8.8 seems faster - it answered from cache while your >> >> resolver made full lookup chain. >> > >> > Duh! That is why I started thinking about some cache synchronizing >> > technique for my resolvers. >> >> Preventive lookups can be made via self-written scripts. > > Sure, after query log analysis. > >> >> AFAIK there is no free open source implementations providing cache >> synchronization between different resolvers. > > Unbound cannot do that, can it? It has options "dump-cache" and "load-cache" for debugging purposes, but I don't recommend using it in production. May be "cache-min-ttl" and "cache-max-ttl" would be useful, but I doubt what is better - get fast response or get right response. > > I am surprised. After all, squid siblings are quite common. > > > -- > Victor Sudakov, =A0VAS4-RIPE, VAS47-RIPN > sip:sudakov@sibptus.tomsk.ru > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 -- AP From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 09:58:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89D5F106564A for ; Thu, 29 Dec 2011 09:58:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 492438FC08 for ; Thu, 29 Dec 2011 09:58:50 +0000 (UTC) Received: from r56.edvax.de (port-92-195-18-127.dynamic.qsc.de [92.195.18.127]) by mx01.qsc.de (Postfix) with ESMTP id 93ABC3C8A4; Thu, 29 Dec 2011 10:58:48 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBT9wm9f001885; Thu, 29 Dec 2011 10:58:48 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 29 Dec 2011 10:58:47 +0100 From: Polytropon To: Irk Ed Message-Id: <20111229105847.e15848ba.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 09:58:50 -0000 On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > For the first time, a customer is asking me for root access to said > customer's servers. Customer + root@server == !go; :-) > Obviously, I must comply. At the same time, I cannot continue be > accountable for those servers. Fully correct. Check the contract you made with the customer regarding responsibility and conclusions. > Is this that simple and clear cut? I'd think so. Maybe changing the contract is required. > Assuming that I'll be asked to continue administering said servers, I guess > I should at least enable accounting... You could have better success using sudo. Make sure the customer is allowed to "sudo ". The sudo program will log _all_ things the customer does, so you can be sure you can review actions. Furthermore you don't need to give him the _real_ root password. He won't be able to "su root" or to login as root, _real_ root. But he can use the "sudo" prefix to issue commands "with root privileges". > I'd appreciate comments/experience/advice from the wise... Just a thought: "Parallel administration" (you _and_ the customer), both capable of using the power of the root password, can lead to trouble. Avoid it whenever possible, use "sudo" to satisfy the demands of the customer. And make sure that - as he now posesses immense power - you regulate the responsibilities by CONTRACT: _you_ are not responsible if he does "sudo rm -rf /" or something similar. I'd give the customer only that much access as he actually needs. "Role based models" such as they can be done without root passwords (tools: sudo, super) can help here. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 10:05:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6CC81065672 for ; Thu, 29 Dec 2011 10:05:59 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 06C458FC13 for ; Thu, 29 Dec 2011 10:05:58 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBTA5off084753 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 29 Dec 2011 10:05:50 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBTA5off084753 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325153150; bh=g14PjJvdUJluYXRPDQQq0zXQQvbsbxP0taX4ceaSGck=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=Ta+RQ8d8ruSCmgDBXhcGGG07ESukJTfeRBF6n9wzo3WA/R4XWT8laGTelDhGXXqb7 etyja/Rz5s0oEWDFkOraD/p3NJv0+Kpw0ez0Ygr5YI5y3jLTtLQx4Fv74KmlUfRx9A 2E6m2LLG79EBs5A/di+aeYXDZxusZhru9PXQ64t0= Message-ID: <4EFC3B76.4060005@infracaninophile.co.uk> Date: Thu, 29 Dec 2011 10:05:42 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3B0B9C45C30F92431F34F2A7" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 10:05:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3B0B9C45C30F92431F34F2A7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/12/2011 09:01, Irk Ed wrote: > For the first time, a customer is asking me for root access to said > customer's servers. >=20 > Obviously, I must comply. At the same time, I cannot continue be > accountable for those servers. >=20 > Is this that simple and clear cut? >=20 > Assuming that I'll be asked to continue administering said servers, I g= uess > I should at least enable accounting... >=20 > I'd appreciate comments/experience/advice from the wise... Where I used to work, customers were given root level access to their servers by default. We did insist on a secure access method using SSH keys and we also insisted that root level access was allowed only to specific named people each using their own SSH key (so you always had to login as an unprivileged user before getting root access). This allowed a good level of audit trail and the ability to identify exactly who had done what. On the whole, this worked well. Most customers are after all motivated to keep their servers running well and securely and would very rarely use their root level access, since we would provide all the routine management functions as part of the service. Occasionally there would be customers that we pretty much as capable as we were, and for those we were happy to let them do their own thing so long as they conformed to our security standards. Occasionally there were the odd customers who thought they were much more capable than they were. Generally there would be a cock-up, which we would then sort out at the customers expense, after which things tended much more towards the customer leaving it all to us. (Usually this would happen during the system setup or testing phase so no embarrassing service outages.) On the other hand, we tended not to give customers any access to firewalls or network switches or other network infrastructure, nor indeed to monitoring or backup or other adjunct services. The important thing, especially if you have stringent service level guarantees in your contracts, is to disclaim any liabilities due to outages or other problems caused by customer action. Which implies that it is vital to have good audit data that can identify the individual responsible for any action. You're also justified in raising your prices to cover yourself against potential losses (reputational or otherwise) due to customer actions. Your mileage may vary -- the clients at that job were mostly finance or similar companies and tended to have quite formal change-management regimes in any case. Other sectors may be a lot more gung-ho... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig3B0B9C45C30F92431F34F2A7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk78O30ACgkQ8Mjk52CukIxNlACePEv+j27T6dVklZxr+5XtvBnp 5/IAn3A9wOUY59+bcyoE79YNLhuSVcb7 =HNbk -----END PGP SIGNATURE----- --------------enig3B0B9C45C30F92431F34F2A7-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 10:23:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C93B3106564A for ; Thu, 29 Dec 2011 10:23:35 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 89AF08FC17 for ; Thu, 29 Dec 2011 10:23:35 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so18165193vbb.13 for ; Thu, 29 Dec 2011 02:23:34 -0800 (PST) Received: by 10.52.89.71 with SMTP id bm7mr16987388vdb.41.1325154214753; Thu, 29 Dec 2011 02:23:34 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id i12sm23097575vdj.14.2011.12.29.02.23.32 (version=SSLv3 cipher=OTHER); Thu, 29 Dec 2011 02:23:33 -0800 (PST) Message-ID: <4EFC3FA3.1060603@my.gd> Date: Thu, 29 Dec 2011 11:23:31 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111229105847.e15848ba.freebsd@edvax.de> In-Reply-To: <20111229105847.e15848ba.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 10:23:35 -0000 On 12/29/11 10:58 AM, Polytropon wrote: > On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: >> For the first time, a customer is asking me for root access to said >> customer's servers. > > Customer + root@server == !go; :-) > > > >> Obviously, I must comply. At the same time, I cannot continue be >> accountable for those servers. > > Fully correct. Check the contract you made with the > customer regarding responsibility and conclusions. > Another way of doing things would be to give the customer root access on the server, if it's entirely his, and relinquish your own root access. No more root access for you, no accountability considerations. > > >> Is this that simple and clear cut? > > I'd think so. Maybe changing the contract is > required. > > > >> Assuming that I'll be asked to continue administering said servers, I guess >> I should at least enable accounting... > > You could have better success using sudo. Make sure > the customer is allowed to "sudo ". The > sudo program will log _all_ things the customer > does, so you can be sure you can review actions. > Furthermore you don't need to give him the _real_ > root password. He won't be able to "su root" or > to login as root, _real_ root. But he can use > the "sudo" prefix to issue commands "with root > privileges". > "sudo su -" or "sudo sh" and the customer gets a native root shell which does *not* log commands ! > > >> I'd appreciate comments/experience/advice from the wise... > > Just a thought: "Parallel administration" (you _and_ > the customer), both capable of using the power of > the root password, can lead to trouble. Avoid it > whenever possible, use "sudo" to satisfy the > demands of the customer. And make sure that - as > he now posesses immense power - you regulate the > responsibilities by CONTRACT: _you_ are not > responsible if he does "sudo rm -rf /" or > something similar. > Sadly, this brings in the burden of proof. As in, prove that *he* didn't issue the dumb command, the customer did. This model is endangered by the commands I cited above :/ > I'd give the customer only that much access as > he actually needs. "Role based models" such as > they can be done without root passwords > (tools: sudo, super) can help here. > That's more like it indeed, however it still poses security threats. Say the customer can sudo commands located in /usr/local/libexec/CUSTOMER/ All he has to do is write a simple link to sh/bash, and sudo it. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 10:37:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE6E106566C for ; Thu, 29 Dec 2011 10:37:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4F71F8FC08 for ; Thu, 29 Dec 2011 10:37:41 +0000 (UTC) Received: from r56.edvax.de (port-92-195-18-127.dynamic.qsc.de [92.195.18.127]) by mx02.qsc.de (Postfix) with ESMTP id CC3EA1E255; Thu, 29 Dec 2011 11:37:39 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBTAbd7d002039; Thu, 29 Dec 2011 11:37:39 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 29 Dec 2011 11:37:39 +0100 From: Polytropon To: Damien Fleuriot Message-Id: <20111229113739.b532f139.freebsd@edvax.de> In-Reply-To: <4EFC3FA3.1060603@my.gd> References: <20111229105847.e15848ba.freebsd@edvax.de> <4EFC3FA3.1060603@my.gd> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 10:37:42 -0000 On Thu, 29 Dec 2011 11:23:31 +0100, Damien Fleuriot wrote: > On 12/29/11 10:58 AM, Polytropon wrote: > > On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > >> Obviously, I must comply. At the same time, I cannot continue be > >> accountable for those servers. > > > > Fully correct. Check the contract you made with the > > customer regarding responsibility and conclusions. > > > > Another way of doing things would be to give the customer root access on > the server, if it's entirely his, and relinquish your own root access. > > No more root access for you, no accountability considerations. Yes, that's the "other option". Full responsibility to the customer (as per his demand of a root password), no responsibility to the administrator anymore. > "sudo su -" or "sudo sh" and the customer gets a native root shell which > does *not* log commands ! Shhhh!!! Don't tell them! :-) > >> I'd appreciate comments/experience/advice from the wise... > > > > Just a thought: "Parallel administration" (you _and_ > > the customer), both capable of using the power of > > the root password, can lead to trouble. Avoid it > > whenever possible, use "sudo" to satisfy the > > demands of the customer. And make sure that - as > > he now posesses immense power - you regulate the > > responsibilities by CONTRACT: _you_ are not > > responsible if he does "sudo rm -rf /" or > > something similar. > > > > Sadly, this brings in the burden of proof. > As in, prove that *he* didn't issue the dumb command, the customer did. > > This model is endangered by the commands I cited above :/ Ah shhhh!!! Don't point at it again! :-) But you're fully right: The logging has ways to get around it. I think "super" can be used to give a narrowed-down access, but that's not comparable to the customer demanding "root access" (which it wouldn't be). > > I'd give the customer only that much access as > > he actually needs. "Role based models" such as > > they can be done without root passwords > > (tools: sudo, super) can help here. > > > > That's more like it indeed, however it still poses security threats. True, it does. You won't have full security as long as the customer is able to do root-related things. > Say the customer can sudo commands located in /usr/local/libexec/CUSTOMER/ > > All he has to do is write a simple link to sh/bash, and sudo it. Stop that! You're hacking the system by telling all the secret things! :-) Depending on the skills of the particular customer, and of course in regards of what he _intends_ to do himself, there are many possibilities. They even get enlarged when the customer gives the root password to a 3rd person, intendedly or by careless actions. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 11:14:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADD951065670 for ; Thu, 29 Dec 2011 11:14:03 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 430CB8FC15 for ; Thu, 29 Dec 2011 11:14:02 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so11879008wib.13 for ; Thu, 29 Dec 2011 03:14:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=bNzKKONuAKPx14OiTSJb9htIlpkKzk5cQPockcD7w1c=; b=WBT8jcAbYrVRDLPO/MobtskbWBIdalyFzChCjVXRoYRAETH9aZX/Xac2BnJ/RofR/B F9UHxjgEls3oc8EuyS9BUw5nXRMaUoyox5ui41NQ/tD4BDD9o75lz48MrGh+Sdg6RUil 7y28Pp2bg+qUICqbe56EIFELF+MtjkmnWZ6aQ= Received: by 10.180.19.138 with SMTP id f10mr97434011wie.3.1325155517304; Thu, 29 Dec 2011 02:45:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.57.82 with HTTP; Thu, 29 Dec 2011 02:44:57 -0800 (PST) In-Reply-To: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> References: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> From: Christer Solskogen Date: Thu, 29 Dec 2011 11:44:57 +0100 Message-ID: To: Scott Bennett Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: "portmaster --list-origins" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 11:14:03 -0000 On Thu, Dec 29, 2011 at 5:58 AM, Scott Bennett wrote: > =C2=A0 =C2=A0 Did I misunderstand something about the --list-origins opti= on? =C2=A0Or have > I run into a bug? =C2=A0Any suggestions of how to proceed would be welcom= e. No, not a bug. portmaster --list-origins | wc -l 58 pkg_info | wc -l 207 list-origins only lists packages that does not have any dependencies. --=20 chs, From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 11:47:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 606FA106564A for ; Thu, 29 Dec 2011 11:47:04 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id B6FFD8FC08 for ; Thu, 29 Dec 2011 11:47:03 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id Ezn01i007516WCc01zn1yS; Thu, 29 Dec 2011 11:47:01 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=KLrY/S5o c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=WxvX87kmRgQkkSVV4FoA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: by curlew.milibyte.co.uk with local (Exim 4.77) (envelope-from ) id 1RgERo-000160-8Z for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 11:47:00 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Thu, 29 Dec 2011 11:46:59 +0000 User-Agent: KMail/1.9.10 References: <20111229105847.e15848ba.freebsd@edvax.de> <4EFC3FA3.1060603@my.gd> In-Reply-To: <4EFC3FA3.1060603@my.gd> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201112291147.00042.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 curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 11:47:04 -0000 On Thursday 29 December 2011, Damien Fleuriot wrote: [snip] > "sudo su -" or "sudo sh" and the customer gets a native root shell > which does *not* log commands ! [snip] > Say the customer can sudo commands located in > /usr/local/libexec/CUSTOMER/ > > All he has to do is write a simple link to sh/bash, and sudo it. But if it's possible to determine exactly what commands the customer needs to run as root then putting suitable incantations into /usr/local/etc/sudoers should prevent the customer from being able to use tricks like that. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 15:34:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A3AC106572F for ; Thu, 29 Dec 2011 15:34:48 +0000 (UTC) (envelope-from root@probikesllc.com) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.freebsd.org (Postfix) with SMTP id D10358FC22 for ; Thu, 29 Dec 2011 15:34:47 +0000 (UTC) Received: (qmail 84575 invoked from network); 29 Dec 2011 15:08:06 -0000 Received: from 184.72.125.209 (HELO ip-10-108-9-130) (184.72.125.209) by relay03.pair.com with SMTP; 29 Dec 2011 15:08:06 -0000 X-pair-Authenticated: 184.72.125.209 Date: Thu, 29 Dec 2011 10:07:46 -0500 (EST) From: "Brian Seklecki (Mobile)" X-X-Sender: root@ecs00.cozzaenterprises.com To: Matthew Seaman In-Reply-To: <4EFC2405.4080103@infracaninophile.co.uk> Message-ID: References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> User-Agent: Alpine 2.00 (LRH 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Static IP on a 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: Thu, 29 Dec 2011 15:34:48 -0000 Also, what MAC address does the DHCPREQUEST packet appear to be sourced from (from the view of your DHCP server, or on the wire somewhere between the two (SPAN PORT)) ~BAS This sounds familar. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 15:45:28 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FA851065675 for ; Thu, 29 Dec 2011 15:45:28 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id DBEA58FC12 for ; Thu, 29 Dec 2011 15:45:24 +0000 (UTC) Received: from sas1.nber.org (sas1.nber.org [66.251.72.185]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id pBTFjHB8016327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 29 Dec 2011 10:45:17 -0500 (EST) (envelope-from feenberg@nber.org) Received: from localhost (feenberg@localhost) by sas1.nber.org (8.14.4/8.14.4/Submit) with ESMTP id pBTFjEiV018775; Thu, 29 Dec 2011 10:45:14 -0500 X-Authentication-Warning: sas1.nber.org: feenberg owned process doing -bs Date: Thu, 29 Dec 2011 10:45:14 -0500 (EST) From: Daniel Feenberg To: Vijayamurugan.Kalyanasundaram@emc.com In-Reply-To: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> Message-ID: References: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20111229 #6287834, check: 20111229 clean Cc: freebsdquestions@FreeBSD.org, questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 15:45:28 -0000 On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: > Hi Team, > > Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. > I didn't see any answer to this - but we are interested in ANY 10 GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? Daniel Feenberg NBER From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 16:23:45 2011 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 4E6451065688 for ; Thu, 29 Dec 2011 16:23:45 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 043378FC19 for ; Thu, 29 Dec 2011 16:23:44 +0000 (UTC) Received: from sas1.nber.org (sas1.nber.org [66.251.72.185]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id pBTFjHB8016327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 29 Dec 2011 10:45:17 -0500 (EST) (envelope-from feenberg@nber.org) Received: from localhost (feenberg@localhost) by sas1.nber.org (8.14.4/8.14.4/Submit) with ESMTP id pBTFjEiV018775; Thu, 29 Dec 2011 10:45:14 -0500 X-Authentication-Warning: sas1.nber.org: feenberg owned process doing -bs Date: Thu, 29 Dec 2011 10:45:14 -0500 (EST) From: Daniel Feenberg To: Vijayamurugan.Kalyanasundaram@emc.com In-Reply-To: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> Message-ID: References: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20111229 #6287834, check: 20111229 clean Cc: freebsdquestions@FreeBSD.org, questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 16:23:45 -0000 On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: > Hi Team, > > Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. > I didn't see any answer to this - but we are interested in ANY 10 GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? Daniel Feenberg NBER From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 16:26:08 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08DC21065675 for ; Thu, 29 Dec 2011 16:26:08 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay0.exonetric.net (relay0.exonetric.net [82.138.248.161]) by mx1.freebsd.org (Postfix) with ESMTP id C1C4C8FC19 for ; Thu, 29 Dec 2011 16:26:07 +0000 (UTC) Received: from [172.16.0.153] (94-30-105-106.xdsl.murphx.net [94.30.105.106]) by relay0.exonetric.net (Postfix) with ESMTP id 6B63357004; Thu, 29 Dec 2011 15:59:54 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Mark Blackman In-Reply-To: Date: Thu, 29 Dec 2011 15:59:50 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <37877907-8E4F-4394-88D7-0CC4B8F09BBC@exonetric.com> References: <0B0741793721B04FBB9DA20A97E55F4D199FBEB047@MX34A.corp.emc.com> To: Daniel Feenberg X-Mailer: Apple Mail (2.1251.1) Cc: Vijayamurugan.Kalyanasundaram@emc.com, freebsd-questions@FreeBSD.org Subject: Re: Need to know the compatibility X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 16:26:08 -0000 On 29 Dec 2011, at 15:45, Daniel Feenberg wrote: >=20 >=20 > On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: >=20 >> Hi Team, >>=20 >> Kindly let me know on the compatibility of " Intel X520 Dual Port 10 = Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. >>=20 >=20 > I didn't see any answer to this - but we are interested in ANY 10 > GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? >=20 > Daniel Feenberg > NBER The two drivers below sound promising? = http://www.freebsd.org/cgi/man.cgi?query=3Dixgb&apropos=3D0&sektion=3D0&ma= npath=3DFreeBSD+8.2-RELEASE&arch=3Ddefault&format=3Dhtml = http://www.freebsd.org/cgi/man.cgi?query=3Dixgbe&apropos=3D0&sektion=3D0&m= anpath=3DFreeBSD+8.2-RELEASE&arch=3Ddefault&format=3Dhtml From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 16:41:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC9A310657CB for ; Thu, 29 Dec 2011 16:41:29 +0000 (UTC) (envelope-from roquesor@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7428D8FC2C for ; Thu, 29 Dec 2011 16:41:29 +0000 (UTC) Received: by lahl5 with SMTP id l5so7256647lah.13 for ; Thu, 29 Dec 2011 08:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=bmaUas/4dhhdj1DbxdoP9BVyEb4eaX73tf2ALhyIUKE=; b=I8DmOGas4qblN7C0IV5GeptAySagmeruTBu2k+TZhV9BVRgRieGtg3ueJHdcfIvL00 qjIkbADU3skLkj0es3QZDK/HTKaJP4UfZgLTk2KgNccwl+S94Ax72cTw0MVnoldz49ZH Gvpl/ez83qGdraSSHD8zDVOvGvhTbxU6zUm1k= Received: by 10.152.114.103 with SMTP id jf7mr21807779lab.22.1325175374506; Thu, 29 Dec 2011 08:16:14 -0800 (PST) Received: from localhost (39.Red-88-9-116.dynamicIP.rima-tde.net. [88.9.116.39]) by mx.google.com with ESMTPS id mb12sm11199684lab.17.2011.12.29.08.16.12 (version=SSLv3 cipher=OTHER); Thu, 29 Dec 2011 08:16:13 -0800 (PST) Date: Thu, 29 Dec 2011 17:16:11 +0100 From: Walter Alejandro Iglesias To: freebsd-questions@freebsd.org Message-ID: <20111229161611.GA81214@chancha.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 16:41:30 -0000 Hello, I am giving my firsts steps with FreeBSD. I've searched a lot in google, mailing list, forums, freebsd handbook and I am still not clear about the following. In a RELEASE fresh install, after updating the ports using i.e. portsnap, the packages downloaded with pkp_add -r are older versions respect their port counterparts, leading to dependencies issues. So, once the ports tree is updated: 1) Am I forced to compile all? 2) Should I use STABLE to get the same versions with pkg_add than compiling up to date ports? Are STABLE packages compiled from this ports? 3) In case my assumption above is correct; taking in care that in a production system it is advisable (handbook) to stay with RELEASE, should I avoid updating the ports tree in i.e. a server machine? What to do with broken ports in this case? Resuming, is there a default way to install-update the software keeping ports and binary packages in one piece? What is advisable in general terms for a desktop and what for a server? It will be enough for me if someone just point me to documentation. Big thanks Walter From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:04:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B6821065677 for ; Thu, 29 Dec 2011 17:04:53 +0000 (UTC) (envelope-from mikel.king@olivent.com) Received: from mail.olivent.com (mail.olivent.com [75.99.82.91]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF748FC21 for ; Thu, 29 Dec 2011 17:04:52 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.olivent.com (Kerio Connect 7.0.0 patch 1) (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits)); Thu, 29 Dec 2011 11:34:46 -0500 Mime-Version: 1.0 (Apple Message framework v1084) From: mikel king In-Reply-To: Date: Thu, 29 Dec 2011 11:34:39 -0500 Message-Id: <1AD045F1-BBE7-492C-9F19-FB54F2741D5B@olivent.com> References: To: Irk Ed X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:04:53 -0000 On Dec 29, 2011, at 4:01 AM, Irk Ed wrote: > For the first time, a customer is asking me for root access to said > customer's servers. >=20 > Obviously, I must comply. At the same time, I cannot continue be > accountable for those servers. >=20 > Is this that simple and clear cut? >=20 > Assuming that I'll be asked to continue administering said servers, I = guess > I should at least enable accounting... >=20 > I'd appreciate comments/experience/advice from the wise... Call me paranoid but is your contract near term end? In my experience this is usually a precursor to a end of year cost = cutting service provider change. Specifically someone in sales's second = cousin's nephew who saw a linux server once and thinks he's an expert. I recommend that you complete a backup of everything prior to granting = them sudo access. Possibly even run am md5sum against all important = config files and save that in your back up as well. Then give them well written explanation of why sudo is superior or at = least safer to direct root access. Regards, Mikel King BSD News Network http://bsdnews.net skype: mikel.king http://twitter.com/mikelking From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:15:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3622D1065670 for ; Thu, 29 Dec 2011 17:15:49 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor1.peak.org (redcondor1.peak.org [69.59.192.54]) by mx1.freebsd.org (Postfix) with ESMTP id 02F5A8FC14 for ; Thu, 29 Dec 2011 17:15:48 +0000 (UTC) Received: from zmail-mta02.peak.org ([207.55.16.112]) by redcondor1.peak.org ({e03e86cd-14ae-47ce-9578-3c080ce9c462}) via TCP (outbound) with ESMTP id 20111229171548510 for ; Thu, 29 Dec 2011 17:15:48 +0000 X-RC-FROM: X-RC-RCPT: Received: from maple.localnet (unknown [207.55.106.132]) by zmail-mta02.peak.org (Postfix) with ESMTPSA id 80348488B51 for ; Thu, 29 Dec 2011 09:15:47 -0800 (PST) Received: from oak.localnet (oak.localnet [IPv6:2001:1938:266::6f:616b]) by maple.localnet (Postfix) with ESMTP id E0C7961F12 for ; Thu, 29 Dec 2011 09:15:45 -0800 (PST) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id ADD39BFD5 for ; Thu, 29 Dec 2011 09:15:45 -0800 (PST) Received: (from carlj@localhost) by oak.localnet (8.14.4/8.14.4/Submit) id pBTHFjYN059207; Thu, 29 Dec 2011 09:15:45 -0800 (PST) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org References: <20111229105847.e15848ba.freebsd@edvax.de> <4EFC3FA3.1060603@my.gd> Mail-Followup-To: freebsd-questions@freebsd.org Date: Thu, 29 Dec 2011 09:15:45 -0800 In-Reply-To: <4EFC3FA3.1060603@my.gd> (Damien Fleuriot's message of "Thu, 29 Dec 2011 11:23:31 +0100") Message-ID: <87y5tvcn9a.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:15:49 -0000 Damien Fleuriot writes: > On 12/29/11 10:58 AM, Polytropon wrote: >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: >>> For the first time, a customer is asking me for root access to said >>> customer's servers. >> >>> Assuming that I'll be asked to continue administering said servers, I guess >>> I should at least enable accounting... >> >> You could have better success using sudo. Make sure >> the customer is allowed to "sudo ". The >> sudo program will log _all_ things the customer >> does, so you can be sure you can review actions. >> Furthermore you don't need to give him the _real_ >> root password. He won't be able to "su root" or >> to login as root, _real_ root. But he can use >> the "sudo" prefix to issue commands "with root >> privileges". >> > > "sudo su -" or "sudo sh" and the customer gets a native root shell which > does *not* log commands ! The sudoers manpage mention the noexec option which is designed to help with the first problem. They also show an example using !SHELLS which can help with the second. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:21:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 332A21065672 for ; Thu, 29 Dec 2011 17:21:12 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway06.websitewelcome.com (gateway06.websitewelcome.com [67.18.55.3]) by mx1.freebsd.org (Postfix) with ESMTP id F0E9B8FC17 for ; Thu, 29 Dec 2011 17:21:11 +0000 (UTC) Received: by gateway06.websitewelcome.com (Postfix, from userid 5007) id 3FE26743FEFCA; Thu, 29 Dec 2011 11:21:11 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway06.websitewelcome.com (Postfix) with ESMTP id 344CB743FEFAA for ; Thu, 29 Dec 2011 11:21:11 -0600 (CST) Received: from [127.0.0.1] (port=57315 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgJfD-0001pA-2w; Thu, 29 Dec 2011 11:21:11 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Thu, 29 Dec 2011 11:21:11 -0600 Message-ID: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 11:21:11 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> In-Reply-To: <4EFC2405.4080103@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:57315 X-Source-Auth: james@colannino.org X-Email-Count: 1 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: Re: Static IP on a 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: Thu, 29 Dec 2011 17:21:12 -0000 Quoting Matthew Seaman : > What's the error message you see when you fail to ping out? ping: cannot resolve google.com: Host name lookup failure > What does the routing table (netstat -r) look like before and after DHCP? Before DHCP: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire localhost link#11 UH 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire :: localhost UGRS lo0 localhost localhost UH lo0 ::ffff:0.0.0.0 localhost UGRS lo0 fe80:: localhost UGRS lo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11 U lo0 fe80::1%lo0 link#11 UHS lo0 fe80::%tap0 link#13 U tap0 fe80::2bd:8aff:fe3 link#13 UHS lo0 fe80::%tap1 link#14 U tap1 fe80::2bd:8dff:fe3 link#14 UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRS lo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 After DHCP: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 0 bridge localhost link#11 UH 0 0 lo0 192.168.1.0 link#12 U 0 1 bridge 192.168.1.103 link#12 UHS 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire :: localhost UGRS lo0 localhost localhost UH lo0 ::ffff:0.0.0.0 localhost UGRS lo0 fe80:: localhost UGRS lo0 fe80::%re0 link#5 U re0 fe80::6ef0:49ff:fe link#5 UHS lo0 fe80::%lo0 link#11 U lo0 fe80::1%lo0 link#11 UHS lo0 fe80::%tap0 link#13 U tap0 fe80::2bd:8aff:fe3 link#13 UHS lo0 fe80::%tap1 link#14 U tap1 fe80::2bd:8dff:fe3 link#14 UHS lo0 ff01::%re0 fe80::6ef0:49ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 ff02:: localhost UGRS lo0 ff02::%re0 fe80::6ef0:49ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > What does your arp table look like (arp -a) before and after DHCP? Before DHCP: (nothing was printed to the screen) After DHCP: ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds [bridge] ? (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] I can see that something is definitely not right. Not sure how to fix /etc/rc.conf so that it will be setup correctly, though. Thank you for the help! James From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:22:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77110106566B for ; Thu, 29 Dec 2011 17:22:46 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway14.websitewelcome.com (gateway14.websitewelcome.com [69.41.245.8]) by mx1.freebsd.org (Postfix) with ESMTP id 488138FC18 for ; Thu, 29 Dec 2011 17:22:46 +0000 (UTC) Received: by gateway14.websitewelcome.com (Postfix, from userid 5007) id 9C654B13F2EA; Thu, 29 Dec 2011 11:22:45 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway14.websitewelcome.com (Postfix) with ESMTP id 8D66DB13F298 for ; Thu, 29 Dec 2011 11:22:45 -0600 (CST) Received: from [127.0.0.1] (port=54224 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgJgj-00021Z-GR for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 11:22:45 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Thu, 29 Dec 2011 11:22:45 -0600 Message-ID: <20111229112245.18363n0ssrqycc2s@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 11:22:45 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:54224 X-Source-Auth: james@colannino.org X-Email-Count: 3 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: Re: Static IP on a 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: Thu, 29 Dec 2011 17:22:46 -0000 Quoting "Brian Seklecki (Mobile)" : > Also, what MAC address does the DHCPREQUEST packet appear to be sourced > from (from the view of your DHCP server, or on the wire somewhere > between the two (SPAN PORT)) ~BAS How do I do that? :) James From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:23:13 2011 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 B4F951065678 for ; Thu, 29 Dec 2011 17:23:13 +0000 (UTC) (envelope-from LukeD@pobox.com) Received: from sasl.smtp.pobox.com (a-pb-sasl-sd.pobox.com [74.115.168.62]) by mx1.freebsd.org (Postfix) with ESMTP id 7A6EF8FC19 for ; Thu, 29 Dec 2011 17:23:13 +0000 (UTC) Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 497157689; Thu, 29 Dec 2011 12:23:12 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from :reply-to:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; s=sasl; bh=0ORunWYz9yS2T7eJL6uv1S+K/ bA=; b=VrdqvMW9GeQvIohwZnHC9YkGJHMeg5UIXCvXoKkQeUixA3l6xFpx/j61s NgVIp0jQM5+R1UBw8uQ8CijBEtOiBbFeBL8cmWMuuAJm85Tx+SoqfdmvTbaOeOTF YXmnCMhf6DvJ3/WuxQStx87eSSsmJApcdNUgb5Bzdu78AcctPo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from :reply-to:to:cc:subject:in-reply-to:message-id:references :mime-version:content-type; q=dns; s=sasl; b=c37+l6Pw8pQqALKiYrM 7nysearEkYb2v2GzUqgmwyYZdhOnWWvnEJsAEUhP34EVvtD30OqYfPMVVoQq16Sc 5aMNLKqwJ8LKZ2YOiUxW5GLDamKMvTsxF0Zn9GLuXBFC1KLtqnEW7bvU2IOTVSVh UCUtHLSHP+uigJVaxutNwyk8= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 41A6A7688; Thu, 29 Dec 2011 12:23:12 -0500 (EST) Received: from tower.lukas.is-a-geek.org (unknown [50.35.181.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id C76A27687; Thu, 29 Dec 2011 12:23:10 -0500 (EST) Date: Thu, 29 Dec 2011 09:23:07 -0800 (PST) From: Luke Dean X-X-Sender: lukas@tower.lukas.is-a-geek.org To: Mark Felder In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Pobox-Relay-ID: C825280C-3241-11E1-8FCE-65B1DE995924-96347044!a-pb-sasl-sd.pobox.com Cc: questions@freebsd.org Subject: Re: Intel EMGD driver on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luke Dean List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:23:13 -0000 On Tue, 27 Dec 2011, Mark Felder wrote: > Are you sure that the problem isn't just that the current releases of FreeBSD > don't have GEM/KMS support which the newer Intel drivers require? I'm running > a test build on my Google CR48 and have OpenGL acceleration without any major > hiccups except not being able to get back to a console after starting X. > > > Test here: > > http://lists.freebsd.org/pipermail/freebsd-current/2011-November/029219.html > > > I converted the image into full install on my hard drive. > > > More details here: http://wiki.freebsd.org/Intel_GPU Thank you for the reply. I've been unable to lay hands on a USB drive big enough to hold that entire image, so I can't easily test with it. >From what I'm finding on the web, your Google CR48 is probably an Intel GMA 3150, which looks like it's covered by the normal open source Intel driver even though it's not explicitly listed on the manpage. http://intellinuxgraphics.org/documentation.html I think my GMA 500 is a different situation. I'm pessimistic. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:25:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D7C1065673 for ; Thu, 29 Dec 2011 17:25:56 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 185308FC15 for ; Thu, 29 Dec 2011 17:25:55 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so14475226obb.13 for ; Thu, 29 Dec 2011 09:25:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.112.9 with SMTP id im9mr31962049obb.74.1325179555516; Thu, 29 Dec 2011 09:25:55 -0800 (PST) Received: by 10.182.220.33 with HTTP; Thu, 29 Dec 2011 09:25:55 -0800 (PST) X-Originating-IP: [93.221.166.180] In-Reply-To: References: Date: Thu, 29 Dec 2011 18:25:55 +0100 Message-ID: From: "C. P. Ghost" To: Irk Ed Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:25:56 -0000 On Thu, Dec 29, 2011 at 10:01 AM, Irk Ed wrote: > For the first time, a customer is asking me for root access to said > customer's servers. Are we talking about jail(8)- or server-level root access? -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:40:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B341065670 for ; Thu, 29 Dec 2011 17:40:16 +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 3392E8FC08 for ; Thu, 29 Dec 2011 17:40:15 +0000 (UTC) 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 pBTHYB5m024632; Thu, 29 Dec 2011 12:34:11 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id pBTHYBmJ024631; Thu, 29 Dec 2011 12:34:11 -0500 (EST) (envelope-from jerrymc) Date: Thu, 29 Dec 2011 12:34:11 -0500 From: Jerry McAllister To: Walter Alejandro Iglesias Message-ID: <20111229173411.GC24443@gizmo.acns.msu.edu> References: <20111229161611.GA81214@chancha.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111229161611.GA81214@chancha.local> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:40:16 -0000 On Thu, Dec 29, 2011 at 05:16:11PM +0100, Walter Alejandro Iglesias wrote: Hi, I am not expert on all this, but can give a couple of impressions. > Hello, > > I am giving my firsts steps with FreeBSD. Welcome to FreeBSD. It is a good system. > I've searched a lot in google, mailing list, forums, freebsd > handbook and I am still not clear about the following. > > In a RELEASE fresh install, after updating the ports using i.e. > portsnap, the packages downloaded with pkp_add -r are older > versions respect their port counterparts, leading to > dependencies issues. So, once the ports tree is updated: > > 1) Am I forced to compile all? Anything that has changed and anything that depends on those things. That can mean a lot of recompiling. > > 2) Should I use STABLE to get the same versions with pkg_add > than compiling up to date ports? Are STABLE packages compiled > from this ports? Check this page: http://www.freebsd.org/ports/ It's more accurate than what I started to wrie. The ports tree and the OS release generally sync up when a RELEASE comes out, but that soon begins to diverge as ports are changed. Ports are worked on independently by port maintainers. ////jerry > 3) In case my assumption above is correct; taking in care that > in a production system it is advisable (handbook) to stay with > RELEASE, should I avoid updating the ports tree in i.e. a server > machine? What to do with broken ports in this case? > > Resuming, is there a default way to install-update the software > keeping ports and binary packages in one piece? What is > advisable in general terms for a desktop and what for a server? > > It will be enough for me if someone just point me to documentation. > > Big thanks > > > Walter > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:48:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29024106566B for ; Thu, 29 Dec 2011 17:48:25 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id E3A348FC13 for ; Thu, 29 Dec 2011 17:48:24 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id pBTHdiPG005387; Thu, 29 Dec 2011 11:48:23 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa01.fnfis.com with ESMTP id 120vt7011m-8 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 29 Dec 2011 11:48:23 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 29 Dec 2011 11:48:21 -0600 From: Devin Teske To: , References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> In-Reply-To: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> Date: Thu, 29 Dec 2011 09:48:32 -0800 Message-ID: <037401ccc652$15417110$3fc45330$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGz414ZjZvFfn09R91T/LcHCx+y1gGfdZfqASwnQlWWDn/nsA== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-29_06:2011-12-29, 2011-12-29, 1970-01-01 signatures=0 Cc: Subject: RE: Static IP on a 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: Thu, 29 Dec 2011 17:48:25 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of james@colannino.org > Sent: Thursday, December 29, 2011 9:21 AM > To: freebsd-questions@freebsd.org > Subject: Re: Static IP on a Bridge > > Quoting Matthew Seaman : > > > What's the error message you see when you fail to ping out? > > ping: cannot resolve google.com: Host name lookup failure > > > What does the routing table (netstat -r) look like before and after DHCP? > > Before DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > localhost link#11 UH 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > After DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGS 0 0 bridge > localhost link#11 UH 0 0 lo0 > 192.168.1.0 link#12 U 0 1 bridge > 192.168.1.103 link#12 UHS 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > > What does your arp table look like (arp -a) before and after DHCP? > > Before DHCP: > > (nothing was printed to the screen) > > After DHCP: > > ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds [bridge] ? > (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] > > I can see that something is definitely not right. Not sure how to fix /etc/rc.conf > so that it will be setup correctly, though. Thank you for the help! Add the following line (exactly as it appears) to /etc/rc.conf: defaultrouter="192.168.1.1" -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:55:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213E7106566B for ; Thu, 29 Dec 2011 17:55:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C47808FC08 for ; Thu, 29 Dec 2011 17:55:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id 77A093CB2B; Thu, 29 Dec 2011 18:55:33 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBTHtWX2002223; Thu, 29 Dec 2011 18:55:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 29 Dec 2011 18:55:32 +0100 From: Polytropon To: Walter Alejandro Iglesias Message-Id: <20111229185532.7aeaeaf6.freebsd@edvax.de> In-Reply-To: <20111229161611.GA81214@chancha.local> References: <20111229161611.GA81214@chancha.local> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:55:35 -0000 On Thu, 29 Dec 2011 17:16:11 +0100, Walter Alejandro Iglesias wrote: > Hello, > > I am giving my firsts steps with FreeBSD. > I've searched a lot in google, mailing list, forums, freebsd > handbook and I am still not clear about the following. > > In a RELEASE fresh install, after updating the ports using i.e. > portsnap, the packages downloaded with pkp_add -r are older > versions respect their port counterparts, leading to > dependencies issues. So, once the ports tree is updated: > > 1) Am I forced to compile all? No, you aren't forced to anything. :-) In case you intend to bring your _installed_ programs up to date (where "date" is indicated by the ports tree), use a tool like portmaster or portupgrade to upgrade all that need upgrading. > 2) Should I use STABLE to get the same versions with pkg_add > than compiling up to date ports? RELEASE and STABLE are related to the OS, not to the 3rd party applications found in the ports tree. If to use RELEASE (with -p security patches) or following STABLE depends on your requirements. OS and installed applications are independent (mostly). > Are STABLE packages compiled > from this ports? Yes. From time to time, a "snapshot" of the (continuously evolving) ports tree is used to build the binary packages. _Which_ set of packages will be requested by running "pkg_add -r " depends on $PACKAGEROOT. For example, if it is set to ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest it will use the latest packages (which are slightly behind actual ports in most cases). But if ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release is used, the packages of RELEASE will be used, such as you can find them on the installation media > 3) In case my assumption above is correct; taking in care that > in a production system it is advisable (handbook) to stay with > RELEASE, should I avoid updating the ports tree in i.e. a server > machine? That depends on the usage profile of that system. You should keep track of _any_ security issues you might have with the ports you use (e. g. web servers, PHP, MySQL and other "potentially dangerous" stuff). You can use freebsd-update to follow RELEASE-p to get the security updates for the RELEASE you are running. If you don't update the ports tree, it will stay at the date of RELEASE, delivering ports from exactly that date. It's often the better choice to update the ports tree and upgrade ports that need this (as I said before, primarily for security reasons, as you did mention a production system, where "bleeding edge" is often _not_ desired). > What to do with broken ports in this case? The RELEASE tree typically doesn't contain broken ports. If an updated ports tree does, update it again soon and try again. :-) In contrast to portsnap, you can use the "classic approach" of using csup to update your ports tree. For smaller deltas, this is acceptable, and it will deliver you the "freshest" ports tree available. > Resuming, is there a default way to install-update the software > keeping ports and binary packages in one piece? I don't think so. The desired method depends on your actual usage requirements. I'd suggest to have a look at a port management tool such as portmaster or portupgrade, as both can handle both building from source and using precompiled binary packages, and keep track of dependencies and automated upgrades. > What is > advisable in general terms for a desktop and what for a server? Also depends on your usage model. For example, my home system is a kind of "install once, then keep using" installation. I'm running 8.2-STABLE and ports from an updated tree. For a server, this approach might not fit - maybe you want to keep all things binary there, or from source only. > It will be enough for me if someone just point me to documentation. The FreeBSD Handbook. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 17:58:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1047A106564A for ; Thu, 29 Dec 2011 17:58:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9F26C8FC08 for ; Thu, 29 Dec 2011 17:58:10 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id B8E713CB2B; Thu, 29 Dec 2011 18:58:09 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBTHw917002227; Thu, 29 Dec 2011 18:58:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 29 Dec 2011 18:58:09 +0100 From: Polytropon To: Carl Johnson Message-Id: <20111229185809.0b28e71f.freebsd@edvax.de> In-Reply-To: <87y5tvcn9a.fsf@oak.localnet> References: <20111229105847.e15848ba.freebsd@edvax.de> <4EFC3FA3.1060603@my.gd> <87y5tvcn9a.fsf@oak.localnet> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 17:58:11 -0000 On Thu, 29 Dec 2011 09:15:45 -0800, Carl Johnson wrote: > Damien Fleuriot writes: > > > On 12/29/11 10:58 AM, Polytropon wrote: > >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > >>> For the first time, a customer is asking me for root access to said > >>> customer's servers. > >> > > >>> Assuming that I'll be asked to continue administering said servers, I guess > >>> I should at least enable accounting... > >> > >> You could have better success using sudo. Make sure > >> the customer is allowed to "sudo ". The > >> sudo program will log _all_ things the customer > >> does, so you can be sure you can review actions. > >> Furthermore you don't need to give him the _real_ > >> root password. He won't be able to "su root" or > >> to login as root, _real_ root. But he can use > >> the "sudo" prefix to issue commands "with root > >> privileges". > >> > > > > "sudo su -" or "sudo sh" and the customer gets a native root shell which > > does *not* log commands ! > > The sudoers manpage mention the noexec option which is designed to help > with the first problem. They also show an example using !SHELLS which > can help with the second. It's also worth mentioning "super" again - as an alternative to "sudo". But after all, if restricted in any way, both of them are _not_ requivalent to "full root access" (equals: root + root's password) which the customer initially demanded. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 18:05:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD4A8106564A for ; Thu, 29 Dec 2011 18:05:53 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id A28BE8FC14 for ; Thu, 29 Dec 2011 18:05:53 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa06 [127.0.0.1]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with SMTP id pBTHPoch027610; Thu, 29 Dec 2011 12:05:50 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa06.fnfis.com with ESMTP id 120uuugcd0-56 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 29 Dec 2011 12:05:50 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 29 Dec 2011 12:05:48 -0600 From: Devin Teske To: "'Polytropon'" , "'Carl Johnson'" References: <20111229105847.e15848ba.freebsd@edvax.de> <4EFC3FA3.1060603@my.gd> <87y5tvcn9a.fsf@oak.localnet> <20111229185809.0b28e71f.freebsd@edvax.de> In-Reply-To: <20111229185809.0b28e71f.freebsd@edvax.de> Date: Thu, 29 Dec 2011 10:05:58 -0800 Message-ID: <037601ccc654$84d8b950$8e8a2bf0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHPbAPIfEGROQk6Re1X5Nfe/oRlLgITUR2oAoozgJwCBvLqZQJ4X9UPlaTowhA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2011-12-29_06:2011-12-29, 2011-12-29, 1970-01-01 signatures=0 Cc: freebsd-questions@freebsd.org Subject: RE: OT: Root access policy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 18:05:54 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Polytropon > Sent: Thursday, December 29, 2011 9:58 AM > To: Carl Johnson > Cc: freebsd-questions@freebsd.org > Subject: Re: OT: Root access policy > > On Thu, 29 Dec 2011 09:15:45 -0800, Carl Johnson wrote: > > Damien Fleuriot writes: > > > > > On 12/29/11 10:58 AM, Polytropon wrote: > > >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > > >>> For the first time, a customer is asking me for root access to > > >>> said customer's servers. > > >> > > > > >>> Assuming that I'll be asked to continue administering said > > >>> servers, I guess I should at least enable accounting... > > >> > > >> You could have better success using sudo. Make sure the customer is > > >> allowed to "sudo ". The sudo program will log _all_ things > > >> the customer does, so you can be sure you can review actions. > > >> Furthermore you don't need to give him the _real_ root password. He > > >> won't be able to "su root" or to login as root, _real_ root. But he > > >> can use the "sudo" prefix to issue commands "with root privileges". > > >> > > > > > > "sudo su -" or "sudo sh" and the customer gets a native root shell > > > which does *not* log commands ! > > > > The sudoers manpage mention the noexec option which is designed to > > help with the first problem. They also show an example using !SHELLS > > which can help with the second. > > It's also worth mentioning "super" again - as an alternative to "sudo". But after all, > if restricted in any way, both of them are _not_ requivalent to "full root access" > (equals: root + root's password) which the customer initially demanded. > I highly recommend reading audit(4) and then audit(8) (in that order). This will catch more security instances than simply relying on sudo(8) logging -- which won't catch any commands once the user has "become root" (ala "sudo su -" for example). Once upon a time (RELENG_4), we used a kernel module named "lrexec" which logged all system calls to exec(3) family of functions, but it was too verbose. audit(4) replaces our need for lrexec. -- Devin > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 18:14:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4419E106566B for ; Thu, 29 Dec 2011 18:14:28 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5468FC08 for ; Thu, 29 Dec 2011 18:14:28 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [17.113.34.32] by asmtp019.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LWZ00GSB6JL0P80@asmtp019.mac.com> for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 17:14:11 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2011-12-29_06:2011-12-29, 2011-12-29, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1112290158 From: Chuck Swiger In-reply-to: <20111229161611.GA81214@chancha.local> Date: Thu, 29 Dec 2011 12:14:08 -0500 Message-id: <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> References: <20111229161611.GA81214@chancha.local> To: Walter Alejandro Iglesias X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 18:14:28 -0000 On Dec 29, 2011, at 11:16 AM, Walter Alejandro Iglesias wrote: > I am giving my firsts steps with FreeBSD. Greetings and welcome... > In a RELEASE fresh install, after updating the ports using i.e. > portsnap, the packages downloaded with pkp_add -r are older > versions respect their port counterparts, leading to > dependencies issues. So, once the ports tree is updated: There are tools like portmaster & portupgrade which help manage the issue of changing dependencies. > 1) Am I forced to compile all? Mostly, no. There are a few ports which cannot be made available as packages, typically due to licensing issues. > 2) Should I use STABLE to get the same versions with pkg_add > than compiling up to date ports? Are STABLE packages compiled > from this ports? -STABLE refers to the FreeBSD OS. There is no such thing as -STABLE for ports/packages. > 3) In case my assumption above is correct; taking in care that > in a production system it is advisable (handbook) to stay with > RELEASE, should I avoid updating the ports tree in i.e. a server > machine? The ports tree and the OS aren't directly related. People ought to be fine running a -RELEASE version of FreeBSD with the latest ports tree (or packages compiled from the ports tree). > What to do with broken ports in this case? Fix them? Revert to a working backup? > Resuming, is there a default way to install-update the software > keeping ports and binary packages in one piece? portupgrade and portmaster (mentioned earlier) do this. They can be told to use precompiled packages in preference to building locally, and you can even set up a local package repository if you want to build your own packages with specific options that you prefer. > What is advisable in general terms for a desktop and what for a server? Well, a casual desktop user tends to upgrade whenever they feel motivated to, whereas a server ought to be managed. Part of managing a server is deciding when and how often to update it, based on workload, fault-tolerance, security, and other concerns. You might start by using portaudit, and upgrading ports whenever a security issue is noticed with a port that you have installed. > It will be enough for me if someone just point me to documentation. It's not clear whether you'd read the Handbook? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 18:53:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4AA2106566B for ; Thu, 29 Dec 2011 18:53:29 +0000 (UTC) (envelope-from roquesor@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 79ADD8FC1A for ; Thu, 29 Dec 2011 18:53:29 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so23455462wgb.31 for ; Thu, 29 Dec 2011 10:53:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=P6ex3aYsb5yZ9oXhpBzvPgHUoUT3LLYlw+EpMYTpK9Y=; b=fd1FO/0jqvE4bDtPJpONNMn0Wdgg5EbRpBoGOZtuvlKOk4OjYFvqgnlDsjQmsWeYUu wVN+jiWWh+wuqWlb+2E+4K4yjpKVnOtM6t0t86TavAaM9cYn9xveDc11yPp4IEn/rYYN Y7VUOTDKL0w0IsraiwPvB38raNbVwPYnwlajY= Received: by 10.227.60.78 with SMTP id o14mr36159859wbh.9.1325184808571; Thu, 29 Dec 2011 10:53:28 -0800 (PST) Received: from localhost (39.Red-88-9-116.dynamicIP.rima-tde.net. [88.9.116.39]) by mx.google.com with ESMTPS id fg15sm36633549wbb.7.2011.12.29.10.53.26 (version=SSLv3 cipher=OTHER); Thu, 29 Dec 2011 10:53:27 -0800 (PST) Date: Thu, 29 Dec 2011 19:53:25 +0100 From: Walter Alejandro Iglesias To: freebsd-questions@freebsd.org Message-ID: <20111229185325.GA56404@chancha.local> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> User-Agent: Mutt/1.4.2.3i Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 18:53:30 -0000 I really appreciate that you all, Jerry, Polytropon and Chuck, took your time to answer me. But I think some of you understood paragraphs like individual-separated statements, that's why you did not fully understand my question (my horrible English helps too :-)). Let's see if I can explain myself. I know that FreeBSD base system and 3rd party are "managed" separately. For RELEASE I meant the ports included in a fresh RELEASE install. The scenario is: what to do after a fresh RELEASE install. Once you updated the ports with 'portsnap fech extract update' you have newer versions at the port tree. Then you can upgrade the already installed software using portupgrade... But compiling! Because, to download *binary* packages, both tools, portupgrade and pkg_add, will download RELEASE, STABLE or CURRENT versions of software depending on what you put in PACKAGESITE variable. So, unless I am missing some portupgrade option-feature, once the port tree is updated I must compile all from source. The opposite leads to dependencies issues. Walter From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 19:03:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A39106566B for ; Thu, 29 Dec 2011 19:03:03 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B60A8FC18 for ; Thu, 29 Dec 2011 19:03:02 +0000 (UTC) Received: by werb13 with SMTP id b13so11909627wer.13 for ; Thu, 29 Dec 2011 11:03:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hDMbdeB2+DEVqKKAqEoASncSnfoHj/FZnDQzsXlhdto=; b=IGYuSxG0nIupPh0sI4pVu5UXuISlNiz0FkPKq+U+TguZ2AX28Z8uqgw41UsVfv/SHe duVMIMzZyirF+N55TDR0RAh0kXbPVS8OcoKJzR7gSUeUs/UfodYDdeeqhxY2C0DfUpXu /GY24kTny9wfn6KHaM1FkhLzfDR9Dwr/Qfvvg= MIME-Version: 1.0 Received: by 10.216.134.91 with SMTP id r69mr7197794wei.1.1325185381493; Thu, 29 Dec 2011 11:03:01 -0800 (PST) Received: by 10.223.157.198 with HTTP; Thu, 29 Dec 2011 11:03:01 -0800 (PST) In-Reply-To: <20111229185325.GA56404@chancha.local> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> Date: Thu, 29 Dec 2011 13:03:01 -0600 Message-ID: From: Adam Vande More To: Walter Alejandro Iglesias Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 19:03:03 -0000 On Thu, Dec 29, 2011 at 12:53 PM, Walter Alejandro Iglesias < roquesor@gmail.com> wrote: > So, unless I am missing some portupgrade option-feature, once > the port tree is updated I must compile all from source. The > opposite leads to dependencies issues. > portmaster -P Yes, this will likely result in a significant amount of compiling depending time from RELEASE and your chosen packages and whatever PACKAGESITE is set to eg stable. That is the price you pay for updated software on FreeBSD. Also be sure to read /usr/ports/UPDATING There are man pages and a handbook page which explain all this in detail. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 19:28:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24BCA106566C for ; Thu, 29 Dec 2011 19:28:48 +0000 (UTC) (envelope-from roquesor@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A5A278FC08 for ; Thu, 29 Dec 2011 19:28:47 +0000 (UTC) Received: by werb13 with SMTP id b13so11923057wer.13 for ; Thu, 29 Dec 2011 11:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=heOE7hNurP6naFdrsxPPFGXrmG9wuKLe2YJPil4Xicw=; b=YwEB8tGm1GrIIm+yi//v78czg/zC5VS+fx6MSM6Ws3SfZ+JECcmMXkYIhllQsmc+0o 421/IEyJTS3cUM/djj2sQ/5QxFLMfSs0T422yP2d+74c05GYcsQniw5Dp0Vvvt+pmQCU puEtbm4Pfz1Nh6Aw2YuQ64QlNKuTfJl7uI4nk= Received: by 10.216.131.95 with SMTP id l73mr20482905wei.39.1325186926503; Thu, 29 Dec 2011 11:28:46 -0800 (PST) Received: from localhost (39.Red-88-9-116.dynamicIP.rima-tde.net. [88.9.116.39]) by mx.google.com with ESMTPS id 1sm85719645wiz.11.2011.12.29.11.28.44 (version=SSLv3 cipher=OTHER); Thu, 29 Dec 2011 11:28:45 -0800 (PST) Date: Thu, 29 Dec 2011 20:28:42 +0100 From: Walter Alejandro Iglesias To: freebsd-questions@freebsd.org Message-ID: <20111229192842.GA71854@chancha.local> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 19:28:48 -0000 On Thu, Dec 29, 2011 at 01:03:01PM -0600, Adam Vande More wrote: > That is the price you pay for updated software on FreeBSD. > OK, Adam. That's almost as expected. > -- > Adam Vande More Thanks to all. Walter From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 20:10:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8713106564A for ; Thu, 29 Dec 2011 20:10:46 +0000 (UTC) (envelope-from jedwards@bsdftw.org) Received: from mail.bsdftw.org (unknown [IPv6:2001:470:c630:3000::]) by mx1.freebsd.org (Postfix) with ESMTP id C47468FC0C for ; Thu, 29 Dec 2011 20:10:46 +0000 (UTC) Received: from webmail.bsdftw.org (websrv [IPv6:2001:470:c630:1000::]) by mail.bsdftw.org (Postfix) with ESMTP id BCB3457B5 for ; Thu, 29 Dec 2011 15:10:45 -0500 (EST) Received: from 75.149.97.29 (SquirrelMail authenticated user jedwards) by webmail.bsdftw.org with HTTP; Thu, 29 Dec 2011 15:10:46 -0500 Message-ID: In-Reply-To: <80adac46ceb89a5ac93109a46115f7b6.squirrel@webmail.bsdftw.org> References: <80adac46ceb89a5ac93109a46115f7b6.squirrel@webmail.bsdftw.org> Date: Thu, 29 Dec 2011 15:10:46 -0500 From: "James Edwards" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: ZFS upgrade path X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 20:10:47 -0000 On Wed, December 28, 2011 12:18, James Edwards wrote: > There are four disks, all in a single storage pool - tank. > > Here is the naming convention I planned on following after 9.0 is > released: > > tank/9.0 > tank/9.0/usr > tank/9.0/var > tank/9.0/tmp > and so on > > This way, in theory at least, when 9.1 (or 10.0) is released, I can simply > create tank/9.1 and the associated data sets, make my changes to /etc and > /boot, change the zfs bootfs, reboot, and finally upgrade the ZFS pools. > > Is this feasible to do, or are there any caveats/gotchas I'm overlooking? > It took some time to do, but I was able to demonstrate within VirtualBox that this can be done. I found it important when creating tank/8.2/usr and tank/8.2/var to specify 'canmount=off', this way the datasets below it inherit the correct mountpoints. After installing 8.2, I created tank/9.0-RC3, associated datasets and then installed 9.0-RC3 to it. From there, I had to create a loader.conf and rc.conf, copy the zpool.cache to the dataset, change the bootfs ('zpool set bootfs=tank/9.0 tank'), change the zfs mountpoints and reboot. After I rebooted, I was able to upgrade the zpool to v28. While this was done from a minimal clean install, it *should* work from a system that is using the user-land (as long as the daemons are stopped). From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 20:41:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AA91106564A for ; Thu, 29 Dec 2011 20:41:02 +0000 (UTC) (envelope-from akshay.sreeramoju@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0321A8FC1C for ; Thu, 29 Dec 2011 20:41:01 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so12381704wib.13 for ; Thu, 29 Dec 2011 12:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=eOR335DvKyXu457VIRHIx1LRKgGhaQG06sJvhCDihL4=; b=ITD+fPcPmwk0gNW+SfVQj/Vx+s+NaQhQgMfFOsBuJ9POY+pqN5S5efuhnovRdeqzHU uheeourik0zNIMDHJT92QS2pCGZ1IRRE8olccuW4Wj8UMQaF8dSIv1EgeATGBz2ux55l xzZZNvUJjnMyUkb/AdGDfhuUbRUXjIk1t7s7k= MIME-Version: 1.0 Received: by 10.180.83.69 with SMTP id o5mr81469401wiy.1.1325189489451; Thu, 29 Dec 2011 12:11:29 -0800 (PST) Received: by 10.223.160.66 with HTTP; Thu, 29 Dec 2011 12:11:29 -0800 (PST) Date: Thu, 29 Dec 2011 12:11:29 -0800 Message-ID: From: akshay sreeramoju To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Host Dynamic DNS configuration for 8.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 20:41:02 -0000 Hi, What is the required configuration in a FreeBSD 8.2 release host for it to publish its name in a dynamic dns supported network? LINUX: For a Linux host with name x.y.z.com I had to do the following: =3D=3D=3D=3D=3D # echo "DHCP_HOSTNAME=3Dx;" >> /etc/sysconfig/network-scripts/ifcfg-eth0 # echo "PEERDNS=3Dno" >> /etc/sysconfig/network-scripts/ifcfg-eth0 # echo "SEARCH=3D\" y.z.com" >> /etc/sysconfig/network # echo "HOSTNAME=3Dx.y.z.com" >> /etc/sysconfig/network # reboot SEARCH: Couldnt find for host configuration =3D=3D=3D=3D=3D=3D=3D My Google search gave some links describing Linux host configuration but none for freebsd host configuration. Some described FreeBSD server configuration though ( http://www.google.com/search?hl=3Den&client=3Dfirefox-a&hs=3Dl2M&rls=3Dorg.= mozilla%3Aen-US%3Aofficial&q=3Dconfiguring+dynamic+dns+freebsd+dhcp+client&= oq=3Dconfiguring+dynamic+dns+freebsd+dhcp+client&aq=3Df&aqi=3D&aql=3D&gs_sm= =3De&gs_upl=3D13114l14889l0l15039l12l12l0l11l0l0l166l166l0.1l1l0, http://alex.kruijff.org/FreeBSD/Dynamic_DNS.html). TIA, Akshay From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 21:14:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B09E7106566C for ; Thu, 29 Dec 2011 21:14:34 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5A58FC08 for ; Thu, 29 Dec 2011 21:14:33 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBTLET6V002311 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 29 Dec 2011 21:14:29 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBTLET6V002311 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325193269; bh=6tGPPYo0A8ZG9k/glNsND+17ll8gCZOvJ3K53a28wvg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=ohKcZz05Isig3/QtsFsnvJXT0CQPo9KsPTInCqEYzAKugqtNUZ49VWa77XjcgmWIR UWA1CBjvx4XeGx0WMAcq7YbIOHf/A7SrLGUF2cLssJkeHs0oab2+7bIyQqu/u8RADr WcHTShUEwHJAqhCvebQuI1t3wjwyQtYXqk7jQ97Y= Message-ID: <4EFCD82D.5050504@infracaninophile.co.uk> Date: Thu, 29 Dec 2011 21:14:21 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig445536FC2D7EAB634E269D84" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 21:14:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig445536FC2D7EAB634E269D84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/12/2011 20:11, akshay sreeramoju wrote: > What is the required configuration in a FreeBSD 8.2 release host for it= to > publish its name in a dynamic dns supported network? Something like this in /etc/dhclient.conf: interface "em0" { send host-name "foo.example.com"; } See dhclient.conf(5), particularly the EXAMPLES section at the end. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig445536FC2D7EAB634E269D84 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk782DUACgkQ8Mjk52CukIyBCQCfaT4UYT/cow89G2Sl0rRPZ0AM TKcAn02UzuetI3E8tSno+t0KPSSh6CTs =42kE -----END PGP SIGNATURE----- --------------enig445536FC2D7EAB634E269D84-- From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 21:28:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5301C106566C for ; Thu, 29 Dec 2011 21:28:03 +0000 (UTC) (envelope-from junkrigsailor@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2F09B8FC16 for ; Thu, 29 Dec 2011 21:28:02 +0000 (UTC) Received: by pbcc3 with SMTP id c3so11475567pbc.13 for ; Thu, 29 Dec 2011 13:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=1E0kHCkNjFVrQycQHh5g2JOG/cLN7sZwxlC3v45Ndbg=; b=hpTSfhniQEDkymdUCxpsTbxFa3NDU30RmKk028Ma1NgR4yIzanFnEZUw3rpgRel+32 CF0GIo8sqRYUyXmvIYYzZrIO7qIJOI8N6F0WfqTE4vjc+OCpMacq9TIeydchIMSmCUl+ Dm6CHjkbnJHbdOUW7vTfadC1jWt6B/yLZfmgw= MIME-Version: 1.0 Received: by 10.68.197.8 with SMTP id iq8mr39859557pbc.9.1325192777859; Thu, 29 Dec 2011 13:06:17 -0800 (PST) Received: by 10.68.25.233 with HTTP; Thu, 29 Dec 2011 13:06:17 -0800 (PST) Date: Thu, 29 Dec 2011 15:06:17 -0600 Message-ID: From: Jeffrey McFadden To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: very small "workgroup" network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 21:28:03 -0000 I feel really inferior to the community here, but I have to ask because I simply don't know: What do I need to do to create a small (3 PC-BSD) home network? I could do this in no time in Windows, but I don't know how to find, configure, and enable the files necessary to make these machines talk to each other and allow browsing to shared resources. h The connectivity is in place (each can access the internet.) I've Googled considerably and not found instructions. Just a pointer to instructions on the web somewhere would be fine. Blushing and grateful, Jeff ><> ><> ><> ><> ><> ><> ><> <>< <>< <>< <>< <>< <>< <>< From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 22:06:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4824106564A for ; Thu, 29 Dec 2011 22:06:26 +0000 (UTC) (envelope-from akshay.sreeramoju@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4BC738FC13 for ; Thu, 29 Dec 2011 22:06:26 +0000 (UTC) Received: by wgbds13 with SMTP id ds13so19121462wgb.1 for ; Thu, 29 Dec 2011 14:06:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UaDTrtMEkGEzBFE+eWy/7D2YBp83nVvuWxxJC3HrOd0=; b=MjvfsFq1sfrmPvFtR06uSy1YoNRwQjKXGlX62rsXdImxzCeUSlRCodKd+V6pVrI0CC 5XZ6j2FiN+UoBbq0hrcXCv7clxFW5lrFljIFikjOQvAhxNxYMc58ZoITguz0ixzkNfUM pyW6VSaoqEv8LUs8j4Ks2+LBik9iXDB0QARZw= MIME-Version: 1.0 Received: by 10.216.137.28 with SMTP id x28mr20814456wei.0.1325196384337; Thu, 29 Dec 2011 14:06:24 -0800 (PST) Received: by 10.223.160.66 with HTTP; Thu, 29 Dec 2011 14:06:24 -0800 (PST) In-Reply-To: <4EFCD82D.5050504@infracaninophile.co.uk> References: <4EFCD82D.5050504@infracaninophile.co.uk> Date: Thu, 29 Dec 2011 14:06:24 -0800 Message-ID: From: akshay sreeramoju To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 22:06:26 -0000 Thanks Matthew. It works. Akshay On Thu, Dec 29, 2011 at 1:14 PM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 29/12/2011 20:11, akshay sreeramoju wrote: > > What is the required configuration in a FreeBSD 8.2 release host for it > to > > publish its name in a dynamic dns supported network? > > Something like this in /etc/dhclient.conf: > > interface "em0" { > send host-name "foo.example.com"; > } > > See dhclient.conf(5), particularly the EXAMPLES section at the end. > > Cheers, > > Matthew > > From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 22:41:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D47641065672 for ; Thu, 29 Dec 2011 22:41:09 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from nm23-vm0.access.bullet.mail.mud.yahoo.com (nm23-vm0.access.bullet.mail.mud.yahoo.com [66.94.236.141]) by mx1.freebsd.org (Postfix) with SMTP id 8ABD38FC15 for ; Thu, 29 Dec 2011 22:41:09 +0000 (UTC) Received: from [66.94.237.126] by nm23.access.bullet.mail.mud.yahoo.com with NNFMP; 29 Dec 2011 22:27:29 -0000 Received: from [98.139.221.71] by tm1.access.bullet.mail.mud.yahoo.com with NNFMP; 29 Dec 2011 22:27:29 -0000 Received: from [127.0.0.1] by smtp108.rog.mail.bf1.yahoo.com with NNFMP; 29 Dec 2011 22:27:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1325197649; bh=gHDqw70R1EYA7q2hnGCRAuu/kRxfYWLWrathpv24elY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=3oOfIrWMIqAGnfM91aXFTpNYH/R4HdfzEzWfPWvclnwdweFNp60fehc44lYDO+twIsShi8AGUBAkIamOtd/sG+16cJlPKBOICwKYmJ+hBUlSk+ULHIRxiLcd9Xn3hEUh2lqj6n+Yh3bJS91L8DRWBhg/fzZWHIO23KMNkC/hIiY= X-Yahoo-Newman-Id: 506007.40925.bm@smtp108.rog.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gDCd1D0VM1ngnTekg9HjEm01qxdxgmd0p7LQJgZEVlCtCJR AGMQPmOX5bCprqM5XijOmOY_gsiRn78Z315KZw7d0JjAUiWEd6mGFuXeBMeK 6KMBHQV.YMGXRqr.pdJ97C_gN2jFLG0rzrPidalaQ3D4dZtVxm1q.zvfAj7W EfpSVauxLpoOxZXzzqrGok52yMNyI73fVAX9lzjwjwdJIgQoQ8R0ZrJIsqiX 9zj_LrldhmGRIMetUaxDxDWKGkaLEDEwvW.njQ8wzpyVW8zv9MLH4y_ebCUX U99S0NbszlyBp1fFhAsQpm.IlI9qumnYtV0MHwIC1lEYvk.nyxtlmQoP9KvU OhL5jhfEC_1O2yE5FnRvLi1iitoMEC.UH2uwZf8_Bby0Ko1IeDkvCu6d56fN WTHE_0H5.WisVE4PzUu8wZFmsSwE- X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- Received: from europa (mike.jeays@99.224.68.20 with login) by smtp108.rog.mail.bf1.yahoo.com with SMTP; 29 Dec 2011 14:27:29 -0800 PST Date: Thu, 29 Dec 2011 17:27:28 -0500 From: Mike Jeays To: freebsd-questions@freebsd.org Message-ID: <20111229172728.7fca8281@europa> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: very small "workgroup" network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 22:41:09 -0000 On Thu, 29 Dec 2011 15:06:17 -0600 Jeffrey McFadden wrote: > I feel really inferior to the community here, but I have to ask because I > simply don't know: > > What do I need to do to create a small (3 PC-BSD) home network? I could do > this in no time in Windows, but I don't know how to find, configure, and > enable the files necessary to make these machines talk to each other and > allow browsing to shared resources. h The connectivity is in place (each > can access the internet.) > > I've Googled considerably and not found instructions. Just a pointer to > instructions on the web somewhere would be fine. > > Blushing and grateful, > > Jeff > > ><> ><> ><> ><> ><> ><> ><> > <>< <>< <>< <>< <>< <>< <>< > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Look up NFS in the FreeBSD handbook : http://www.freebsd.org/doc/handbook/network-nfs.html and subsequent pages. It is as easy as Windows once you find out how, and performance is excellent. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 22:51:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 581A9106566B for ; Thu, 29 Dec 2011 22:51:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id DC6618FC12 for ; Thu, 29 Dec 2011 22:51:08 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so23643530wgb.31 for ; Thu, 29 Dec 2011 14:51:07 -0800 (PST) Received: by 10.227.60.14 with SMTP id n14mr36937545wbh.5.1325199067758; Thu, 29 Dec 2011 14:51:07 -0800 (PST) Received: from [192.168.0.12] (did75-17-88-165-130-96.fbx.proxad.net. [88.165.130.96]) by mx.google.com with ESMTPS id m30sm9650566wbo.18.2011.12.29.14.51.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Dec 2011 14:51:06 -0800 (PST) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8J2) Message-Id: <769D6625-AEAD-4D4F-B7D2-F407963688E0@my.gd> X-Mailer: iPhone Mail (8J2) From: Damien Fleuriot Date: Thu, 29 Dec 2011 23:50:56 +0100 To: Jeffrey McFadden Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: very small "workgroup" network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 22:51:09 -0000 On 29 Dec 2011, at 22:06, Jeffrey McFadden wrote: > I feel really inferior to the community here, but I have to ask because I > simply don't know: >=20 > What do I need to do to create a small (3 PC-BSD) home network? I could d= o > this in no time in Windows, but I don't know how to find, configure, and > enable the files necessary to make these machines talk to each other and > allow browsing to shared resources. h The connectivity is in place (each > can access the internet.) >=20 > I've Googled considerably and not found instructions. Just a pointer to > instructions on the web somewhere would be fine. >=20 > Blushing and grateful, >=20 > Jeff >=20 First of all there's no need for feeling "inferior", we all started somewher= e. Second, Mike already pointed out NFS. You may also want to look up SaMBa (CIFS windows-like sharing), and sshfs (f= ilesystem sharing over ssh).= From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 23:52:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2895106564A for ; Thu, 29 Dec 2011 23:52:56 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id A79EE8FC08 for ; Thu, 29 Dec 2011 23:52:56 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id E496F5C24 for ; Fri, 30 Dec 2011 10:05:21 +1000 (EST) Message-ID: <4EFCFC91.5060002@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 09:49:37 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EFCD82D.5050504@infracaninophile.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 23:52:57 -0000 On 12/30/11 08:06, akshay sreeramoju wrote: > Thanks Matthew. It works. > > Akshay > > On Thu, Dec 29, 2011 at 1:14 PM, Matthew Seaman< > m.seaman@infracaninophile.co.uk> wrote: > >> On 29/12/2011 20:11, akshay sreeramoju wrote: >>> What is the required configuration in a FreeBSD 8.2 release host for it >> to >>> publish its name in a dynamic dns supported network? >> Something like this in /etc/dhclient.conf: >> >> interface "em0" { >> send host-name "foo.example.com"; >> } >> >> See dhclient.conf(5), particularly the EXAMPLES section at the end. >> >> Cheers, >> >> Matthew >> >> > FWIW, I never have to set anything to get it to do this. I use ISC DHCP and BIND9 for DDNS and all my config is done on the dhcp _server_ config, not the clients. The clients are simply installed and go... :) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 00:02:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7F82106566C for ; Fri, 30 Dec 2011 00:02:18 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 880358FC14 for ; Fri, 30 Dec 2011 00:02:18 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id D110E5C24 for ; Fri, 30 Dec 2011 10:14:44 +1000 (EST) Message-ID: <4EFCFEC4.6070507@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 09:59:00 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111228075422.GA18064@admin.sibptus.tomsk.ru> <4EFAE80D.9040900@my.gd> <20111228130734.GA23763@admin.sibptus.tomsk.ru> <4EFB1B4F.2090504@my.gd> <20111228175512.GB27286@admin.sibptus.tomsk.ru> <20111229022538.GA38514@admin.sibptus.tomsk.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mutual forwarders in ISC BIND X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 00:02:18 -0000 On 12/29/11 12:45, Kevin Wilcox wrote: > On Dec 28, 2011 9:26 PM, "Victor Sudakov" wrote: > >> And the reason for the whole thread. One of the customers told me that >> 8.8.8.8 is faster than our own DNS servers which are located on the >> same 100 MBit/s LAN with them. I was shocked but it seems true, at >> least for the answers which are not yet cached. > That actually makes perfect sense. That's one of the Google DNS IP > addresses and they see a LOT of traffic, they're probably going to have the > majority of the domains your clients want to look up (assuming your clients > are like mine and most of their lookups are general web traffic) already in > cache - your servers will need to go through the whole lookup process. > > Still, after a day or two of use, I would think your servers would have the > bulk of what they needed in their caches. You may want to enable logging to > see which domains are being looked up (if it won't break any applicable > laws or policies) and do some spot-checks to see why they may not be in > your cache. > A rather amusing observation would be that they're not in the cache because the clients are using 8.8.8.8 ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 00:36:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E626B1065673 for ; Fri, 30 Dec 2011 00:36:16 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy8-pub.bluehost.com (oproxy8-pub.bluehost.com [69.89.22.20]) by mx1.freebsd.org (Postfix) with SMTP id BAED68FC15 for ; Fri, 30 Dec 2011 00:36:16 +0000 (UTC) Received: (qmail 20742 invoked by uid 0); 30 Dec 2011 00:35:55 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy8.bluehost.com with SMTP; 30 Dec 2011 00:35:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=CKMksOpC7bSRSXEot7sF+/zZx0Q8/bd1cSgoKGXmqGk=; b=jp1WrM7JC8lQcKV0yQnk8McR8jcbkGgI5af9Rt+6PvSHYchD14Z3foVXTnfAwDdhqEBziE0pWPv2sBZU9J7NEtYeXxlKhMDtsZd8kb6MEH0YyCkn01vDz61uVq5uZwz8; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1RgQRv-0004jt-3I for freebsd-questions@freebsd.org; Thu, 29 Dec 2011 17:35:55 -0700 Date: Thu, 29 Dec 2011 17:35:55 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20111230003555.GA17278@hemlock.hydra> Mail-Followup-To: 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.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: very small "workgroup" network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 00:36:17 -0000 On Thu, Dec 29, 2011 at 03:06:17PM -0600, Jeffrey McFadden wrote: > I feel really inferior to the community here, but I have to ask because I > simply don't know: > > What do I need to do to create a small (3 PC-BSD) home network? I could do > this in no time in Windows, but I don't know how to find, configure, and > enable the files necessary to make these machines talk to each other and > allow browsing to shared resources. h The connectivity is in place (each > can access the internet.) > > I've Googled considerably and not found instructions. Just a pointer to > instructions on the web somewhere would be fine. It is a little difficult to figure out exactly where to start with some guidance for how to proceed, because I do not know your circumstances. What kind of network hardware do you have, and how much network do you currently have set up? Do you have only a cable or DSL "modem"? Do you have a combination router/"modem"? Do you have a router separately from whatever connection you are using to get to the Internet (or do you even care about Internet connectivity for this network)? Even without a router, you can use a switch and some configuration in the /etc/hosts files of each system you want on the network, if you do not need a connection to an external WAN (e.g. the Internet). If you do need that external connection to the Internet, you'll probably want something (like a router) that can provide NAT (network address translation), though there are other ways to achieve such connectivity as well (i.e. IPv6 configuration), depending on your ISP. For network resource browsing, I think sshfs (as mentioned by someone else already) is probably one of the better options available to you, as long as you do not need to account for any MS Windows machines being included in the network browsing capabilities. If you do need to account for MS Windows, you'll probably want to look into using Samba for NetBIOS and CIFS -- the protocol basis for MS Windows "workgroup" networking. If I had to guess what you have going on, based on what you have said so far, I would guess you probably have some kind of DSL or cable router/"modem" device or a DSL or cable "modem" with a separate router plugged into it, and only PC-BSD machines on the network. In that situation, I would suggest searching for sshfs resources to set up network browsing, and using explicit hostname resolution configurations in the /etc/hosts files of your PC-BSD systems. This should add up to a reasonably robust, secure, and simple setup once you read up a little bit on the tools you will use. I hope that helps. ## NOTES I wrote this article a long time ago: Use The SSH Filesystem For Secure Network Filesystem Access http://blogs.techrepublic.com.com/security/?p=2589 It might be useful if you decide to go the sshfs route. You should be forewarned, however, that . . . 1. I have not looked at that article in a couple years, and can only guess I was not a complete idiot back when I wrote it. 2. TechRepublic has screwed around with its CSS so badly in the intervening years that some of the formatting is quite badly hosed up in that article. For instance, the code tags used for formatting code samples used to do code formatting *only*, allowing them to be used effectively for both separate code blocks and inline code samples; since then, in their infinite wisdom, the (relatively new) corporate masters at CBSi have decreed that code tags will also (via CSS) insert newlines before and after code samples within code tags. Please remember to take this into account when reading the article, so that it will make more sense as presented on that page. For all I know, the way TR's stylesheets handle code formatting might all change again tomorrow, and make things even worse. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 03:43:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC71E106566C for ; Fri, 30 Dec 2011 03:43:17 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 55E6A8FC0C for ; Fri, 30 Dec 2011 03:43:16 +0000 (UTC) Received: by eaaf13 with SMTP id f13so17529031eaa.13 for ; Thu, 29 Dec 2011 19:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ksq2G1XgpPJZ4MceqQUFYGS3tYzzlr4NtKAMQSUVjNY=; b=ZRLivyGF1cxCyq3my9RuS/xQ6Zol3a8WCtMmp2D1n2J/IpsZ+adJrSdYwUd2CV+fWF JQmgGXt9O1K84ZsxOtQiTvWmOuNcTUF6yf3lYYhu4x3adDAfScKfm/RKAxH0CojiQgim LM7uquvxTY6PdNZRBgZoAaCpkDCXD1XDQsWwQ= MIME-Version: 1.0 Received: by 10.204.133.212 with SMTP id g20mr9294940bkt.82.1325216596205; Thu, 29 Dec 2011 19:43:16 -0800 (PST) Received: by 10.204.130.27 with HTTP; Thu, 29 Dec 2011 19:43:16 -0800 (PST) Date: Thu, 29 Dec 2011 22:43:16 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 03:43:17 -0000 I have had an interest in studying the FreeBSD kernel and getting to know its internals better. After all, in Open source projects, they say, community contributions are important. However, My finding is that due to poor documentation, the FreeBSD kernel is nearly impenetrable to an outsider. I have been able to find no comprehensive documentation of kernel internals. I have found it nearly impossible, due to lack of comprehensive documentation, much of any of the kernel internals. What I see is an internal cliche of developers who are aware of its myraid of undocumented esoteric secrets, and very little to actually help anyone else to understand it. Any good, well designed software projects will have comprehensive documentation of the source code, this includes code comments, information on what every piece of code does, how the entire system fits together, and descriptions of every variable and function. Any well run project would insist that code contributors upload full and comprehensive documentation of how their source code is written, how it works, etc. Documentation is vital and good practice because it saves time, it prevents people new to the project having to waste immense amounts of time trying to figure out a vast and cryptic puzzle. Without good documentation software can be nearly useless, unmaintainable and difficult for an outsider to learn, to the point where it may actually take less time to just throw it out and start from scratch. These are reasons that FreeBSD needs better documentation, documentation of how the entire system fits together, what lines of code do, the purpose of variables and functions, etc, in descriptive English. This is key to developing maintainable software. I saw where someone automatically generated "documentation" with Doxygen. This is nearly useless, because all it shows is a huge list of functions and variables but does not include any text on what they do. At best, Doxygen can only provide a template for documentation that can be filled in with descriptive English information on what everything does. One idea might be to have an official wiki that contains the template generated by Doxygen which can then be filled in. When changes to the source code is made, it is good practice for the commiter of such changes to document their code as it is submitted. This allows others who come along who need to maintain the code to more easily understand what the code does. Another idea which would also improve the useability of FreeBSD would be to have a wiki which would be updated by kernel contributors whenever they add support for a certain piece of hardware. This would make finding hardware compatability information easier from one central, up to date and current source of information. These documentaiton ideas, for commiters to document their code when they upload it, and document their hardware support additions, are just good software practices that should be highly recommended and encouraged From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 06:01:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0D4A1065675 for ; Fri, 30 Dec 2011 06:01:09 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway07.websitewelcome.com (gateway07.websitewelcome.com [67.18.80.17]) by mx1.freebsd.org (Postfix) with ESMTP id 6F38D8FC0C for ; Fri, 30 Dec 2011 06:01:09 +0000 (UTC) Received: by gateway07.websitewelcome.com (Postfix, from userid 5007) id 7E768966EF779; Fri, 30 Dec 2011 00:01:08 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway07.websitewelcome.com (Postfix) with ESMTP id 72A03966EF731 for ; Fri, 30 Dec 2011 00:01:08 -0600 (CST) Received: from [127.0.0.1] (port=42601 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgVWe-0002Qy-B3; Fri, 30 Dec 2011 00:01:08 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Fri, 30 Dec 2011 00:01:08 -0600 Message-ID: <20111230000108.757121af6mf2gssk@gator1823.hostgator.com> Date: Fri, 30 Dec 2011 00:01:08 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> <037401ccc652$15417110$3fc45330$@fisglobal.com> In-Reply-To: <037401ccc652$15417110$3fc45330$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:42601 X-Source-Auth: james@colannino.org X-Email-Count: 1 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: RE: Static IP on a 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: Fri, 30 Dec 2011 06:01:09 -0000 Quoting Devin Teske : > Add the following line (exactly as it appears) to /etc/rc.conf: > > defaultrouter="192.168.1.1" That line's been there the whole time. Hasn't helped :( James From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 06:01:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 008B71065672 for ; Fri, 30 Dec 2011 06:01:53 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id BEBCA8FC14 for ; Fri, 30 Dec 2011 06:01:52 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBU64dqB069626; Fri, 30 Dec 2011 00:04:39 -0600 (CST) Date: Fri, 30 Dec 2011 00:04:39 -0600 (CST) From: Robert Bonomi Message-Id: <201112300604.pBU64dqB069626@mail.r-bonomi.com> To: djackson452@gmail.com, freebsd-questions@freebsd.org In-Reply-To: Cc: Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 06:01:53 -0000 > From owner-freebsd-questions@freebsd.org Thu Dec 29 21:46:36 2011 > Date: Thu, 29 Dec 2011 22:43:16 -0500 > From: David Jackson > To: freebsd-questions@freebsd.org > Subject: FreeBSD Kernel Internals Documentation > > I have had an interest in studying the FreeBSD kernel and getting to know > its internals better. After all, in Open source projects, they say, > community contributions are important. > > However, My finding is that due to poor documentation, the FreeBSD kernel > is nearly impenetrable to an outsider. I have been able to find no > comprehensive documentation of kernel internals. I have found it nearly > impossible, due to lack of comprehensive documentation, much of any of the > kernel internals. What I see is an internal cliche of developers who are > aware of its myraid of undocumented esoteric secrets, and very little to > actually help anyone else to understand it. You're talking abaout _volumes_ of documentation, literally many books worth. Start with "The Design and Implementation of the BSD 4.4.4 Operating System" by McKusick, eal. Then read "The design and Implementation of the FreeBSD Operating System", by McKusick and Neville-Neal.` *You* are free to contribute 'better documentation' as you review any particular file. Since you feel it is important, you are strongly encouraged to "do something" to actually 'make it better', as opposed to merely sitting on the sidelines and sniping at the work of others. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 06:02:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3616C1065677 for ; Fri, 30 Dec 2011 06:02:50 +0000 (UTC) (envelope-from james@colannino.org) Received: from gateway16.websitewelcome.com (gateway16.websitewelcome.com [69.93.35.23]) by mx1.freebsd.org (Postfix) with ESMTP id 041CD8FC1B for ; Fri, 30 Dec 2011 06:02:49 +0000 (UTC) Received: by gateway16.websitewelcome.com (Postfix, from userid 5007) id 0B23F7A13A118; Fri, 30 Dec 2011 00:02:49 -0600 (CST) Received: from gator1823.hostgator.com (gator1823.hostgator.com [184.173.227.20]) by gateway16.websitewelcome.com (Postfix) with ESMTP id F24D17A13A0F6 for ; Fri, 30 Dec 2011 00:02:48 -0600 (CST) Received: from [127.0.0.1] (port=42972 helo=localhost) by gator1823.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1RgVYG-0002n1-SC; Fri, 30 Dec 2011 00:02:48 -0600 Received: from 69.12.176.48 ([69.12.176.48]) by gator1823.hostgator.com (Horde Framework) with HTTP; Fri, 30 Dec 2011 00:02:48 -0600 Message-ID: <20111230000248.13326dss0md6si04@gator1823.hostgator.com> Date: Fri, 30 Dec 2011 00:02:48 -0600 From: james@colannino.org To: freebsd-questions@freebsd.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> <037401ccc652$15417110$3fc45330$@fisglobal.com> In-Reply-To: <037401ccc652$15417110$3fc45330$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.9) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator1823.hostgator.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - colannino.org X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (localhost) [127.0.0.1]:42972 X-Source-Auth: james@colannino.org X-Email-Count: 3 X-Source-Cap: Y3JhenlkcmM7Y3JhenlkcmM7Z2F0b3IxODIzLmhvc3RnYXRvci5jb20= Subject: RE: Static IP on a 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: Fri, 30 Dec 2011 06:02:50 -0000 Quoting Devin Teske : > Add the following line (exactly as it appears) to /etc/rc.conf: > > defaultrouter="192.168.1.1" I should probably re-port my original configuration: cloned_interfaces="bridge0 tap0 tap1" ifconfig_bridge0="addm re0 addm tap0 addm tap1 up inet 192.168.1.6 netmask 255.255.255.0" ifconfig_re0="up" ifconfig_tap0="up" ifconfig_tap1="up" defaultrouter="192.168.1.1" James From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 06:40:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 990C81065670 for ; Fri, 30 Dec 2011 06:40:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 501C98FC0C for ; Fri, 30 Dec 2011 06:40:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id 00E3F3CB1D; Fri, 30 Dec 2011 07:39:58 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBU6dwSe001961; Fri, 30 Dec 2011 07:39:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 07:39:58 +0100 From: Polytropon To: David Jackson Message-Id: <20111230073958.3949a17b.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 06:40:02 -0000 On Thu, 29 Dec 2011 22:43:16 -0500, David Jackson wrote: > However, My finding is that due to poor documentation, [...] That kind of statement doesn't fit well to FreeBSD which is known for its excellent documentation, often considered superior to other open source projects. > [...] the FreeBSD kernel > is nearly impenetrable to an outsider. I have been able to find no > comprehensive documentation of kernel internals. I have found it nearly > impossible, due to lack of comprehensive documentation, much of any of the > kernel internals. What I see is an internal cliche of developers who are > aware of its myraid of undocumented esoteric secrets, and very little to > actually help anyone else to understand it. The source code itself is very verbose and well documented. Unlike other operating systems, FreeBSD provides man pages that can be accessed offline and provide information about many kernel aspects, such as interfaces and device drivers. Searching "http://www.google.com/search?q=freebsd+kernel+hacker" or something of that kind will also bring further information and and resources. > Any good, well designed software projects will have comprehensive > documentation of the source code, this includes code comments, information > on what every piece of code does, how the entire system fits together, and > descriptions of every variable and function. Any well run project would > insist that code contributors upload full and comprehensive documentation > of how their source code is written, how it works, etc. I think this is what you'll find in the FreeBSD kernel sources. I had a random peek at some files in the /usr/src/sys subtree (where the kernel sources reside) and found that it fits your claim. > Documentation is vital and good practice because it saves time, it prevents > people new to the project having to waste immense amounts of time trying to > figure out a vast and cryptic puzzle. Without good documentation software > can be nearly useless, unmaintainable and difficult for an outsider to > learn, to the point where it may actually take less time to just throw it > out and start from scratch. I couldn't agree more. As a developer, I've worked with many operating systems, and finally I found FreeBSD which provides the documentation in a way I feel comfortable with, unlike its predecessors in my "IT career". :-) However, there are differences in how you judge documentation to be _good_. Talk to a mainframer, and he will tell you a different story. Then talk to a "Windows" person and explain what documentation is, and he'll tell you that you don't need it. :-) > These are reasons that FreeBSD needs better documentation, documentation of > how the entire system fits together, what lines of code do, the purpose of > variables and functions, etc, in descriptive English. This is key to > developing maintainable software. As I said, that _is_ what you already find in the source tree. Allow me to give you one example (out of many): File randomly picked: /usr/src/sys/nfs/nfs_common.c /* * Help break down an mbuf chain by setting the first siz bytes contiguous * pointed to by returned val. * This is used by the macros nfsm_dissect for tough * cases. (The macros use the vars. dpos and dpos2) */ void * nfsm_disct(struct mbuf **mdp, caddr_t *dposp, int siz, int left, int how) { ... and so on. Descriptive english text, usable variable and type names. Or how about /usr/sys/boot/i386/btx/btxldr/btxldr.S /* * BTX program loader for ELF clients. */ start: cld # String ops inc testl $OPT_SET(RBX_MUTE), 4(%esp) # Check first argument setnz muted # for RBX_MUTE, set flag movl $m_logo,%esi # Identify call putstr # ourselves movzwl BDA_MEM,%eax # Get base memory shll $0xa,%eax # in bytes movl %eax,%ebp # Base of user stack #ifdef BTXLDR_VERBOSE movl $m_mem,%esi # Display call hexout # amount of call putstr # base memory #endif lgdt gdtdesc # Load new GDT If that is insufficient, maybe you can give an example for comparison of how you imagine the documentation should be provided. > I saw where someone automatically generated "documentation" with Doxygen. > This is nearly useless, because all it shows is a huge list of functions > and variables but does not include any text on what they do. At best, > Doxygen can only provide a template for documentation that can be filled in > with descriptive English information on what everything does. If properly used Doxygen can help, but it's not the entire solution, I fully agree. Some people need to learn the hard way, just like me when I visited my _own_ source code a decade later and found something like kk[w.q].x = fbx(x,x0+a0+1+aa[q].t,dt,h,dh-1+3); which is totally ugly. :-) > One idea might be to have an official wiki that contains the template > generated by Doxygen which can then be filled in. When changes to the > source code is made, it is good practice for the commiter of such changes > to document their code as it is submitted. Also Wikis aren't for everything. I don't know how _you_ as a developer think about it, but _I_ like to have the documentation available _in_ the code I consult, offline, without the need to use a web browser, everything based on _files_ so I can use the system's powerful tools to work with them (e. g. search for information, filter, create lists and so on). FreeBSD has an official Wiki, and there are several others. Again a question arises: Would you like the documentation to be spread across arbitrary Wikis, user home pages, web forums and blogs? > This allows others who come along who need to maintain the code to more > easily understand what the code does. History teaches that this is achieved by using the code itself. :-) > Another idea which would also improve the useability of FreeBSD would be to > have a wiki which would be updated by kernel contributors whenever they add > support for a certain piece of hardware. This would make finding hardware > compatability information easier from one central, up to date and current > source of information. Those informations will typically be added to the UPDATING information, as well as to the release notes of an upcoming RELEASE. Deltas in the src/ subtree also indicate when something new is present. As FreeBSD is a _quality_ operating system, developers pay attention to write the documentation along with releasing new drivers, so you aren't stuck with an ugly-hacked kernel module full of lines that look like the fbx() example I gave above. :-) > These documentaiton ideas, for commiters to document their code when they > upload it, and document their hardware support additions, are just good > software practices that should be highly recommended and encouraged I fully agree with that statement. If you could, for example, point to documentation you judge _good_, or point at some FreeBSD documentation that you think needs heavy improvement, it would help to back your argumentation. Otherwise, it can be seen as "already done". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 06:48:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 838CD1065672 for ; Fri, 30 Dec 2011 06:48:10 +0000 (UTC) (envelope-from ben@b1c1l1.com) Received: from lancer.b1c1l1.com (lancer.b1c1l1.com [IPv6:2607:f358:1a:1a:1000::]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE1E8FC14 for ; Fri, 30 Dec 2011 06:48:10 +0000 (UTC) Received: from nsx.b1c1l1.com (nsx.b1c1l1.com [IPv6:2001:470:83fb:0:250:8dff:fe9a:f666]) by lancer.b1c1l1.com (Postfix) with ESMTPSA id 29AD85C2F; Thu, 29 Dec 2011 22:48:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=b1c1l1.com; s=default; t=1325227689; bh=qHZ0ywqDGHoCA4Qya2t2/EZNI6Ngc4noQI9ZtbO7cp8=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=a2cma844zoNEnS5VqE9NYBqPWZVqs0lcDwHLwpSUeNToEwj/8fPruBwUHo/0+yyYP Yutih+ztVQ7IZV0qkrBRA34KmYtg132EesJ43NL3P/RHzxyxvSbqcsSdyxdAD/IBOR PiTxgR4mWtFF1ryxeZMZLG/YupAWtOFzdjDpIFwk= Message-ID: <4EFD5E9F.3040205@b1c1l1.com> Date: Thu, 29 Dec 2011 22:47:59 -0800 From: Benjamin Lee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111119 Thunderbird/8.0 MIME-Version: 1.0 To: james@colannino.org References: <20111229014819.11102imhiognb9es@gator1823.hostgator.com> <4EFC2405.4080103@infracaninophile.co.uk> <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> In-Reply-To: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> X-Enigmail-Version: 1.3.3 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0A92E16406E4595B9C807DA7" Cc: freebsd-questions@freebsd.org Subject: Re: Static IP on a 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: Fri, 30 Dec 2011 06:48:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0A92E16406E4595B9C807DA7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/29/2011 09:21 AM, james@colannino.org wrote: > Quoting Matthew Seaman : >=20 >> What's the error message you see when you fail to ping out? >=20 > ping: cannot resolve google.com: Host name lookup failure It seems that you are currently receiving your resolver from DHCP as well, you should statically configure that in /etc/resolv.conf: nameserver 192.168.1.1 >> What does the routing table (netstat -r) look like before and after DH= CP? >=20 > Before DHCP: >=20 > Routing tables >=20 > Internet: > Destination Gateway Flags Refs Use Netif Exp= ire > localhost link#11 UH 0 0 lo0 [...] What happens if you run 'route add default 192.168.1.1' instead of DHCP? What is the output of '/etc/rc.d/routing restart'? --=20 Benjamin Lee http://www.b1c1l1.com/ --------------enig0A92E16406E4595B9C807DA7 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.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJO/V6oAAoJEAzughVKX1dUwIIQAMxS+ZHkFel6rndo4RoiGkHw OgyhPn3HewpLaSoZWqcRq8tu15vz2FdLHUgRybAnAGNDIWn92/SytfP9L0XeJWC9 reV50XgqZywKRx3mUpv5pYEptOBhew0gN0qLrMkZ6ccJKZMVG6IsFVM34Zl8jF67 zoMjRcx4fHcrg9L8R0E0ta7DNkyxh+iN//LEIDeSf+X6nMbAruwj2zOhe5R2htdc Ju6xdduMGfJN2JCoRfVJQvOfdiVca5L/2JrV3h3na4oOpiKqjfL0cASbAdfL2Ucj 2srSgfEjC/7hHhjsK5aQsdPJAiSFfhHa640tWax3K9UVTn96qXN4KmMoTslQ2/y+ sSwvEnTDiMRTusixaswJQoatYNyH/HG6fzaurmmdMwzLEQtQA0cn12H4BF8golln ItpiI2ibZTQoaR6e2olMEfmWFcdMWZJvdTFSB3l2hKjkXalO9e+LQA5WDiOGo/UC pMpGSBWBwcTH9Eee+vL9uXaCqSV6IeeRwdoC6zLA843VY3aelNvCOG/lZqW4dwJh YHKjdi5qjeoJr0TYuw5kXBkyXo2Y86JLG+47DyAJMvw/thohpVNcBrZ49Btww3TL pBCvWOAlipY3jWQ2pLwFxXR06sKcz0n1rLKgtlU9Bsh3KMozBv7rdcAG5ICxL8oD R+4ON3/ch9/iRRKtu0fy =NzVV -----END PGP SIGNATURE----- --------------enig0A92E16406E4595B9C807DA7-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 07:27:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E16E7106566C for ; Fri, 30 Dec 2011 07:27:18 +0000 (UTC) (envelope-from ufs.user@yahoo.com) Received: from nm40-vm5.bullet.mail.bf1.yahoo.com (nm40-vm5.bullet.mail.bf1.yahoo.com [72.30.239.213]) by mx1.freebsd.org (Postfix) with SMTP id 891718FC08 for ; Fri, 30 Dec 2011 07:27:18 +0000 (UTC) Received: from [98.139.212.146] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 07:13:24 -0000 Received: from [98.139.215.251] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 07:13:24 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 07:13:24 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 916584.11372.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 43815 invoked by uid 60001); 30 Dec 2011 07:13:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325229204; bh=nSQEt5tqsLcOjNrrOwwW/x7UOkvIS1EzvngPlECxh94=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=A8OCf35LM7z3vLXUTBjiD4T2J9yHVoM2rdUNLrn6e77/GiiHiuwmnLEOivQxxXirgyldOqFFDbvDVMwDq6W9ZDYXunayqGGPGblUELkhZOFH10JgUw8wxHb+4WZ35XZbb4iu9vHlek/5JlFRIS8nDZBH7kzzDxYeD1uPeWgfDpY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gBg1VhamMnX3g7MxvQJvwlnNAuvzKcwi4WIh5NxwVRANNvKykTQtUpr1hmaSg71xH2WKyLOVEX/ciImJU9ZPb1zKRXbhN98yfr/Ns5wSBcm8NTHg/phaXDemJoIBIxoVs1ychP7TDcVYz11sufx833kVhZASIxcqyuYomAgacw4=; X-YMail-OSG: maMxW9QVM1mHZhp5lrq.77SMoATQKZw952E3PT2FrbgZQ15 1Dym71nrGE3Pbi5VCVwXIFG22fGLkLNWJtoktmILU1jYx9Q5GRTSXc6ylFSc ywQZ1226Wm3iHtI9dPzxcwuXoSDuEsewzzEYoiInPHsEZgx_j3mBqOgzzqFS XeILJWAIReg2SCfCIXBEMByXQ3TtqRvHwIjV.p1QQ5kVBzLYW_NigPyysC4S ndU1JNW5JWxxPtag.7bMUqeePUDTichPQ56ZULcn44td5lAkJwZ4mOTyXgz9 JOpdr0XV9oYVq_u6eBbOrtdWyLHG0u4j6x9zXbbAHzITfuf.MMrRVcmq_IRR Nawxjd_OoaPibZJvDMIPlXjIufzDsi99_JozY8Lklxg-- Received: from [24.179.213.102] by web140405.mail.bf1.yahoo.com via HTTP; Thu, 29 Dec 2011 23:13:24 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> Date: Thu, 29 Dec 2011 23:13:24 -0800 (PST) From: UFS User To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: UFS User List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 07:27:19 -0000 I have run a lot of different FreeBSD systems off (fileservers, firewalls, = routers, etc.) off of compact flash cards[1] and have never had a CF part f= ail.=0A=0AMost of these were read-only mode, but some of them were left mou= nted 'rw' for years (with no swapping, of course). =A0The bottom line is, t= hey never=0Afailed, and some were (and are) in the field for over 8 years n= ow.=0A=0ABut everyone I know (including me) has had an SSD fail, usually wi= th no explanation.=0A=0ASo is this just chance, or ... are CF cards really = a lot more reliable than SSD ?=0A=0AIt's sloppy, but I never once considere= d mirroring my CF boot devices, and now in 2011 I am actually buying two *d= ifferent* SSDs to put into a boot mirror=0Abecause I am afraid of mirroring= identical ones and they both die at identical times.=0A=0AComments ? =A0= =0A=0A=0A=0A[1] Plain old store-bough Sandisk parts - so a good brand, but = nothing special From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 08:05:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE662106564A for ; Fri, 30 Dec 2011 08:05:55 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 815978FC0C for ; Fri, 30 Dec 2011 08:05:55 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id pBU85qxx014975; Fri, 30 Dec 2011 02:05:52 -0600 (CST) Date: Fri, 30 Dec 2011 02:05:52 -0600 (CST) From: Scott Bennett Message-Id: <201112300805.pBU85qsn014974@mp.cs.niu.edu> To: christer.solskogen@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: "portmaster --list-origins" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 08:05:55 -0000 On Thu, 29 Dec 2011 11:44:57 +0100 Christer Solskogen wrote: >On Thu, Dec 29, 2011 at 5:58 AM, Scott Bennett wrote: > >> =C2=A0 =C2=A0 Did I misunderstand something about the --list-origins opti= >on? =C2=A0Or have >> I run into a bug? =C2=A0Any suggestions of how to proceed would be welcom= >e. > >No, not a bug. >portmaster --list-origins | wc -l >58 >pkg_info | wc -l > 207 > >list-origins only lists packages that does not have any dependencies. > Ah, yes. I now see that I missed the part of the man page that says, "list directories from /usr/ports for root and leaf ports". Sigh. Thanks much for your direct reply, which I did see when it arrived, but was too tired at that point to reply to. At this point, the process has to be put on hold for the weekend, but I hope to proceed Monday night. Thanks again for your response! Also, I replied to Victor Sudakov directly, but neglected to Cc: this list, for which I apologize to anyone concerned. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 11:56:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B718D106564A for ; Fri, 30 Dec 2011 11:56:00 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 10F7D8FC08 for ; Fri, 30 Dec 2011 11:55:59 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id EDB5F5C24 for ; Fri, 30 Dec 2011 22:08:25 +1000 (EST) Message-ID: <4EFDA607.2050404@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 21:52:39 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111230073958.3949a17b.freebsd@edvax.de> In-Reply-To: <20111230073958.3949a17b.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 11:56:00 -0000 On 12/30/11 16:39, Polytropon wrote: > On Thu, 29 Dec 2011 22:43:16 -0500, David Jackson wrote: >> However, My finding is that due to poor documentation, [...] > That kind of statement doesn't fit well to FreeBSD > which is known for its excellent documentation, often > considered superior to other open source projects. I'll second that. As a sysadmin its brilliant at documenting the "core" system (maybe needs some improvement in some of the more obscure areas that aren't used often). On top of that it does well at providing support for common uses and apps. Developers probably couldn't ask for more- linux (for eg.) is a "general" thing, with the distros leaving the docs to the "common" linux community at large. FreeBSD docs are here: at FreeBSD. >> [...] the FreeBSD kernel >> is nearly impenetrable to an outsider. I have been able to find no >> comprehensive documentation of kernel internals. I have found it nearly >> impossible, due to lack of comprehensive documentation, much of any of the >> kernel internals. What I see is an internal cliche of developers who are >> aware of its myraid of undocumented esoteric secrets, and very little to >> actually help anyone else to understand it. > The source code itself is very verbose and well documented. > Unlike other operating systems, FreeBSD provides man pages > that can be accessed offline and provide information about > many kernel aspects, such as interfaces and device drivers. > > Searching "http://www.google.com/search?q=freebsd+kernel+hacker" > or something of that kind will also bring further information > and and resources. Yes it is good, but can be obtuse to someone unfamiliar. But then I'm a very green developer and more a sysadmin myself. The lists are fantastic! Very handy for someone seeking "the truth"... :) I haven't looked, but it would be good to have some irc channels handled by the team though. >> Any good, well designed software projects will have comprehensive >> documentation of the source code, this includes code comments, information >> on what every piece of code does, how the entire system fits together, and >> descriptions of every variable and function. Any well run project would >> insist that code contributors upload full and comprehensive documentation >> of how their source code is written, how it works, etc. > I think this is what you'll find in the FreeBSD kernel > sources. I had a random peek at some files in the > /usr/src/sys subtree (where the kernel sources reside) > and found that it fits your claim. > > > >> Documentation is vital and good practice because it saves time, it prevents >> people new to the project having to waste immense amounts of time trying to >> figure out a vast and cryptic puzzle. Without good documentation software >> can be nearly useless, unmaintainable and difficult for an outsider to >> learn, to the point where it may actually take less time to just throw it >> out and start from scratch. > I couldn't agree more. As a developer, I've worked with > many operating systems, and finally I found FreeBSD which > provides the documentation in a way I feel comfortable > with, unlike its predecessors in my "IT career". :-) > > However, there are differences in how you judge documentation > to be _good_. Talk to a mainframer, and he will tell you a > different story. Then talk to a "Windows" person and explain > what documentation is, and he'll tell you that you don't > need it. :-) > > > >> These are reasons that FreeBSD needs better documentation, documentation of >> how the entire system fits together, what lines of code do, the purpose of >> variables and functions, etc, in descriptive English. This is key to >> developing maintainable software. > As I said, that _is_ what you already find in the source > tree. Allow me to give you one example (out of many): > > File randomly picked: /usr/src/sys/nfs/nfs_common.c > > /* > * Help break down an mbuf chain by setting the first siz bytes contiguous > * pointed to by returned val. > * This is used by the macros nfsm_dissect for tough > * cases. (The macros use the vars. dpos and dpos2) > */ > void * > nfsm_disct(struct mbuf **mdp, caddr_t *dposp, int siz, int left, int how) > { > ... > > and so on. Descriptive english text, usable variable > and type names. > > Or how about /usr/sys/boot/i386/btx/btxldr/btxldr.S > > /* > * BTX program loader for ELF clients. > */ > start: cld # String ops inc > testl $OPT_SET(RBX_MUTE), 4(%esp) # Check first argument > setnz muted # for RBX_MUTE, set flag > movl $m_logo,%esi # Identify > call putstr # ourselves > movzwl BDA_MEM,%eax # Get base memory > shll $0xa,%eax # in bytes > movl %eax,%ebp # Base of user stack > #ifdef BTXLDR_VERBOSE > movl $m_mem,%esi # Display > call hexout # amount of > call putstr # base memory > #endif > lgdt gdtdesc # Load new GDT > > If that is insufficient, maybe you can give an > example for comparison of how you imagine the > documentation should be provided. > > > >> I saw where someone automatically generated "documentation" with Doxygen. >> This is nearly useless, because all it shows is a huge list of functions >> and variables but does not include any text on what they do. At best, >> Doxygen can only provide a template for documentation that can be filled in >> with descriptive English information on what everything does. > If properly used Doxygen can help, but it's not the > entire solution, I fully agree. Some people need to > learn the hard way, just like me when I visited my > _own_ source code a decade later and found something > like kk[w.q].x = fbx(x,x0+a0+1+aa[q].t,dt,h,dh-1+3); > which is totally ugly. :-) Seen that too. But I am very pedantic to probably a fault with my comments and even then I can get confused as to where I was going. >> One idea might be to have an official wiki that contains the template >> generated by Doxygen which can then be filled in. When changes to the >> source code is made, it is good practice for the commiter of such changes >> to document their code as it is submitted. > Also Wikis aren't for everything. I don't know how > _you_ as a developer think about it, but _I_ like > to have the documentation available _in_ the code > I consult, offline, without the need to use a web > browser, everything based on _files_ so I can use > the system's powerful tools to work with them (e. > g. search for information, filter, create lists > and so on). > > FreeBSD has an official Wiki, and there are several > others. Again a question arises: Would you like the > documentation to be spread across arbitrary Wikis, > user home pages, web forums and blogs? Everyone has their own methods. I'd like to see a wiki for developers myself, hosted by FreeBSD as all other docs, I'd find that very useful; especially if all the info was centralised and updated to include the odd parts currently distributed in articles. All the info in one place and easy to see how it fits together. As the info for functions is resolved it can be added to the wiki, and upcoming changes can be appended to the end of functions/modules/etc. The handbook should be untouched though, its for a whole different set of users. >> This allows others who come along who need to maintain the code to more >> easily understand what the code does. > History teaches that this is achieved by using the > code itself. :-) >> Another idea which would also improve the useability of FreeBSD would be to >> have a wiki which would be updated by kernel contributors whenever they add >> support for a certain piece of hardware. This would make finding hardware >> compatability information easier from one central, up to date and current >> source of information. > Those informations will typically be added to the UPDATING > information, as well as to the release notes of an upcoming > RELEASE. Deltas in the src/ subtree also indicate when > something new is present. As FreeBSD is a _quality_ operating > system, developers pay attention to write the documentation > along with releasing new drivers, so you aren't stuck with > an ugly-hacked kernel module full of lines that look like > the fbx() example I gave above. :-) >> These documentaiton ideas, for commiters to document their code when they >> upload it, and document their hardware support additions, are just good >> software practices that should be highly recommended and encouraged > I fully agree with that statement. If you could, for example, > point to documentation you judge _good_, or point at some > FreeBSD documentation that you think needs heavy improvement, > it would help to back your argumentation. Otherwise, it can > be seen as "already done". I'd put my hand up for that. I'd be willing to host a mirror as well if needed. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:11:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 096371065673 for ; Fri, 30 Dec 2011 12:11:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 62BED8FC12 for ; Fri, 30 Dec 2011 12:11:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBUCBdEH098497 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 30 Dec 2011 12:11:39 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBUCBdEH098497 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325247099; bh=6wWZJrLWvb5jz9VtORQnxMIl7yoyw+3c/yXRWcDu4H0=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=HXD61B2VmDJlmmO6Jvwc3S/LN4gpvODUENl6wR049ZoCe+E7iCTlqTwcEz9w8Soi0 iQ5mZingo1SeoAUk4EtJCCBOLg/gSqUKhe2g4RIbGT3QWhBp2i8gcP5IcQNZcqu3og 4Ki5ehAzk28HRlpAd/1PXzKTi4sx1Ec661yLBw2I= Message-ID: <4EFDAA74.5040607@infracaninophile.co.uk> Date: Fri, 30 Dec 2011 12:11:32 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111230073958.3949a17b.freebsd@edvax.de> <4EFDA607.2050404@herveybayaustralia.com.au> In-Reply-To: <4EFDA607.2050404@herveybayaustralia.com.au> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig88D0410E6DF7F4E7253844DF" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.3 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:11:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig88D0410E6DF7F4E7253844DF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 30/12/2011 11:52, Da Rock wrote: > I haven't looked, but it would be good to have some irc channels handle= d > by the team though. http://wiki.freebsd.org/IrcChannels Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig88D0410E6DF7F4E7253844DF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk79qnoACgkQ8Mjk52CukIxxqACcCH/wTAt1gnE6rP4LTs8sAiFF zpsAn2q4byxtIiFRvKwlgjga6L7Rk/i4 =pbbg -----END PGP SIGNATURE----- --------------enig88D0410E6DF7F4E7253844DF-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:15:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C928A106564A for ; Fri, 30 Dec 2011 12:15:04 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 708888FC0A for ; Fri, 30 Dec 2011 12:15:04 +0000 (UTC) Received: by ghrr16 with SMTP id r16so5610062ghr.13 for ; Fri, 30 Dec 2011 04:15:03 -0800 (PST) Received: by 10.236.184.8 with SMTP id r8mr26702197yhm.110.1325247303740; Fri, 30 Dec 2011 04:15:03 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id a15sm92317031ana.1.2011.12.30.04.15.02 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Dec 2011 04:15:02 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3TF6F11Z7bz2CG5x for ; Fri, 30 Dec 2011 07:15:01 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Fri, 30 Dec 2011 07:15:00 -0500 From: Jerry To: FreeBSD Message-ID: <20111230071500.6de15cf4@scorpio> In-Reply-To: <20111230073958.3949a17b.freebsd@edvax.de> References: <20111230073958.3949a17b.freebsd@edvax.de> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:15:05 -0000 On Fri, 30 Dec 2011 07:39:58 +0100 Polytropon articulated: > However, there are differences in how you judge documentation > to be _good_. Talk to a mainframer, and he will tell you a > different story. Then talk to a "Windows" person and explain > what documentation is, and he'll tell you that you don't > need it. :-) Poly, I think you just broke your own record for retarded statements. If you were to expand your statement to include documentation for drivers for "N" protocol devices, FreeBSD users would say that they don't need it either since they don't have such drivers. The fact is that Windows was designed to "just work" so that users could spend their time on the project(s) they wanted to work on and not reading tons of frivolous garbage on simple things like networking two or more computers together. Poly, you have stated several times in a multitude of posts that you neither use nor understand MS Windows. For most people, that alone would preclude them from making a statement on said subject. Obviously, talking about something you readily admit to having no knowledge about is no problem for you. Pathetic. For your own info, I am compiling a list of totally contradictory statements you have made in the past year or so and am planning on including it into an article I am writing. And no, I don't need your permission. You relinquished all rights once you posted them on a publicly available forum. I all ready checked. -- Jerry в™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Often things ARE as bad as they seem! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:39:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2743A1065670 for ; Fri, 30 Dec 2011 12:39:07 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id CB6088FC16 for ; Fri, 30 Dec 2011 12:39:06 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8FE8A5C26 for ; Fri, 30 Dec 2011 22:51:32 +1000 (EST) Message-ID: <4EFDB022.10904@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 22:35:46 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> In-Reply-To: <20111230071500.6de15cf4@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:39:07 -0000 On 12/30/11 22:15, Jerry wrote: > On Fri, 30 Dec 2011 07:39:58 +0100 > Polytropon articulated: > >> However, there are differences in how you judge documentation >> to be _good_. Talk to a mainframer, and he will tell you a >> different story. Then talk to a "Windows" person and explain >> what documentation is, and he'll tell you that you don't >> need it. :-) > Poly, I think you just broke your own record for retarded statements. > If you were to expand your statement to include documentation for > drivers for "N" protocol devices, FreeBSD users would say that they > don't need it either since they don't have such drivers. The fact is > that Windows was designed to "just work" so that users could spend > their time on the project(s) they wanted to work on and not reading > tons of frivolous garbage on simple things like networking two or more > computers together. > > Poly, you have stated several times in a multitude of posts that you > neither use nor understand MS Windows. For most people, that alone > would preclude them from making a statement on said subject. Obviously, > talking about something you readily admit to having no knowledge about > is no problem for you. Pathetic. > > For your own info, I am compiling a list of totally contradictory > statements you have made in the past year or so and am planning on > including it into an article I am writing. And no, I don't need your > permission. You relinquished all rights once you posted them on a > publicly available forum. I all ready checked. Was this really necessary to post to the list? Publicly? Opinions are your own, but this does appear rather vindictive and not really wanted on a friendly list. For reference Polytropon has been rather helpful many times on this list regardless of how many faux pas maybe made; I'm sure you're not without fault either. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:41:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B44E106564A for ; Fri, 30 Dec 2011 12:41:02 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id E2A5D8FC0A for ; Fri, 30 Dec 2011 12:41:01 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 964BF5C24 for ; Fri, 30 Dec 2011 22:53:28 +1000 (EST) Message-ID: <4EFDB097.90306@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 22:37:43 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111230073958.3949a17b.freebsd@edvax.de> <4EFDA607.2050404@herveybayaustralia.com.au> <4EFDAA74.5040607@infracaninophile.co.uk> In-Reply-To: <4EFDAA74.5040607@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:41:02 -0000 On 12/30/11 22:11, Matthew Seaman wrote: > On 30/12/2011 11:52, Da Rock wrote: >> I haven't looked, but it would be good to have some irc channels handled >> by the team though. > http://wiki.freebsd.org/IrcChannels Ha! There you go... I've only just been finding out about the value of irc in the recent weeks, so I hadn't discovered it yet. Cheers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:42:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E488106564A for ; Fri, 30 Dec 2011 12:42:25 +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 302008FC15 for ; Fri, 30 Dec 2011 12:42:24 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id pBUCfrul012277; Fri, 30 Dec 2011 13:41:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 365BEBACF; Fri, 30 Dec 2011 13:41:53 +0100 (CET) Date: Fri, 30 Dec 2011 13:41:53 +0100 From: Roland Smith To: UFS User Message-ID: <20111230124153.GA18989@slackbox.erewhon.net> References: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.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.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-questions@freebsd.org" Subject: Re: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:42:25 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 29, 2011 at 11:13:24PM -0800, UFS User wrote: > I have run a lot of different FreeBSD systems off (fileservers, firewalls, > routers, etc.) off of compact flash cards[1] and have never had a CF part > fail. >=20 > Most of these were read-only mode, but some of them were left mounted 'rw' > for years (with no swapping, of course). =A0The bottom line is, they never > failed, and some were (and are) in the field for over 8 years now. >=20 > But everyone I know (including me) has had an SSD fail, usually with no > explanation. It seems that unlike disk drives, SMART doesn't really give you a warning w= ith SSDs. But as a counterpoint, who hasn't ever had a harddrive fail? And there might be some negativity bias [http://en.wikipedia.org/wiki/Negativity_bias] at w= ork here too. > So is this just chance, or ... are CF cards really a lot more reliable th= an > SSD ? Although I've been looking at SSD's, I've held off for now because of cost = and small disk sizes. But concrete data is relatively scarce, probably due to t= he fact that SSD's haven't been available _that_ long. There are several studies available for harddisks, e.g. from google [http://labs.google.com/papers/disk_failures.pdf] and Carnagie Mellon [http= ://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html]. Generally, more disks fail as they age. But studies concerning SSD's seem to be almost nonexistant. The most intere= sting inventarization I found was on Tom's Hardware [http://www.tomshardware.com/reviews/ssd-reliability-failure-rate,2923.html= ]. Some interesting quotes covering the main points; Even though our data set is one-twentieth the size of previous studies on hard drives, our information starts to suggest that SLC-based SSDs are no = more reliable than SAS and SATA hard drives. ... Our data center survey exclusively covers Intel SSD failure rates because those are the drives that big businesses currently trust the most. ... Should you be deterred from adopting a solid-state solution? So long as you protect your data through regular backups, which is imperative regardl= ess of your preferred storage technology, then we don't see any reason to shy = away from SSDs. Currently SSD's are too small for my taste. But when that changes, I'll seriously consider switching to an SSD with an equal sized HDD for nightly backups. 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) --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk79sZEACgkQEnfvsMMhpyVfCgCfdANJ2GISus4KWP95CaD1MsLM RsUAn02GtbJNXOcfQfdIQ61SEEA6PiZy =/gMa -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:44:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27415106564A for ; Fri, 30 Dec 2011 12:44:59 +0000 (UTC) (envelope-from w3@langhans.com.pl) Received: from mail.langhans.com.pl (host-194126238033.net-serwis.pl [194.126.238.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4E21A8FC15 for ; Fri, 30 Dec 2011 12:44:58 +0000 (UTC) Received: by mail.langhans.com.pl (Postfix, from userid 1000) id C162A234EBB6; Fri, 30 Dec 2011 13:19:59 +0100 (CET) Date: Fri, 30 Dec 2011 13:19:59 +0100 From: herbert langhans To: "freebsd-questions@freebsd.org" Message-ID: <20111230121959.GB3590@manul.langhans.com.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re. Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:44:59 -0000 The same here - I use a Sandisk Compact Flash with 8GB on my Thinkpad. The thing runs the whole day and I didnt notice any failure (using NetBSD). With a simple adapter card it formats and works like an ata-disk. Reading is quite fast! A good combination for stationary computers might be to install FreeBSD and keep the 'busy & writing' like /home, /var and /tmp on a traditional harddisk (writing is much faster there). The other more static stuff like kernel, /usr, /etc, /dev and so on can be left on the Flash-card. Will be great for booting and opening larger programs. Cheers herb langhans -- sprachtraining langhans herbert langhans, warschau herbert.raimund[at]gmx.net herbert[at]langhans.com.pl http://www.langhans.com.pl +0048 603 341 441 | jabber:herbs | icq:414500866 | yahoo_im:herbert.raimund From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 12:51:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54A00106566B for ; Fri, 30 Dec 2011 12:51:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id DB2AB8FC08 for ; Fri, 30 Dec 2011 12:51:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id 737FC3CCC2 for ; Fri, 30 Dec 2011 13:51:42 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUCpfvf002234 for ; Fri, 30 Dec 2011 13:51:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 13:51:41 +0100 From: Polytropon To: FreeBSD Message-Id: <20111230135141.edf3fb52.freebsd@edvax.de> In-Reply-To: <20111230071500.6de15cf4@scorpio> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 12:51:44 -0000 On Fri, 30 Dec 2011 07:15:00 -0500, Jerry wrote: > On Fri, 30 Dec 2011 07:39:58 +0100 > Polytropon articulated: > > > However, there are differences in how you judge documentation > > to be _good_. Talk to a mainframer, and he will tell you a > > different story. Then talk to a "Windows" person and explain > > what documentation is, and he'll tell you that you don't > > need it. :-) > > Poly, I think you just broke your own record for retarded statements. Ah Jerry, impolite as always. :-) You're missing to identify the ":-)" symbol appended, and the MAIN STATEMENT of that sentence, which is that "good documentation" depends on _many_ factors, such as amount, location, quality, availability of translations, organisation and structure. There are many opinions of what "good documentation" is, and it depends on who you will ask. > If you were to expand your statement to include documentation for > drivers for "N" protocol devices, FreeBSD users would say that they > don't need it either since they don't have such drivers. I won't comment on this as it has been discussed already, and I think I remember that I could even agree with your standpoint in this regards. > The fact is > that Windows was designed to "just work" so that users could spend > their time on the project(s) they wanted to work on and not reading > tons of frivolous garbage on simple things like networking two or more > computers together. If the project is about developing stuff, inventing things and creating OS-related stuff, then... where can I find the "Windows" source code please? :-) How can you explain then that _I_ use FreeBSD in a "just works" state to get my projects done, whereas the praised "Windows" won't do it? Of course you'll say that I'm a minority that doesn't express in unit sales and market share, and here the discussion ends for you. What "Windows" was _designed for_... well, that is a highly debatable point which doesn't belong to this list, not even declared as off-topic. Reality - at least in my country and working field - shows that "Windows" doesn't "just work" for the majority of users here. The lack of easily accessible documentation and reasonable procedures and common standards is a main reason for people to leave this architecture. More and more of them seem to recognize that the claim "just works" is a claim, but there are more and more situations where it's not backed up, means: Does NOT work, causes downtime, causes COSTS. It might be fully different in your country and your working field, keep that in mind. > Poly, you have stated several times in a multitude of posts that you > neither use nor understand MS Windows. I have stated that I don't use it, but I understand it well enough, I can assure you. It's common practice to deny any knowledge "in the field" to not get filled up with "help requests" (i. e. "work for free") in that trouble-filled area of computing. But after all, more often than I'd like to admit I'm the guy who fixes that stuff and makes things work again, and this is due to my experience and knowledge, not because of some magic wand I carry with me. :-) > For most people, that alone > would preclude them from making a statement on said subject. Obviously, > talking about something you readily admit to having no knowledge about > is no problem for you. Pathetic. Reconsider your statement with the information of my present knowledge. Also you should know that I'm NOT "most people". "Most people" have _never_ achieved anything notable in history. This is what _exceptional_ people did, be it for good or for evil (in which case "most people" are responsible for making it happen by ambitiously helping, blindly following or ignoring). To repeat for you: You may regard my knowledge as fully sufficient to make educated statements. The fact that I avoid that in certain fields does not change that fact. Similarly, I'm not mentioning or explaining all the fields I'm familiar with, which doesn't imply that I don't have actual knowledge in those fields. You should be able to judge my credibility from the _content_ of the statements I make, seen in _context_ and interpreted properly. But maybe that's the fate of those who use a language that is not their native ones. I do know that I have certain deficites in using the english language, so this might be a reason; I'm not a native speaker. Also I'm just a man who can make mistakes. Show me a mistake and I won't be that stupid to insist on it. You know that this works (just read some of our older disputes). In fact, admitting a mistake and correcting the own attitude and knowledge is a very positive aspect of discussion culture. Sadly, I don't see that with you very often. :-) > For your own info, I am compiling a list of totally contradictory > statements you have made in the past year or so and am planning on > including it into an article I am writing. Interesting project, but wouldn't you mind contributing something useful to FreeBSD, to WiFi drivers, or to the society in general? Is your time that worthless that you can spend it for such futile things? I, on the other side, would compile a program that does the same with _your_ statements automtically so I don't waste my linear time. :-) > And no, I don't need your > permission. Have I said you'd need? You are known for picking words out of sentences and seeing things out of context, so what could I fear, except the WORST? :-) > You relinquished all rights once you posted them on a > publicly available forum. I all ready checked. Oh, very interesting. ALL rights? In every country, in any juristiction? I'm not a lawyer, but your statement may be problematic especially in regards of intellectual property as I did not include an EULA or other licensing in my message signature. :-) You see, I'm not discussing with you on a normal basis anymore as you have _proven_ to mostly be unable to - except that you _had_ brought some valid points in the past which I even told you and agreed with (which won't make it on your list, will it?); you're navigating off-topic whenever I say something about positive aspects of FreeBSD, which you try to relativate with some "Windows" statements out of context that aren't even comparable, as your N example mentioned above happily illustrates. Of course you are right that those specific drivers are missing, and that there's a significant lack in support of short-term commodity hardware sold in the home consumer sector. This does _not_ invlidate the statement that FreeBSD's documentation is regarded as _outstanding_ by a majority of experienced users, especially when compared to "black boxes" and sometimes even to how the Linux world handles documentation. Of course you will again mention that "nobody needs documentation" - okay, except inventors, creators, people who actually DO something related to get things working, or create new stuff for existing architectures. Especially in the area where no immense amounts of money can be spent to buy documentation, the availability of things such as the FreeBSD source code or the man pages can be a big help. Let me summarize: Those who just use don't need, don't even WANT documentation. That's why the documentation is primarily not intended for that audience. You won't see colorful images like from a children's book in the kernel source and the man pages to explain procedures about how to maintain the system. But I'm sure you _know_ where you can see them. :-) You will also have to agree that certain forms of documentation exist with the RIGHT to exist, because they do target different readers. Therefore Wikis and web forums exist, and man pages (which are _not_ a how-to, a collection of examples or a procedural operations list). And source code is a completely different topic as it doesn't just assume the knowledge of the language the comments are written in (i. e. English), but also of the programming languages used. This is _nothing_ any sane person would expect from a casual german user who just wants to try out PC-BSD for his home PC (to give an example). If your "just works" statement initially mentioned would be true in regards to "Windows", why do so many web forums and wikis exist for that topic? Even books can be found ("... for dummies"). What is their justification to exist if you would be right? Oh yes: Unit sales, market share. So if you're interested in a real discussion, relapse to the fact-based and polite attitude that you've been able to employ in the past. I know you can do better than what you wrote here, you've proven. And pay attention to the damn ":-)" signs! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:05:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 879D21065670 for ; Fri, 30 Dec 2011 13:05:14 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 323568FC0A for ; Fri, 30 Dec 2011 13:05:13 +0000 (UTC) Received: by yhfq46 with SMTP id q46so9874869yhf.13 for ; Fri, 30 Dec 2011 05:05:13 -0800 (PST) Received: by 10.236.129.164 with SMTP id h24mr50538529yhi.78.1325250313337; Fri, 30 Dec 2011 05:05:13 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id w68sm54881927yhe.14.2011.12.30.05.05.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Dec 2011 05:05:12 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3TF7Lv19lDz2CG5x for ; Fri, 30 Dec 2011 08:05:11 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Fri, 30 Dec 2011 08:05:10 -0500 From: Jerry To: FreeBSD Message-ID: <20111230080510.52653cec@scorpio> In-Reply-To: <4EFDB022.10904@herveybayaustralia.com.au> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:05:14 -0000 On Fri, 30 Dec 2011 22:35:46 +1000 Da Rock articulated: > Was this really necessary to post to the list? Publicly? Opinions are > your own, but this does appear rather vindictive and not really > wanted on a friendly list. > > For reference Polytropon has been rather helpful many times on this > list regardless of how many faux pas maybe made; I'm sure you're not > without fault either. The fact is that Poly has taken "negativity bias" to a new level. I fully realize that part of this is due to his socialist/fascist upbringing; however, that in itself does not justify it. I did take a class in quantum physics in college. However, I can assure you that I would never attempt to pretend to understand it nor lecture about it. Yet, according to his own statements, not mine, he has no knowledge of Microsoft yet he continues to lecture on it. That is pathetic. That would be akin to me reading the cover page for an application available on FreeBSD, one that I had never used and then giving a lecture on its use and implementation. -- Jerry в™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Alex Haley was adopted! From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:10:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6168A106566B for ; Fri, 30 Dec 2011 13:10:22 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2638E8FC21 for ; Fri, 30 Dec 2011 13:10:22 +0000 (UTC) Received: by mail-iy0-f182.google.com with SMTP id j38so32041734iad.13 for ; Fri, 30 Dec 2011 05:10:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cakF+FhvB/HNrkRmo470zm4oE8bkJYrX6+bKmDcRxWg=; b=nRQR1JxJd+nX2+iIiW/JPbv+zaCWpupJLmrsyHT4GqrYrk3aTcAqCqRJus0WxDhFU0 n4UEVo3EuvlUTPnXTYLUrNS4oIjkQN4KzO/RwiSCXEM3luhxYRRqI2d37DbsnxjcCEwl gaGOBmnaXMimkC/A4gdZ+GVOBs+wWOYGJJtv0= MIME-Version: 1.0 Received: by 10.50.168.70 with SMTP id zu6mr34541807igb.13.1325250621955; Fri, 30 Dec 2011 05:10:21 -0800 (PST) Received: by 10.42.168.137 with HTTP; Fri, 30 Dec 2011 05:10:21 -0800 (PST) In-Reply-To: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> References: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> Date: Fri, 30 Dec 2011 08:10:21 -0500 Message-ID: From: Mehmet Erol Sanliturk To: UFS User Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:10:22 -0000 On Fri, Dec 30, 2011 at 2:13 AM, UFS User wrote: > I have run a lot of different FreeBSD systems off (fileservers, firewalls, > routers, etc.) off of compact flash cards[1] and have never had a CF part > fail. > > Most of these were read-only mode, but some of them were left mounted 'rw' > for years (with no swapping, of course). The bottom line is, they never > failed, and some were (and are) in the field for over 8 years now. > > But everyone I know (including me) has had an SSD fail, usually with no > explanation. > > So is this just chance, or ... are CF cards really a lot more reliable > than SSD ? > > It's sloppy, but I never once considered mirroring my CF boot devices, and > now in 2011 I am actually buying two *different* SSDs to put into a boot > mirror > because I am afraid of mirroring identical ones and they both die at > identical times. > > Comments ? > > > > [1] Plain old store-bough Sandisk parts - so a good brand, but nothing > special > > The following pages , and references in them , may be useful : http://en.wikipedia.org/wiki/Solid-state_drive http://en.wikipedia.org/wiki/Wear_leveling http://en.wikipedia.org/wiki/Write_amplification http://en.wikipedia.org/wiki/Category:Solid-state_computer_storage_media http://en.wikipedia.org/wiki/Category:Solid-state_computer_storage Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:12:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E246F106567D for ; Fri, 30 Dec 2011 13:12:36 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4898FC26 for ; Fri, 30 Dec 2011 13:12:36 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 138CF5C24 for ; Fri, 30 Dec 2011 23:25:03 +1000 (EST) Message-ID: <4EFDB7FD.4040606@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 23:09:17 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> <20111230124153.GA18989@slackbox.erewhon.net> In-Reply-To: <20111230124153.GA18989@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:12:37 -0000 On 12/30/11 22:41, Roland Smith wrote: > On Thu, Dec 29, 2011 at 11:13:24PM -0800, UFS User wrote: > >> I have run a lot of different FreeBSD systems off (fileservers, firewalls, >> routers, etc.) off of compact flash cards[1] and have never had a CF part >> fail. >> >> Most of these were read-only mode, but some of them were left mounted 'rw' >> for years (with no swapping, of course). The bottom line is, they never >> failed, and some were (and are) in the field for over 8 years now. >> >> But everyone I know (including me) has had an SSD fail, usually with no >> explanation. > It seems that unlike disk drives, SMART doesn't really give you a warning with > SSDs. > > But as a counterpoint, who hasn't ever had a harddrive fail? And there might > be some negativity bias [http://en.wikipedia.org/wiki/Negativity_bias] at work > here too. > >> So is this just chance, or ... are CF cards really a lot more reliable than >> SSD ? > Although I've been looking at SSD's, I've held off for now because of cost and > small disk sizes. But concrete data is relatively scarce, probably due to the > fact that SSD's haven't been available _that_ long. > > There are several studies available for harddisks, e.g. from google > [http://labs.google.com/papers/disk_failures.pdf] and Carnagie Mellon [http://www.usenix.org/events/fast07/tech/schroeder/schroeder_html/index.html]. > Generally, more disks fail as they age. > > But studies concerning SSD's seem to be almost nonexistant. The most interesting > inventarization I found was on Tom's Hardware > [http://www.tomshardware.com/reviews/ssd-reliability-failure-rate,2923.html]. > Some interesting quotes covering the main points; > > Even though our data set is one-twentieth the size of previous studies on > hard drives, our information starts to suggest that SLC-based SSDs are no more > reliable than SAS and SATA hard drives. > ... > Our data center survey exclusively covers Intel SSD failure rates because > those are the drives that big businesses currently trust the most. > ... > Should you be deterred from adopting a solid-state solution? So long as > you protect your data through regular backups, which is imperative regardless > of your preferred storage technology, then we don't see any reason to shy away > from SSDs. > > Currently SSD's are too small for my taste. But when that changes, I'll > seriously consider switching to an SSD with an equal sized HDD for nightly > backups. I'd only consider them in laptops- and even then I don't see too much difference in power use, only shock resistance. And I'd back them up to the network anyway- store most of the data on a fileserver and only copy what was being worked on to the lap. I can't see too much point otherwise, 60Gb is reasonable for a desktop with the usual suspects and is reasonably priced (not too over the top anyway...). From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:15:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BA78106566B for ; Fri, 30 Dec 2011 13:15:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 73BF48FC1C for ; Fri, 30 Dec 2011 13:15:00 +0000 (UTC) Received: by wgbds13 with SMTP id ds13so19614854wgb.1 for ; Fri, 30 Dec 2011 05:14:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=qJpGCVxmXRwahF3fvnXk1V3pHg2kQIsTCILEDK4HHko=; b=DeVsTSc1a2VvG3mxwFuUeNiP+BVgRtdMzxchKFR5kMWdgaKCHkNeeDL9XbXZ5w+KH9 eGWdNOG2oKlaCW16ESa5CnY+b3Pk5PxSpVNGLjPF22dyshYcXaieVnUwKhX95BjFY6sk ASbmSyr0MTj7KW1iYirEi6QDahbdVrsg2/Pgs= Received: by 10.216.131.223 with SMTP id m73mr26889087wei.52.1325250899511; Fri, 30 Dec 2011 05:14:59 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id fv13sm7325546wbb.21.2011.12.30.05.14.57 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 05:14:58 -0800 (PST) Date: Fri, 30 Dec 2011 13:14:35 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111230131435.43bc218f@gumby.homeunix.com> In-Reply-To: <20111229185325.GA56404@chancha.local> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:15:01 -0000 On Thu, 29 Dec 2011 19:53:25 +0100 Walter Alejandro Iglesias wrote: > I really appreciate that you all, Jerry, Polytropon and Chuck, > took your time to answer me. But I think some of you understood > paragraphs like individual-separated statements, that's why you > did not fully understand my question (my horrible English helps > too :-)). > > Let's see if I can explain myself. > > I know that FreeBSD base system and 3rd party are "managed" > separately. For RELEASE I meant the ports included in a fresh > RELEASE install. The scenario is: what to do after a fresh > RELEASE install. Once you updated the ports with 'portsnap fech > extract update' you have newer versions at the port tree. Then > you can upgrade the already installed software using > portupgrade... But compiling! One strategy is to use csup to only update the port tree to release tags and so use successive release packages as you update the base system. You need to check portaudit for vulnerabilities. An alternative is to use stable packages. There are two problems with this. The first is that whilst these packages will mostly work they are not guaranteed to be compatible with release, or older stable, base systems. You can eliminate this entirely by using stable and updating world after updating the ports tree. The second problem is the variable lag between a port being updated and the package becoming available. Frequent updating exacerbates this problem. If you use portupgrade -P every day it will probably never use a package file. If it's for a production server, you might consider building your own packages on a separate machine. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:22:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C11981065672 for ; Fri, 30 Dec 2011 13:22:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6CDCA8FC1E for ; Fri, 30 Dec 2011 13:22:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id 311C41D935 for ; Fri, 30 Dec 2011 14:22:31 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUDMUrL002396 for ; Fri, 30 Dec 2011 14:22:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 14:22:30 +0100 From: Polytropon To: FreeBSD Message-Id: <20111230142230.cb68d503.freebsd@edvax.de> In-Reply-To: <20111230080510.52653cec@scorpio> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:22:32 -0000 On Fri, 30 Dec 2011 08:05:10 -0500, Jerry wrote: > On Fri, 30 Dec 2011 22:35:46 +1000 > Da Rock articulated: > > > Was this really necessary to post to the list? Publicly? Opinions are > > your own, but this does appear rather vindictive and not really > > wanted on a friendly list. > > > > For reference Polytropon has been rather helpful many times on this > > list regardless of how many faux pas maybe made; I'm sure you're not > > without fault either. > > The fact is that Poly has taken "negativity bias" to a new level. I > fully realize that part of this is due to his socialist/fascist > upbringing; however, that in itself does not justify it. Can you please stop that shit?! You're starting impolite attribution which is not justified on this list, and not in general life. If you would live in _my_ country (luckily you don't), that would be a case for court. Be happy to have this right of expression, even if you're abusing it on nearly any occassion you can get. And replace "negative bias" with "negative experiences", so it becomes the truth. Finally, our _individual_ experiences are what forms our opinions which we turn into statements. Luckily, logic is free of subjective argumentation, and I think that's why you focus on individual statements in order to insult people instead of dealing with the logic statements they bring, because that would maybe force you to re-think your _own_ position! > I did take a class in quantum physics in college. However, I can > assure you that I would never attempt to pretend to understand it nor > lecture about it. Yet, according to his own statements, not mine, he > has no knowledge of Microsoft yet he continues to lecture on it. As I said before: Not true. You're building your argumentation on a false assumption, leading the whole statement to be wrong (logic 101). Your knowledge from the quantum physics class - it should be something that you can elaborate on, and use in discussions. Even if it was "long ago" (in college), as long as this knowledge of yours is present (and correct), you can make use of it, use it even in concluding "new" things, and putting it into relation to other theories (e. g. superstring theory, gravitation). And why shouldn't you? Knowledge you gain and that you can _apply_ opens discussion fields, even if you enter them by a false assumption or wrong conclusion. Whenever you _learn_ something, it's not worthless. Except _you_ would judge gain of knowledge always in consideration of where it can be applied, and what amount of time it consumed. That is a fully justified point. That's why I'm also paying attention what to learn - be it fundamental UNIX knowledge that made me access many different UNIX and Linux systems, or "Windows" knowledge that is obsoleted as soon as a new version is out, and you need to repeat re-learning things. After all, even the pure fact of _learning_ is good, at least for the brain (which benefits from any learning, no matter if it's short life knowledge or fundamental stuff). Learning keeps your brain healthy. > That > is pathetic. You are pathetic. > That would be akin to me reading the cover page for an > application available on FreeBSD, one that I had never used and then > giving a lecture on its use and implementation. But isn't that what you sometimes do? If I understand your intial claim correctly, you stated there was no N device documentation in FreeBSD. (Note: This is a conditional statement. You're very fast in skipping such fine details in expression, that's why I think it's worth mentioning it again: "if - then", this means "if not, then not" in this case. So read it carefully.) >From "man iwn": Intel Wireless WiFi Link 4965/1000/5000/5150/5300/6000/6050 IEEE 802.11n driver ^ Is that what you meant? Of course, this (just like the module sources) is _not_ intended as an end-user step-by-step illustrated guide on how to get networking up. And finally, there are tools to help you with that (typically coming with desktop environments). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:27:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 509CD106564A for ; Fri, 30 Dec 2011 13:27:37 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D51818FC0C for ; Fri, 30 Dec 2011 13:27:36 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so24174327wgb.31 for ; Fri, 30 Dec 2011 05:27:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=zWDMvdRW/BURMKEqPoZQ4y+Hc5ymD8PivRjuoPLgk8Q=; b=BZDTlC/oA/rO+oxWvocvLtOWhtTtGDarYbz2Kq1ojylRi4JpcOu3a89YktzbIF2Qor wUv0P0/HLIV2bOCQX6+6+tq4b6Cq/xGr/cUT4KgGXdR94cUkRP04w0qGDZUqYhoJENoN u/H7I0bLd79j+UDPZnVCGwTDU6eS2Fqa9em7g= Received: by 10.216.139.140 with SMTP id c12mr22045047wej.26.1325251655723; Fri, 30 Dec 2011 05:27:35 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id g26sm13259032wbo.16.2011.12.30.05.27.34 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 05:27:35 -0800 (PST) Date: Fri, 30 Dec 2011 13:27:32 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111230132732.0654652b@gumby.homeunix.com> In-Reply-To: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> References: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:27:37 -0000 On Thu, 29 Dec 2011 23:13:24 -0800 (PST) UFS User wrote: > Most of these were read-only mode, but some of them were left mounted > 'rw' for years (with no swapping, of course). =A0The bottom line is, > they never failed, and some were (and are) in the field for over 8 > years now. > So is this just chance, or ... are CF cards really a lot more > reliable than SSD ? Are you sure you haven't answered your own question here?=20 "Most ... were read-only" and you don't mention whether those that were mounted rw were getting the same amount of writes. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:31:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC4B31065670 for ; Fri, 30 Dec 2011 13:31:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 77F0A8FC15 for ; Fri, 30 Dec 2011 13:31:18 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id 89D711E8BF; Fri, 30 Dec 2011 14:31:17 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUDVHsi002422; Fri, 30 Dec 2011 14:31:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 14:31:17 +0100 From: Polytropon To: RW Message-Id: <20111230143117.7ed3e449.freebsd@edvax.de> In-Reply-To: <20111230131435.43bc218f@gumby.homeunix.com> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> <20111230131435.43bc218f@gumby.homeunix.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:31:19 -0000 On Fri, 30 Dec 2011 13:14:35 +0000, RW wrote: > On Thu, 29 Dec 2011 19:53:25 +0100 > Walter Alejandro Iglesias wrote: > > > I really appreciate that you all, Jerry, Polytropon and Chuck, > > took your time to answer me. But I think some of you understood > > paragraphs like individual-separated statements, that's why you > > did not fully understand my question (my horrible English helps > > too :-)). > > > > Let's see if I can explain myself. > > > > I know that FreeBSD base system and 3rd party are "managed" > > separately. For RELEASE I meant the ports included in a fresh > > RELEASE install. The scenario is: what to do after a fresh > > RELEASE install. Once you updated the ports with 'portsnap fech > > extract update' you have newer versions at the port tree. Then > > you can upgrade the already installed software using > > portupgrade... But compiling! > > One strategy is to use csup to only update the port tree to release > tags and so use successive release packages as you update the base > system. You need to check portaudit for vulnerabilities. For such tasks, csup provides a good basis for explicitely specifying a RELEASE or security patch level. This can be applied to both the sources and the ports tree (of the corresponding date). > An alternative is to use stable packages. There are two problems with > this. The first is that whilst these packages will mostly work they are > not guaranteed to be compatible with release, or older stable, base > systems. You can eliminate this entirely by using stable and updating > world after updating the ports tree. A common rule is: If you use -STABLE for the OS, you want to keep your ports tree current and do security upgrades whenever neccessary (see portaudit for that functionality), or if the users of the production server require a certain version change. Using the ports infrastructure can also be helpful when you need to so something "extraordinary", like intendely installing an older port (see portdowngrade for this particular task) or fixing a port change from today to tomorrow (as this will show up in a csup delta, but not neccessarily as fast in a portsnap run). > The second problem is the variable lag between a port being > updated and the package becoming available. Frequent updating > exacerbates this problem. If you use portupgrade -P every day it will > probably never use a package file. In this case, I would also suggest using the compiling approach. Binary packages don't give you the flexibility to follow -STABLE or -RELEASE-p that closely in time. > If it's for a production server, you might consider building your own > packages on a separate machine. You could also designate a jail for the building process (if the server has enough power) and either use the results generated in that jail for installation or follow the suggestion of using the packages generated in that jail (/usr/ports/packages will be populated by the "make package" command). However, as you're mentioning a _production_ server, it's always wise to test the updated software before bringing it into operation for that system. The idea of using a "mirrored server" for testing comes handy here. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 13:36:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7815106564A for ; Fri, 30 Dec 2011 13:36:52 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 75FEE8FC08 for ; Fri, 30 Dec 2011 13:36:52 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id F2FF95C24 for ; Fri, 30 Dec 2011 23:49:18 +1000 (EST) Message-ID: <4EFDBDAD.5040905@herveybayaustralia.com.au> Date: Fri, 30 Dec 2011 23:33:33 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> In-Reply-To: <20111230080510.52653cec@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 13:36:52 -0000 On 12/30/11 23:05, Jerry wrote: > On Fri, 30 Dec 2011 22:35:46 +1000 > Da Rock articulated: > >> Was this really necessary to post to the list? Publicly? Opinions are >> your own, but this does appear rather vindictive and not really >> wanted on a friendly list. >> >> For reference Polytropon has been rather helpful many times on this >> list regardless of how many faux pas maybe made; I'm sure you're not >> without fault either. > The fact is that Poly has taken "negativity bias" to a new level. I > fully realize that part of this is due to his socialist/fascist > upbringing; however, that in itself does not justify it. > > I did take a class in quantum physics in college. However, I can > assure you that I would never attempt to pretend to understand it nor > lecture about it. Yet, according to his own statements, not mine, he > has no knowledge of Microsoft yet he continues to lecture on it. That > is pathetic. That would be akin to me reading the cover page for an > application available on FreeBSD, one that I had never used and then > giving a lecture on its use and implementation. I would say that is a very narrow viewpoint given that anyone in this field playing with advanced and community developed software has had to have come across Winblows in in some capacity somewhere. Anyone willing to conjure up methods to avoid Winblows _must_ have a veeerry good reason for doing so; and therefore some rather reasonable knowledge of that cursed system to a very high level- such as myself. I fail to see what political bias has to do with this discussion; and by stating such you could only unveil your own- and I'll motion that you take it elsewhere and not on the list. This is a technical list: not a social sciences club. A lot of people take pot shots at M$, Winblows, and Gates, satirical or otherwise; what are you- his best mate? :) I was training for MCSE and even the lecturer was having a go at it. Please end this now, its just unwanted noise. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:14:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1D67106564A for ; Fri, 30 Dec 2011 14:14:13 +0000 (UTC) (envelope-from rocky@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB3F8FC13 for ; Fri, 30 Dec 2011 14:14:13 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 3449D5C24 for ; Sat, 31 Dec 2011 00:26:40 +1000 (EST) Message-ID: <4EFDC66E.4000805@herveybayaustralia.com.au> Date: Sat, 31 Dec 2011 00:10:54 +1000 From: R Skinner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: D-VFS: coming soon? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 14:14:14 -0000 I just stumbled on this on my way to another issue. Is there any support on this in FreeBSD yet? I know its only new, but just checking... Its run by the freedesktop developers and is using an MIT license, I believe its supposed to run parallel to Xorg and negate opposing APIs by providing a common feature for all WMs and apps- as well as support them as a temporary measure. Cheers From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:30:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D416106566C for ; Fri, 30 Dec 2011 14:30:17 +0000 (UTC) (envelope-from roquesor@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2706B8FC08 for ; Fri, 30 Dec 2011 14:30:16 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so24237068wgb.31 for ; Fri, 30 Dec 2011 06:30:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=d2+N5RvlW1xYxmKj/XlnZHoBgXGa9l+AXcrS8R53oWQ=; b=JWpT3eIr57fMtNo6x9k9nPMac77kDk6AS0LSAjV2RM5SzcTX0d1uoqZ7+++xWnlbUP lOkIYlXyQS0QEOdVxzfN0xEIICFzW37QyyIy86wDr+ylVtmVplKXwBttMxmCC/jYwy0I kggyALUxZx5Y3Wd3US5YOLxjKnyZMtgIgxaXA= Received: by 10.227.206.66 with SMTP id ft2mr39320043wbb.8.1325255413472; Fri, 30 Dec 2011 06:30:13 -0800 (PST) Received: from localhost (136.Red-88-17-164.dynamicIP.rima-tde.net. [88.17.164.136]) by mx.google.com with ESMTPS id ej17sm39749285wbb.14.2011.12.30.06.30.11 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 06:30:12 -0800 (PST) Date: Fri, 30 Dec 2011 15:30:05 +0100 From: Walter Alejandro Iglesias To: freebsd-questions@freebsd.org Message-ID: <20111230142850.GA1916@chancha.local> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> <20111230131435.43bc218f@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111230131435.43bc218f@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 14:30:17 -0000 On Fri, Dec 30, 2011 at 01:14:35PM +0000, RW wrote: > If it's for a production server, you might consider building your own > packages on a separate machine. My principal interest is server side. The true is, a year ago, I gave a try to a server (a web server) in a VPS and the only two things I must to compile was the kernel to add quota support and php5 to add the apache module (surely, being a novice, that defaults obey to reasons I ignore). I abandoned because the provider was at US and ssh was very slow from Europe (where I live). With updates at server side, the only point I'd like experienced people here give me an opinion about is to what extent I can rely security patches on freebsd-update command. Just a subjective opinion is enough, nothing specific. Other thing I have pending to learn is what poly mentioned: jails. Anyway I inquire into updates because I try as far as possible to run the same OS at my desktop to avoid checking man pages each time I use ls or cp :-). But, in general, I think I am fine with RELEASE at desktop too. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:55:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65A391065675 for ; Fri, 30 Dec 2011 14:55:35 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id E7E948FC12 for ; Fri, 30 Dec 2011 14:55:34 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so24260384wgb.31 for ; Fri, 30 Dec 2011 06:55:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=tyMpdRx/D6ABhmLS9PsR1ceHSdJxvv0dufYal53SY58=; b=rUf2omk0Bdr9o88DljkiTb8JfsUyjuBaAqjwJgXBOKfs8QBsMw0I2ST1sumxj73xqg Fy1XitH3NaybX4NTNDOaqPZiaT9mzQuY9oRIs8CQ2Ul7Fn/sNLldN7bnHxaauTPzvfo2 xvWCEB5OqCQovYgPzYaVKppQNCJF988izzJps= Received: by 10.227.205.85 with SMTP id fp21mr17388528wbb.6.1325256933832; Fri, 30 Dec 2011 06:55:33 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id fi11sm39830273wbb.9.2011.12.30.06.55.32 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 06:55:32 -0800 (PST) Date: Fri, 30 Dec 2011 14:55:30 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20111230145530.565330d5@gumby.homeunix.com> In-Reply-To: <20111230143117.7ed3e449.freebsd@edvax.de> References: <20111229161611.GA81214@chancha.local> <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> <20111229185325.GA56404@chancha.local> <20111230131435.43bc218f@gumby.homeunix.com> <20111230143117.7ed3e449.freebsd@edvax.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Same version on binary packages and updated ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 14:55:35 -0000 On Fri, 30 Dec 2011 14:31:17 +0100 Polytropon wrote: > On Fri, 30 Dec 2011 13:14:35 +0000, RW wrote: > > One strategy is to use csup to only update the port tree to release > > tags and so use successive release packages as you update the base > > system. You need to check portaudit for vulnerabilities. > > For such tasks, csup provides a good basis for explicitely > specifying a RELEASE or security patch level. This can be > applied to both the sources and the ports tree (of the > corresponding date). You would use the tag that was used for the tree on the disk. > > An alternative is to use stable packages. There are two problems > In this case, I would also suggest using the compiling > approach. Binary packages don't give you the flexibility > to follow -STABLE or -RELEASE-p that closely in > time. If you are going to compile you might as well use a release security branch. I was describing how to avoid a specific pitfall with STABLE packages. There's no need to keep world and port versions closely matched, the only time there is any connection between the two is when the ports tree is tagged for building release packages. It's a matter of policy that older packages will work with later worlds on the same stable branch. The issue is that some ports may build different packages, with identical package names, depending whether they are built before or after a new feature has been MFC'ed into STABLE. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 14:59:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3744106566C for ; Fri, 30 Dec 2011 14:59:24 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6EFFA8FC19 for ; Fri, 30 Dec 2011 14:59:24 +0000 (UTC) Received: by ghrr16 with SMTP id r16so5658867ghr.13 for ; Fri, 30 Dec 2011 06:59:24 -0800 (PST) Received: by 10.236.127.144 with SMTP id d16mr53457290yhi.51.1325257162648; Fri, 30 Dec 2011 06:59:22 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id i50sm55289997yhk.11.2011.12.30.06.59.21 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Dec 2011 06:59:22 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3TF9tW1rvlz2CG5x for ; Fri, 30 Dec 2011 09:59:15 -0500 (EST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at scorpio.seibercom.net Date: Fri, 30 Dec 2011 09:59:14 -0500 From: Jerry To: FreeBSD Message-ID: <20111230095914.6cc16ab2@scorpio> In-Reply-To: <20111230142230.cb68d503.freebsd@edvax.de> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> <20111230142230.cb68d503.freebsd@edvax.de> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 14:59:24 -0000 On Fri, 30 Dec 2011 14:22:30 +0100 Polytropon articulated: > >From "man iwn": > > Intel Wireless WiFi Link 4965/1000/5000/5150/5300/6000/6050 > IEEE 802.11n driver So they actually got support for one such device. I refer you to which does not even list support for "n" protocol devices. I am not sure if this is an introductory level chip or used in higher end devices although I have my strong suspicions. In any case, newer and more fully functional "n" devices still lack any significant, and I use that word graciously, support. As for your inquiry as to why I don't write one myself, fair enough. I have a family to support, various organizations I work with or contribute to, etcetera. To actually invest the time (and I have no idea how much time it would entail), thereby taking it away from other ventures I am involved in, i.e "work" for example, not to mention the documentation that I would probably have to buy to learn how to actually write a driver for such a device and make it work on FreeBSD since I have never done it before, and acquire whatever other skills and material I might need all for a grand ROI of "$0" is beyond absurd. I am not a socialist asshole. I don't expect the government to bankroll me while I sit on my ass working on a hobby. If FreeBSD really wanted to make a quality product they would hire competent programmers to create the drivers, etcetera that are seriously needed. I would gladly pay any reasonable charge for a product that worked. I am not a socialist/fascist asshole and I despise those who are. Other OSs have all ready gone this route. By the way, just out of morbid curiosity, how are ASLR and KMS support coming along? Doing a quick perusal it would appear that everyone but FreeBSD supports them. I am sure if I am in error and FreeBSD has full support for them you will inform me of same. Poly, you are an admitted liar. Read your own statements; you have admitted so yourself. I fail to see where continuing a dialog with an admitted liar serves any purpose. Have a Happy New Year. A year in which you can contribute to discussions regarding subjects you may or may not know anything about depending on what fabrication you had previously spewed. I wonder if the "Liar paradox" would be of interest here? Ah, so many things to contemplate in the new year. -- Jerry в™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Mind your own business, Spock. I'm sick of your halfbreed interference. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 15:22:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 652A1106564A for ; Fri, 30 Dec 2011 15:22:33 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id EC8878FC15 for ; Fri, 30 Dec 2011 15:22:32 +0000 (UTC) Received: by eaaf13 with SMTP id f13so17988068eaa.13 for ; Fri, 30 Dec 2011 07:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=l6pLe35+iJ1lUV1GZDp79U4lg410EKqVlJD+rmp/AQs=; b=o96QfYK2N1d2MJVx/82deF4WDq/Bh5GPjuqhpITVk5evoU72uoHGdANrLRj1cLPyR1 /WFQKZSwEA/7e3MgDp9OqnXXzLfvzwuaVDUgf7vCXKJrPQ76729ea1g345/Xyvuw7nnw JAQrY7l+Gjc+5Zh0/iDZKbfcp71JOnmICjApY= MIME-Version: 1.0 Received: by 10.205.133.129 with SMTP id hy1mr9659369bkc.28.1325258551688; Fri, 30 Dec 2011 07:22:31 -0800 (PST) Received: by 10.204.130.27 with HTTP; Fri, 30 Dec 2011 07:22:31 -0800 (PST) In-Reply-To: <201112300604.pBU64dqB069626@mail.r-bonomi.com> References: <201112300604.pBU64dqB069626@mail.r-bonomi.com> Date: Fri, 30 Dec 2011 10:22:31 -0500 Message-ID: From: David Jackson To: Robert Bonomi , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 15:22:33 -0000 On Fri, Dec 30, 2011 at 1:04 AM, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Dec 29 21:46:36 2011 > > Date: Thu, 29 Dec 2011 22:43:16 -0500 > > From: David Jackson > > To: freebsd-questions@freebsd.org > > Subject: FreeBSD Kernel Internals Documentation > > > > I have had an interest in studying the FreeBSD kernel and getting to know > > its internals better. After all, in Open source projects, they say, > > community contributions are important. > > > > However, My finding is that due to poor documentation, the FreeBSD kernel > > is nearly impenetrable to an outsider. I have been able to find no > > comprehensive documentation of kernel internals. I have found it nearly > > impossible, due to lack of comprehensive documentation, much of any of > the > > kernel internals. What I see is an internal cliche of developers who are > > aware of its myraid of undocumented esoteric secrets, and very little to > > actually help anyone else to understand it. > > You're talking abaout _volumes_ of documentation, literally many books > worth. > > Start with "The Design and Implementation of the BSD 4.4.4 Operating > System" > by McKusick, eal. > > Then read "The design and Implementation of the FreeBSD Operating System", > by McKusick and Neville-Neal.` > > > *You* are free to contribute 'better documentation' as you review any > particular file. Since you feel it is important, you are strongly > encouraged to "do something" to actually 'make it better', as opposed > to merely sitting on the sidelines and sniping at the work of others. > > Well, okay, yes, I have heard of these books. Of course, if I am getting involved in studying and figuring out the FreeBSD kernel, I would contribute documentation, both for my own future use and for the benefit of others. Of course, those best able to document are those who wrote it in the first place, since they already know how it works. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 15:37:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B5F2106564A for ; Fri, 30 Dec 2011 15:37:41 +0000 (UTC) (envelope-from lenthe@comcast.net) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id BA84D8FC12 for ; Fri, 30 Dec 2011 15:37:40 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta05.westchester.pa.mail.comcast.net with comcast id FTFH1i0021YDfWL55TQRSr; Fri, 30 Dec 2011 15:24:25 +0000 Received: from [192.168.1.101] ([68.42.13.245]) by omta20.westchester.pa.mail.comcast.net with comcast id FTQR1i00N5HDiR83gTQRKh; Fri, 30 Dec 2011 15:24:25 +0000 Message-ID: <4EFDD7A8.6090306@comcast.net> Date: Fri, 30 Dec 2011 10:24:24 -0500 From: Jason Lenthe User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: FreeBSD References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> <20111230142230.cb68d503.freebsd@edvax.de> <20111230095914.6cc16ab2@scorpio> In-Reply-To: <20111230095914.6cc16ab2@scorpio> X-Enigmail-Version: undefined Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 15:37:41 -0000 On 12/30/11 09:59, Jerry wrote: > If FreeBSD really wanted to make a quality product they would hire > competent programmers to create the drivers, etcetera that are seriously > needed. They do. See this for a list of FreeBSD Foundation funded projects that have been completed: http://freebsdfoundation.org/projects.shtml > I would gladly pay any reasonable charge for a product that > worked. You can donate here: http://freebsdfoundation.org/donate From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 15:57:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD18106564A for ; Fri, 30 Dec 2011 15:57:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 972728FC0C for ; Fri, 30 Dec 2011 15:57:28 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id 033063CA52 for ; Fri, 30 Dec 2011 16:57:26 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUFvQeM002005 for ; Fri, 30 Dec 2011 16:57:26 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 16:57:26 +0100 From: Polytropon To: FreeBSD Message-Id: <20111230165726.350598b5.freebsd@edvax.de> In-Reply-To: <20111230095914.6cc16ab2@scorpio> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> <20111230142230.cb68d503.freebsd@edvax.de> <20111230095914.6cc16ab2@scorpio> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 15:57:29 -0000 On Fri, 30 Dec 2011 09:59:14 -0500, Jerry wrote: > On Fri, 30 Dec 2011 14:22:30 +0100 > Polytropon articulated: > > > >From "man iwn": > > > > Intel Wireless WiFi Link 4965/1000/5000/5150/5300/6000/6050 > > IEEE 802.11n driver > > So they actually got support for one such device. I refer you to > > which does not even list support for "n" protocol devices. In a web forum (where certain kinds of users expect documentation to take place), the following list for support in 9.0-RELEASE can be read: Airlink101 AWLL6090 ASUS USB-N11 ASUS USB-N13 ASUS WL-160N Belkin F5D8051 ver 3000 Belkin F5D8053 Belkin F5D8055 Belkin F6D4050 ver 1 Buffalo WLI-UC-AG300N Buffalo WLI-UC-G300N Buffalo WLI-UC-GN Corega CG-WLUSB2GNL Corega CG-WLUSB2GNR Corega CG-WLUSB300AGN Corega CG-WLUSB300GNM D-Link DWA-130 rev B1 D-Link DWA-140 DrayTek Vigor N61 Edimax EW-7711UAn Edimax EW-7711UTn Edimax EW-7717Un Edimax EW-7718Un Gigabyte GN-WB30N Gigabyte GN-WB31N Gigabyte GN-WB32L Hawking HWDN1 Hawking HWUN1 Hawking HWUN2 Hercules HWNU-300 Linksys WUSB54GC v3 Linksys WUSB600N Mvix Nubbin MS-811N Planex GW-USMicroN Planex GW-US300MiniS Sitecom WL-182 Sitecom WL-188 Sitecom WL-301 Sitecom WL-302 Sitecom WL-315 SMC SMCWUSBS-N2 Sweex LW303 Sweex LW313 Unex DNUR-81 Unex DNUR-82 ZyXEL NWD210N ZyXEL NWD270N This clearly is more than "one such device". If you employ a common means of finding documentation for a certain kind of users - using google - you'll be able to determine the source of that list. > I am not sure if this is an introductory level chip or used in higher > end devices although I have my strong suspicions. In any case, newer > and more fully functional "n" devices still lack any significant, and I > use that word graciously, support. You can see from the list that there is work being done. I'm sure as soon as "all" devices are fully supported, this kind of devices will be obsoleted and replaced by something different - which _then_ will lack support. > As for your inquiry as to why I don't write one myself, fair enough. I > have a family to support, various organizations I work with or > contribute to, etcetera. To actually invest the time (and I have no > idea how much time it would entail), thereby taking it away from other > ventures I am involved in, i.e "work" for example, not to mention the > documentation that I would probably have to buy to learn how to > actually write a driver for such a device and make it work on FreeBSD > since I have never done it before, and acquire whatever other skills > and material I might need all for a grand ROI of "$0" is beyond absurd. Luckily, FreeBSD documentation comes for $0. The required documentation to access the hardware... well, that's a different question. Again, as we did discuss (and agree upon) before, supporting FreeBSD is not in the scope of hardware manufacturers. Supporting more than the platform they get "aliments" for simply wouldn't pay. The unit sales for _this_ world of IT are simply to low to justify the work. The alternative would be to release all the specs for the hardware. But if a manufacturer doesn't want to do this, primarily to _not_ publish essentials of the business, it is okay. Of course, this makes it harder for _free_ volunteers to write a driver. One could argument: The manufacturer _doesn't_ want you to use his hardware on any OS that is not "Windows" - which again is his right. > I am not a socialist asshole. I'm happy to hear that, so please don't behave like one. > I don't expect the government to bankroll > me while I sit on my ass working on a hobby. So why do _you_ bankroll the government with your tax money for sitting on their ass spying at you or doing nothing? :-) > If FreeBSD really wanted to make a quality product they would hire > competent programmers to create the drivers, etcetera that are seriously > needed. I would gladly pay any reasonable charge for a product that > worked. I am not a socialist/fascist asshole and I despise those who > are. Other OSs have all ready gone this route. I would also be willing to buy FreeBSD as an OS if the functionality I require can be purchased that way. It's not that I'm using free software exclusively. I can't do that because _my_ reqirements are 99% met by free software, and 1% isn't, and this is where I happily pay to get things working. (On the other hand, I often, nearly _regularly_ see products people pay for that do _not_ work, and they don't have any chance to get their money back, or get any other kind of compensation from the makers of that software.) On the other hand, I'd be happy to provide such kind of driver support, even for free, to contribute back to the community that provided me a versatile, safe and fast OS for $0 which allows me to get my work done without trouble. You may call this "socialist" (but I'd call it "social"), because I feel it's not wrong to give something back if I'm allowed to take something for free. Unlike a typical setting in sales, this is not mandatory. Sadly, I'm not skilled enough for this kind of device driver hacking, I really lack experience in this particular field. Regarding 802.11n WiFi support, maybe you're interested in reading the interview with Adrian Chadd on 802.11n support in FreeBSD: http://www.osnews.com/story/25461/Interview_with_Adrian_Chadd_on_802_11n_in_FreeBSD > By the way, just out of morbid curiosity, how are ASLR and KMS support > coming along? Doing a quick perusal it would appear that everyone but > FreeBSD supports them. I am sure if I am in error and FreeBSD has full > support for them you will inform me of same. I think KMS is still a Linuxism, such as Wayland. But it's possible that it will arrive in FreeBSD when an urgent need by its users is expressed. As long as this is a "niche application", I don't think support will be created. You know, it's _very_ deep inside the bowels of the OS where this work has to be done... "Initial support for the NX bit, on x86-64 and x86 processors that support it, first appeared in FreeBSD -CURRENT on June 8, 2004. It has been in FreeBSD releases since the 5.3 release." from WP; SSP should be present since 8.0, if I remember correctly. Regarding ASLR, I'm not sure if this is an attack vector to FreeBSD (or if the threat which ASLR compensates is just present on "Windows"). > Poly, you are an admitted liar. Proof not provided, claim rejected. > Read your own statements; you have > admitted so yourself. No, I haven't. You must have been reading something different. > I fail to see where continuing a dialog with an > admitted liar serves any purpose. It seems that whenever your own logic turns against your argumentation, you cancel the discussion. Of course - it wouldn't lead anywhere for you. > Have a Happy New Year. A year in which you can contribute to > discussions regarding subjects you may or may not know anything about > depending on what fabrication you had previously spewed. I wonder if > the "Liar paradox" would be of interest here? Ah, so many things to > contemplate in the new year. Same to you. Maybe you'll have the chance to review your logic, your way of concluding and dealing with different kinds of expressions (facts, assumptions, conditionals, conclusions, experiences, feelings), and become more polite by avoiding offending terminology that you seem to not fully understand (as you are particularly "cherry-picking" both in what you take into discussion and what you want to seen interpreted into your own words). If your discussion culture would benefit from such a correction, I'd be glad to exchange arguments with you on a polite and usable discussion basis, but as long as you're failing to maintain the basics of discussion culture, I fear that this is not possible (even though I'm trying)... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 16:03:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDAFD106564A for ; Fri, 30 Dec 2011 16:03:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A9F198FC0C for ; Fri, 30 Dec 2011 16:03:41 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id 36B513CC1D; Fri, 30 Dec 2011 17:03:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUG3dm0002043; Fri, 30 Dec 2011 17:03:39 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 17:03:39 +0100 From: Polytropon To: David Jackson Message-Id: <20111230170339.6d6af931.freebsd@edvax.de> In-Reply-To: References: <201112300604.pBU64dqB069626@mail.r-bonomi.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 16:03:42 -0000 On Fri, 30 Dec 2011 10:22:31 -0500, David Jackson wrote: > Of course, those best able to document are those who wrote it in > the first place, since they already know how it works. A fact seems to be: "Modern" programmers don't bother with documenting, or coding guidelines, or style or other things that "slow down" development. This attitude isn't new in general, as it has been done that way even in IT dinosaur times: There are COBOL programs still running, and nobody knows _why_ they are running and _how_. If someone had written usable documentation at the time the program was created and maintained, skilled COBOL h4x0rs wouldn't be able to write the desired salary on the contract as _they_ wish. :-) But keep in mind: Writing code and writing documentation are two different things. There are people who are excellent coders, but bad writers. In some teams, you'll find code writers and doc writers separated, but working together. This approach isn't free of problems, but also seems to work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 16:53:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27CA3106566B for ; Fri, 30 Dec 2011 16:53:24 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id E55298FC1C for ; Fri, 30 Dec 2011 16:53:23 +0000 (UTC) X-Sent-To: freebsd-questions@freebsd.org Received: from [192.168.2.14] (99-170-102-4.lightspeed.livnmi.sbcglobal.net [99.170.102.4]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id pBUGrML6045670; Fri, 30 Dec 2011 11:53:23 -0500 (EST) (envelope-from mark@msen.com) Message-ID: <4EFDEC79.9070403@msen.com> Date: Fri, 30 Dec 2011 11:53:13 -0500 From: Mark User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Postfix users Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; helo=[192.168.2.14] Cc: Subject: SSL/TLS suddenly stopped working for postfix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 16:53:24 -0000 My apologies for the cross-posting but I believe it is relevant. I have been running postfix for 8+ months without problems. Recently ( a week or two) I had a user complain that he could no longer send. It appears that postfix is no longer accepting SSL/TLS connections. STARTTLS is working on port 587 (and possibly 25, still testing) I am trying to figure out why the change. If I try and open an openssl connection manually, this is what I get: openssl s_client -connect mail.myServer.net:587 CONNECTED(00000003) 44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478: I recently installed a webmail client , roundcube. Not sure if that could affect anything. Any help is greatly appreciated. I know I should send main.cf and master.cf but I have to filter out the proprietary info first... Mark Moellering From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 17:20:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D96AD106564A for ; Fri, 30 Dec 2011 17:20:50 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 784628FC22 for ; Fri, 30 Dec 2011 17:20:50 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id pBUHKlUf077014; Fri, 30 Dec 2011 12:20:47 -0500 (EST) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id pBUHKlb4077003; Fri, 30 Dec 2011 12:20:47 -0500 (EST) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 30 Dec 2011 12:20:47 -0500 (EST) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: Polytropon In-Reply-To: <20111230170339.6d6af931.freebsd@edvax.de> Message-ID: References: <201112300604.pBU64dqB069626@mail.r-bonomi.com> <20111230170339.6d6af931.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Fri, 30 Dec 2011 12:20:48 -0500 (EST) Cc: David Jackson , freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@fledge.watson.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 17:20:50 -0000 On Fri, 30 Dec 2011, Polytropon wrote: > On Fri, 30 Dec 2011 10:22:31 -0500, David Jackson wrote: >> Of course, those best able to document are those who wrote it in >> the first place, since they already know how it works. > > A fact seems to be: "Modern" programmers don't bother > with documenting, or coding guidelines, or style or > other things that "slow down" development. This > attitude isn't new in general, as it has been done > that way even in IT dinosaur times: There are COBOL > programs still running, and nobody knows _why_ they > are running and _how_. If someone had written usable > documentation at the time the program was created > and maintained, skilled COBOL h4x0rs wouldn't be > able to write the desired salary on the contract > as _they_ wish. :-) As a [former] mainframer, I might take issue limiting the above to modern. I learned MVT and then MVS from the microfish and crashing rather larger (physically) and expensive computers. Not much else was available [outside of IBM]. > But keep in mind: Writing code and writing documentation > are two different things. There are people who are > excellent coders, but bad writers. In some teams, > you'll find code writers and doc writers separated, > but working together. This approach isn't free of > problems, but also seems to work. > In this thread if anyone mentioned Robert Watson, kernel source cross-reference, I missed it. Also every so often Kirk McKusick teaches a course on BSD internals. Kind of expensive but very thorough. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 19:27:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1873E106564A; Fri, 30 Dec 2011 19:27:52 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id 00ACF8FC08; Fri, 30 Dec 2011 19:27:51 +0000 (UTC) Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward16.mail.yandex.net (Yandex) with ESMTP id 6BAF9D24D75; Fri, 30 Dec 2011 23:27:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325273269; bh=C4Rkw4hy8jtUDbuZSZSFWoIhqJdZO0SYwl3FlFZZ6DY=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=kVNmJHMelgJ1E3Q4eM+IsB1gR/K/09vm4S9u7d4Gjt44JTM7QXQkNcFZ+DEuepaeB lp/axqeRzPU8HcdYTH9ociU2gdv+UrzQQirtbX9HVRrZ2LHF/SZL7vd6i/970SFmnO AZf5wLQwSLIMJPrA6OYY38d/O9b2L7wATAaTEuDc= Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id 45F3419000ED; Fri, 30 Dec 2011 23:27:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325273269; bh=C4Rkw4hy8jtUDbuZSZSFWoIhqJdZO0SYwl3FlFZZ6DY=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=kVNmJHMelgJ1E3Q4eM+IsB1gR/K/09vm4S9u7d4Gjt44JTM7QXQkNcFZ+DEuepaeB lp/axqeRzPU8HcdYTH9ociU2gdv+UrzQQirtbX9HVRrZ2LHF/SZL7vd6i/970SFmnO AZf5wLQwSLIMJPrA6OYY38d/O9b2L7wATAaTEuDc= Received: from unknown (unknown [77.93.52.4]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTP id RmOm4veQ-RmOahft5; Fri, 30 Dec 2011 23:27:48 +0400 X-Yandex-Spam: 1 X-Nat-Received: from [192.168.24.3]:2365 [ident-empty] by SPAM FILTER: with TPROXY id 1325280129.15066 abuse-to kes-kes@yandex.ru Date: Fri, 30 Dec 2011 21:27:46 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <174082910.20111230212746@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: Alexander Motin Subject: re0 + high load CPU, some tests X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 19:27:52 -0000 if this is interesting for anyone. looks strange: irq256 - WAIT and ng_queue - sleep are they wait each other? last pid: 70764; load averages: 69.14, 48.87, 26.25 up 9+03:32:40 21:01:21 197 processes: 101 running, 82 sleeping, 14 waiting CPU: 14.2% user, 0.0% nice, 44.7% system, 41.2% interrupt, 0.0% idle Mem: 192M Active, 343M Inact, 195M Wired, 112M Buf, 1259M Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU COMMAND 12 root -76 - 0K 112K WAIT 19.2H 52.00% {irq256: re0} 13 root 0 - 0K 8K sleep 609:11 37.06% ng_queue 69225 root 38 0 13420K 5748K select 2:49 2.10% snmpd 70764 root 41 -10 11184K 3984K RUN 0:00 2.05% perl5.10.1 7749 bind 37 0 62980K 49004K uwait 26:40 0.73% {named} 70762 root 36 0 9952K 2168K RUN 0:00 0.10% top 3772 root 36 -10 103M 87944K wait 12:06 0.05% {mpd5} 3772 root 36 -10 103M 87944K RUN 0:00 0.05% {mpd5} # vmstat -i interrupt total rate irq14: ata0 1430344 1 irq20: hpet0 3255183935 4118 irq23: uhci0 ehci0 85 0 irq256: re0 2672832531 3381 Total 5929446895 7501 1 users Load 79.81 59.43 33.65 Dec 30 21:03 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 283856 6264 721084 7948 1289560 count All 384748 8944 2879988 18292 pages Proc: Interrupts r p d s w Csw Trp Sys Int Sof Flt 54 cow 15828 total 102 33 50k 590 4377 15k 3991 242 116 zfod 3 ata0 14 9 ozfod 4120 hpet0 20 39.8%Sys 50.1%Intr 10.1%User 0.0%Nice 0.0%Idle 7%ozfod uhci0 ehci | | | | | | | | | | | daefr 11705 re0 256 ====================+++++++++++++++++++++++++>>>>> 34 prcfr 33 dtbuf 206 totfr Namei Name-cache Dir-cache 111725 desvn react Calls hits % hits % 64006 numvn pdwak 2151 2151 100 27893 frevn pdpgs intrn Disks ad1 da0 pass0 199448 wire KB/t 14.75 0.00 0.00 208820 act tps 3 0 0 338932 inact MB/s 0.04 0.00 0.00 cache %busy 1 0 0 1289560 free # uname -a FreeBSD bor 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Wed Feb 23 09:39:22 UTC 2011 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 # vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 128, 0, 92, 28, 92, 0, 0 UMA Zones: 224, 0, 92, 10, 92, 0, 0 UMA Slabs: 284, 0, 1267, 21, 13143, 0, 0 UMA RCntSlabs: 544, 0, 727, 1, 727, 0, 0 UMA Hash: 128, 0, 2, 28, 3, 0, 0 16 Bucket: 76, 0, 38, 12, 38, 0, 0 32 Bucket: 140, 0, 53, 3, 54, 0, 0 64 Bucket: 268, 0, 89, 9, 93, 90, 0 128 Bucket: 524, 0, 861, 0, 6885, 572, 0 VM OBJECT: 136, 0, 36908, 560, 8428863, 0, 0 MAP: 140, 0, 7, 49, 7, 0, 0 KMAP ENTRY: 72, 57505, 31, 234, 105121, 0, 0 MAP ENTRY: 72, 0, 1085, 982,19434967, 0, 0 DP fakepg: 72, 0, 0, 0, 0, 0, 0 SG fakepg: 72, 0, 0, 0, 0, 0, 0 mt_zone: 2060, 0, 268, 11, 268, 0, 0 16: 16, 0, 4707, 571,57886292, 0, 0 32: 32, 0, 11879, 777,706645306, 0, 0 64: 64, 0, 6726, 767,33742858, 0, 0 128: 128, 0, 43378, 66482,61277757, 0, 0 256: 256, 0, 2808, 372,684799727, 0, 0 512: 512, 0, 652, 236, 1592927, 0, 0 1024: 1024, 0, 532, 40, 605103, 0, 0 2048: 2048, 0, 269, 201, 5976, 0, 0 4096: 4096, 0, 156, 27, 608758, 0, 0 Files: 56, 0, 193, 276,48647341, 0, 0 TURNSTILE: 72, 0, 261, 39, 261, 0, 0 umtx pi: 52, 0, 0, 0, 0, 0, 0 MAC labels: 20, 0, 0, 0, 0, 0, 0 PROC: 688, 0, 60, 30, 306557, 0, 0 THREAD: 728, 0, 136, 124, 64332, 0, 0 SLEEPQUEUE: 44, 0, 261, 93, 261, 0, 0 VMSPACE: 232, 0, 40, 45, 306544, 0, 0 cpuset: 40, 0, 2, 182, 2, 0, 0 audit_record: 816, 0, 0, 0, 0, 0, 0 mbuf_packet: 256, 0, 259, 1149,1685234486, 0, 0 mbuf: 256, 0, 5, 642,3090339409, 0, 0 mbuf_cluster: 2048, 25600, 1408, 6, 1408, 0, 0 mbuf_jumbo_page: 4096, 12800, 0, 20, 153798, 0, 0 mbuf_jumbo_9k: 9216, 6400, 0, 0, 0, 0, 0 mbuf_jumbo_16k: 16384, 3200, 0, 0, 0, 0, 0 mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0, 0 NetGraph items: 36, 4130, 3, 174,540902149, 0, 0 NetGraph data items: 36, 531, 0, 531,1277775559, 0, 0 g_bio: 140, 0, 0, 3444, 5725546, 0, 0 ttyinq: 152, 0, 300, 12, 975, 0, 0 ttyoutq: 256, 0, 157, 8, 508, 0, 0 ata_request: 204, 0, 0, 855, 1431305, 0, 0 ata_composite: 180, 0, 0, 0, 0, 0, 0 VNODE: 272, 0, 64018, 46, 1519139, 0, 0 VNODEPOLL: 60, 0, 1, 125, 1, 0, 0 S VFS Cache: 72, 0, 66679, 154, 1573251, 0, 0 L VFS Cache: 292, 0, 595, 198, 20943, 0, 0 NAMEI: 1024, 0, 0, 12,38878226, 0, 0 NFSMOUNT: 532, 0, 0, 0, 0, 0, 0 NFSNODE: 460, 0, 0, 0, 0, 0, 0 DIRHASH: 1024, 0, 482, 14, 482, 0, 0 pipe: 392, 0, 11, 29, 217359, 0, 0 Mountpoints: 648, 0, 6, 6, 6, 0, 0 ksiginfo: 80, 0, 80, 976, 41491, 0, 0 itimer: 220, 0, 0, 0, 0, 0, 0 KNOTE: 72, 0, 8, 151,13777392, 0, 0 socket: 416, 25605, 92, 304,24848447, 0, 0 unpcb: 172, 25622, 27, 42, 523052, 0, 0 ipq: 32, 904, 0, 226, 1272, 0, 0 udp_inpcb: 220, 25614, 6, 138,24157973, 0, 0 udpcb: 8, 25781, 6, 400,24157973, 0, 0 tcp_inpcb: 220, 25614, 37, 935, 134055, 0, 0 tcpcb: 692, 25600, 35, 150, 134055, 0, 0 tcptw: 52, 5184, 2, 1006, 21168, 0, 0 syncache: 112, 15365, 0, 70, 87664, 0, 0 hostcache: 76, 15400, 148, 102, 1559, 0, 0 tcpreass: 20, 1690, 0, 169, 6987, 0, 0 sackhole: 20, 0, 0, 169, 351, 0, 0 sctp_ep: 880, 25600, 0, 0, 0, 0, 0 sctp_asoc: 1524, 40000, 0, 0, 0, 0, 0 sctp_laddr: 24, 80040, 0, 145, 45, 0, 0 sctp_raddr: 464, 80000, 0, 0, 0, 0, 0 sctp_chunk: 96, 400000, 0, 0, 0, 0, 0 sctp_readq: 76, 400000, 0, 0, 0, 0, 0 sctp_stream_msg_out: 72, 400044, 0, 0, 0, 0, 0 sctp_asconf: 24, 400055, 0, 0, 0, 0, 0 sctp_asconf_ack: 24, 400055, 0, 0, 0, 0, 0 ripcb: 220, 25614, 15, 129, 18472, 0, 0 rtentry: 108, 0, 9021, 231, 44539, 0, 0 IPFW dynamic rule: 108, 0, 0, 0, 0, 0, 0 divcb: 220, 25614, 0, 0, 0, 0, 0 selfd: 28, 0, 276, 232,434047205, 0, 0 ip4flow: 40, 25668, 1332, 8972,16391139, 0, 0 ip6flow: 64, 25636, 0, 174, 20, 0, 0 SWAPMETA: 276, 121576, 0, 0, 0, 0, 0 FFS inode: 116, 0, 63979, 74, 1519019, 0, 0 FFS1 dinode: 128, 0, 0, 0, 0, 0, 0 FFS2 dinode: 256, 0, 63979, 71, 1519019, 0, 0 # sysctl -a net.isr net.isr.numthreads: 1 net.isr.maxprot: 16 net.isr.defaultqlimit: 256 net.isr.maxqlimit: 10240 net.isr.bindthreads: 0 net.isr.maxthreads: 1 net.isr.direct: 1 net.isr.direct_force: 1 #sysctl -a | grep smp | less kern.timecounter.smp_tsc: 0 kern.smp.forward_signal_enabled: 1 kern.smp.topology: 0 kern.smp.cpus: 1 kern.smp.disabled: 3 kern.smp.active: 0 kern.smp.maxcpus: 32 kern.smp.maxid: 3 this system can process about 19000 interrupts from re0, just disable other CPUs to fast achive overload. renice -20 mpd5 wait 10min /usr/local/etc/mpd5 restart after 1mins ago mpd5 is restarted and everithing is stabilised to normal work PS. does "41.2% interrupt" in top output show really CPU load from 're' interrupts or in this value are some internal kernel interupts too? suggestions: when CPU can not devastate interrupts buffer re0 starts to flood by interrupts mpd5 lock interupts system when CPU is 0% idle; tuning on this machine: kern.ipc.maxsockbuf=8388608 net.graph.recvspace=524288 net.inet.ip.fw.one_pass=0 net.inet.ip.dummynet.io_fast=1 kern.smp.disabled=3 -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 19:57:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3983106566B for ; Fri, 30 Dec 2011 19:57:00 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 401EC8FC1A for ; Fri, 30 Dec 2011 19:57:00 +0000 (UTC) Received: by eaaf13 with SMTP id f13so18191965eaa.13 for ; Fri, 30 Dec 2011 11:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EvWjBcPzTPQ/ugKCnthKY649XvYgvb9BjZuDN90Gmjo=; b=Y4C9QAnRbrNj9d8Ls8ZQIejmIsWmOlCJ8hBIDOErVICqpl9/+uPLbJf9RAGM2klPV5 i7u+W3SlJU6frynObhfNbX2mbN+w07u6jOJZGIhLstpuv0WfTwCL3AHpU5nlmZ9bZ/EY da2uBzDWpGjQl4jubcuN+xSXZPyZiOsyabtX0= MIME-Version: 1.0 Received: by 10.204.153.216 with SMTP id l24mr9820116bkw.64.1325275019298; Fri, 30 Dec 2011 11:56:59 -0800 (PST) Received: by 10.204.130.27 with HTTP; Fri, 30 Dec 2011 11:56:59 -0800 (PST) In-Reply-To: <20111230165726.350598b5.freebsd@edvax.de> References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> <20111230142230.cb68d503.freebsd@edvax.de> <20111230095914.6cc16ab2@scorpio> <20111230165726.350598b5.freebsd@edvax.de> Date: Fri, 30 Dec 2011 14:56:59 -0500 Message-ID: From: David Jackson To: Polytropon , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 19:57:00 -0000 > > Again, as we did discuss (and agree upon) before, > supporting FreeBSD is not in the scope of hardware > manufacturers. Supporting more than the platform > they get "aliments" for simply wouldn't pay. The > unit sales for _this_ world of IT are simply to > low to justify the work. > > That is the chicken and egg problem, an OS with bad hardware support people dont want to use, hardware vendors dont want to support OSs with few users. > The alternative would be to release all the specs > for the hardware. But if a manufacturer doesn't > want to do this, primarily to _not_ publish > essentials of the business, it is okay. Of course, > this makes it harder for _free_ volunteers to > write a driver. One could argument: The manufacturer > _doesn't_ want you to use his hardware on any OS > that is not "Windows" - which again is his right. > > > > > I am not a socialist asshole. > > I'm happy to hear that, so please don't behave like one. > > Fascism is a derogatory term. Socialism, is not, means in its correct definition worker democratic control of the business they work for. One example is an employee owned corporation. it does not mean in correct definition central control, in fact, it is democratic and distributed power. The meaning of the term has been distorted by revisionists. Communism is where the idea that people contribute what they produce to the community and then receive what they need from the community, sort of like barter. It is a stateless system, hence, the revisionist US definition of the term is wrong, communist societies do not have a government. Communism/anarchism may be possible where there is a massive overabundance of resources, but with how overpopulated the world is those days are long gone. Stalinism is the proper term for the USSR as it was for many years, or state capitalism, where a dictatorship controlled a lot and it was not a democratic government, North Korea is also state capitalist. These are not communist or socialist societies in any way whatsoever. "communist in name only". North Korea calling itself Communist is scandaleous, and as scandalous is people in the USA to similarily corrupt the term and defile its original meaning. The US economy has long been a hybrid of government and private industry and in fact, that is what tends to be most workable, government is better at doing some things, private industry at others. BSD remember was funded by the US government with DARPA contracts for many years. I think the investment of public money was well worth it in creating an operating system that is open and publicly accessible. > > > > I don't expect the government to bankroll > > me while I sit on my ass working on a hobby. > > So why do _you_ bankroll the government with your > tax money for sitting on their ass spying at you > or doing nothing? :-) > > > Operating systems have become ubiqutous . Why not publicly fund an OS that is open and that everyone can use rather than be stuck with closed, crappy OSs from Greedy corporations like Microsoft. Remember, BSD was funded by the US governemnt. > > > If FreeBSD really wanted to make a quality product they would hire > > competent programmers to create the drivers, etcetera that are seriously > > needed. I would gladly pay any reasonable charge for a product that > > worked. I am not a socialist/fascist asshole and I despise those who > > are. Other OSs have all ready gone this route. > > I would also be willing to buy FreeBSD as an OS if > the functionality I require can be purchased that > way. It's not that I'm using free software exclusively. > I can't do that because _my_ reqirements are 99% met > by free software, and 1% isn't, and this is where I > happily pay to get things working. > > Contribute to FreeBSD Foundation, FreeBSD improvements can be funded with voluntary contributions if people make them. > > > By the way, just out of morbid curiosity, how are ASLR and KMS support > > coming along? Doing a quick perusal it would appear that everyone but > > FreeBSD supports them. I am sure if I am in error and FreeBSD has full > > support for them you will inform me of same. > > I think KMS is still a Linuxism, such as Wayland. But > it's possible that it will arrive in FreeBSD when an > urgent need by its users is expressed. As long as this > is a "niche application", I don't think support will > be created. You know, it's _very_ deep inside the > bowels of the OS where this work has to be done.. KMS is what allows the kernel to basically restore the video display to a functioning condition of the X server crashes? is that all it does? > > From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 20:15:50 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BDA41065677 for ; Fri, 30 Dec 2011 20:15:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id BE1058FC22 for ; Fri, 30 Dec 2011 20:15:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx01.qsc.de (Postfix) with ESMTP id D01C63CE0A; Fri, 30 Dec 2011 21:15:47 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBUKFlXh002581; Fri, 30 Dec 2011 21:15:47 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 30 Dec 2011 21:15:47 +0100 From: Polytropon To: David Jackson Message-Id: <20111230211547.0e43e207.freebsd@edvax.de> In-Reply-To: References: <20111230073958.3949a17b.freebsd@edvax.de> <20111230071500.6de15cf4@scorpio> <4EFDB022.10904@herveybayaustralia.com.au> <20111230080510.52653cec@scorpio> <20111230142230.cb68d503.freebsd@edvax.de> <20111230095914.6cc16ab2@scorpio> <20111230165726.350598b5.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 20:15:50 -0000 On Fri, 30 Dec 2011 14:56:59 -0500, David Jackson wrote: > > > > Again, as we did discuss (and agree upon) before, > > supporting FreeBSD is not in the scope of hardware > > manufacturers. Supporting more than the platform > > they get "aliments" for simply wouldn't pay. The > > unit sales for _this_ world of IT are simply to > > low to justify the work. > > > > > That is the chicken and egg problem, an OS with bad hardware support people > dont want to use, hardware vendors dont want to support OSs with few users. Yes, and it's the typical situation when worlds collide: Unit sales vs. community approach. It's also important how a society judges both approaches: the first one means "success, growth & money", while the other one is often invalidated as "toying around" and "just for fun, as you can't make money with that". > Fascism is a derogatory term. Fascism = "early form" of national socialism (a concept that got especially abused by Hitler and "most people"). > Socialism, is not, means in its correct > definition worker democratic control of the business they work for. One > example is an employee owned corporation. it does not mean in correct > definition central control, in fact, it is democratic and distributed > power. The meaning of the term has been distorted by revisionists. And the term also has been distorted "in actual application". Systems calling theirselves "socialist" only used this term; nice package for a fully different content. The same way can be said about many "democratic" countries (quotes deserved). > Communism is where the idea that people contribute what they produce to the > community and then receive what they need from the community, sort of like > barter. It is a stateless system, hence, the revisionist US definition of > the term is wrong, communist societies do not have a government. This system does not work with people. It is that easy. The reason is the human nature. Everyone wants to have more than his neighbor. An example can be given by the story that during the revolution in Russia, Lenin (as the political leader of the opposing forces) confiscated bread to give it for free to the hungry people. As good as this idea might look in the first place, the _effect_ was different: People took much more bread than they could eat, trading it for vodka. So the amount of bread available which was too low from the beginning had been shrinked in by another factor. > Communism/anarchism may be possible where there is a massive overabundance > of resources, but with how overpopulated the world is those days are long > gone. Additionally, the idea that everyone contributes something to the good of the whole society is a futile assumption in states that are so productive that it isn't even _required_ that everyone works. > Stalinism is the proper term for the USSR as it was for many years, or > state capitalism, where a dictatorship controlled a lot and it was not a > democratic government, North Korea is also state capitalist. When looking "behind the scenes", you can apply that kind of -ism to many countries that call theirselves "democratic" or "free". > These are not > communist or socialist societies in any way whatsoever. "communist in name > only". North Korea calling itself Communist is scandaleous, and as > scandalous is people in the USA to similarily corrupt the term and defile > its original meaning. You also see this in China: Even though the state claims to be communist, you see heavy effects of free market, of concurrency, of competition and trade. > The US economy has long been a hybrid of government and private industry > and in fact, that is what tends to be most workable, government is better > at doing some things, private industry at others. But both branches are driven by humans. Their knowledge, their experience and their intentions define the final value of those industries. The customer votes for what he likes better by using his wallet. > BSD remember was funded by the US government with DARPA contracts for many > years. I think the investment of public money was well worth it in creating > an operating system that is open and publicly accessible. I think nobody really wants to deny that fact, or try to relativate it by calling it "communism". :-) > > > I don't expect the government to bankroll > > > me while I sit on my ass working on a hobby. > > > > So why do _you_ bankroll the government with your > > tax money for sitting on their ass spying at you > > or doing nothing? :-) > > > Operating systems have become ubiqutous . Why not publicly fund an OS that > is open and that everyone can use rather than be stuck with closed, crappy > OSs from Greedy corporations like Microsoft. Because exactly that attribute - greedy - makes it a successful company, and success (in terms of unit sales and therefore market share) is what defines positive aspects in our society. > > > By the way, just out of morbid curiosity, how are ASLR and KMS support > > > coming along? Doing a quick perusal it would appear that everyone but > > > FreeBSD supports them. I am sure if I am in error and FreeBSD has full > > > support for them you will inform me of same. > > > > I think KMS is still a Linuxism, such as Wayland. But > > it's possible that it will arrive in FreeBSD when an > > urgent need by its users is expressed. As long as this > > is a "niche application", I don't think support will > > be created. You know, it's _very_ deep inside the > > bowels of the OS where this work has to be done.. > > > KMS is what allows the kernel to basically restore the video display to a > functioning condition of the X server crashes? is that all it does? KMS would allow the kernel (in its early stage during OS boot) to address the graphics hardware (GPU and display) to initiate certain resolutions and color settings, which could make the booting process colorful and entertaining, providing an appealing "first sight effect". Switching between X and not-X should be easier. Doing such settings in the kernel could also benefit security as it takes the required privileges off the X server. Moving _that_ kind of functionality into the kernel could enable non-X use of graphics capabilities, I also assume. Details: see http://en.wikipedia.org/wiki/Mode-setting -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 21:20:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3818D1065670 for ; Fri, 30 Dec 2011 21:20:30 +0000 (UTC) (envelope-from ufs.user@yahoo.com) Received: from nm32-vm5.bullet.mail.bf1.yahoo.com (nm32-vm5.bullet.mail.bf1.yahoo.com [72.30.239.141]) by mx1.freebsd.org (Postfix) with SMTP id CD1D78FC08 for ; Fri, 30 Dec 2011 21:20:29 +0000 (UTC) Received: from [98.139.212.148] by nm32.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 21:20:28 -0000 Received: from [98.139.212.198] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 21:20:28 -0000 Received: from [127.0.0.1] by omp1007.mail.bf1.yahoo.com with NNFMP; 30 Dec 2011 21:20:28 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 906071.94186.bm@omp1007.mail.bf1.yahoo.com Received: (qmail 74860 invoked by uid 60001); 30 Dec 2011 21:20:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325280028; bh=OSOmFVUgw6z+q+QMEVsotgTli7GMsT/fHVtWdJcw+iE=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=iyLl7u1k7nnQiE9ZMuyJ/U+ka4YYJzNtfrTFiLbGlqSH5BM8PaM8o0jCyOnkciNt3mq3b+vrAy4lE5qewhCrnKhU8ss4xLv6zVcZO/4vH1YY2wsGN5rx7M823vzSmZTjN/pdXYV7Egcjn5kwtarVjDYOklEFwhk+VFGfzalKld4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=wudtVar0N965Ug5gA/RbBF73owiLW+vTyFCR6QxTMkXQ2GqYQikH458ZQviZ+FLlMoM/rb+/bZ2/qwABnZ+Thjx83UvyizT+eEIrY91KeH7E1aSmwA8oPLFAn7+Y5EqTYdq1ILXmH6JRAjicpSx7m0bPvOpvlH4qYUcuGBKSVb0=; X-YMail-OSG: AXFi6wMVM1nAWIVoREKbEwdCwqduqsqUZ566.9lWlOiYDpq z5aWzEQcvJSnPPGQwbE2kL.skKfkDMCVCrplcry1LnehNzbDPhYU1NicUyYZ i1I2IzWBysg0.umNgJLgH4gLaCTXxKPZSCpOxzMi_GmcsbERu9eUeXY_cElS I3pu1SKEgpEZ01kAP8n0NZmbkr9W3SG5IQ3nidjr2FVzrNTL3xabZ7XZD57i pQzkJQybqpwlyFYJZJd3p_iuLpiFCjVKyaSR4qeL.ClTngwBBDLp.v6r4sU3 58DFY5fi56a1ORFsDlCogAMWRdqlPqaNagosmHtdmP0chWL2nhCwXPo8B6fI Q.9SjXaiHDIO76dzIIluwQSJ.ILWKBlDssF4ElKzQXnTmUe44jRTx5A9yOqy VJgxq6ljqYE0JTNGcWn6FblY_zeaZb5Ea6VaDWZ96PO3akehbKakGh0V31u0 iYlg86id7B1cgqc1of5Lf1sC65esZbD.mTg-- Received: from [64.134.127.137] by web140409.mail.bf1.yahoo.com via HTTP; Fri, 30 Dec 2011 13:20:28 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <1325229204.34713.YahooMailNeo@web140405.mail.bf1.yahoo.com> Message-ID: <1325280028.76835.YahooMailNeo@web140409.mail.bf1.yahoo.com> Date: Fri, 30 Dec 2011 13:20:28 -0800 (PST) From: UFS User To: Mehmet Erol Sanliturk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-questions@freebsd.org" Subject: Re: Why do I feel like compact flash is more reliable than SSD ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: UFS User List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 21:20:30 -0000 On Fri, Dec 30, 2011 at 2:13 AM, UFS User wrote: >But everyone I know (including me) has had an SSD fail, usually with no explanation. > >So is this just chance, or ... are CF cards really a lot more reliable than SSD ? The following pages , and references in them , may be useful : http://en.wikipedia.org/wiki/Solid-state_drive http://en.wikipedia.org/wiki/Wear_leveling http://en.wikipedia.org/wiki/Write_amplification http://en.wikipedia.org/wiki/Category:Solid-state_computer_storage_media http://en.wikipedia.org/wiki/Category:Solid-state_computer_storage No, these aren't useful at all, and further, the previous response that compared SSDs to spinning disks was also irrelevant. I am asking why compact flash cards (which are flash) seem to be much, much more reliable and durable than SSD (which is also flash). Why do I have CF parts running for 8+ years all over the place, but everyone I know has had SSDs fail (including me) ? There is no mention of spinning hard disks here, nor is this about *how* flash degrades in general - because in this case, they're both flash. Further, the failures I am seeing with SSDs are not because they wore out - they just quit. Comments ? From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 21:35:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61055106564A for ; Fri, 30 Dec 2011 21:35:47 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 3048F8FC12 for ; Fri, 30 Dec 2011 21:35:46 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id pBULcZfw076474 for freebsd-questions@freebsd.org; Fri, 30 Dec 2011 15:38:35 -0600 (CST) Date: Fri, 30 Dec 2011 15:38:35 -0600 (CST) From: Robert Bonomi Message-Id: <201112302138.pBULcZfw076474@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 21:35:47 -0000 David Jackson wrte: > Robert Bonomi wrote: > > David Jackson wrte: > > > ... > > > > > > However, My finding is that due to poor documentation, ... [ sneck remaineder of ill-informed trolling ] > > Start with "The Design and Implementation of the BSD 4.4.4 Operating > > System" > > by McKusick, eal. > > > > Then read "The design and Implementation of the FreeBSD Operating System", > > by McKusick and Neville-Neal.` > > > > *You* are free to contribute 'better documentation' as you review any > > particular file. Since you feel it is important, you are strongly > > encouraged to "do something" to actually 'make it better', as opposed > > to merely sitting on the sidelines and sniping at the work of others. > > > > Well, okay, yes, I have heard of these books. Ah, you've "heard" of them. And, you obviously haven't bothered to read them, right? Do you know _who_ McKusick is? Or Bostic? Or the other authors of the first book I referenced? Do you have any idea why it might be a good idea to start with what they've written? Do you know that manpages exist for a lot of kernel-mode functions? Do you understand that with all that *external* documentation, there is little need to replicate it inside the source files? From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 22:01:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BE611065672 for ; Fri, 30 Dec 2011 22:01:36 +0000 (UTC) (envelope-from mokomull@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 04B918FC1B for ; Fri, 30 Dec 2011 22:01:35 +0000 (UTC) Received: by werb13 with SMTP id b13so12586971wer.13 for ; Fri, 30 Dec 2011 14:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=voU+PHvNHY0UT+sF6YUlnvEhnwSnQIlgV9ghPwcBcKg=; b=QSsuyJLtmZZum/eVnCNxLH0bScLa/d6Xn8mOnPrVDCwmXrgX4ZLeio2jIVdH4SP9Eu ux8/PKhNmwggP3iseN3nAqtinqtpfoItjRcc7nbBF7IHnbDnwDKYQbIs3TQCS3bt+dq4 QBGAMCIs99rV5eFDL3936sq8U73Rq9EwGYAyk= MIME-Version: 1.0 Received: by 10.216.131.29 with SMTP id l29mr722842wei.5.1325282494187; Fri, 30 Dec 2011 14:01:34 -0800 (PST) Received: by 10.223.156.65 with HTTP; Fri, 30 Dec 2011 14:01:34 -0800 (PST) In-Reply-To: <4EFDEC79.9070403@msen.com> References: <4EFDEC79.9070403@msen.com> Date: Fri, 30 Dec 2011 14:01:34 -0800 Message-ID: From: Matt Mullins To: Mark Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Postfix users Subject: Re: SSL/TLS suddenly stopped working for postfix X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 22:01:36 -0000 On Fri, Dec 30, 2011 at 8:53 AM, Mark wrote: > My apologies for the cross-posting but I believe it is relevant. That's still typically frowned upon, IMHO. > =A0 =A0I have been running postfix for 8+ months without problems. =A0Rec= ently ( a > week or two) I had a user complain that he could no longer send. =A0It ap= pears > that postfix is no longer accepting SSL/TLS connections. =A0STARTTLS is > working on port 587 (and possibly 25, still testing) =A0I am trying to fi= gure > out why the change. > > =A0 =A0If I try and open an openssl connection manually, this is what I g= et: > > openssl s_client -connect mail.myServer.net:587 > CONNECTED(00000003) > 44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown > protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.= c:478: This command starts speaking the SSL protocol immediately at the beginning of the connection, which is wrong for STARTTLS cases. You need to do this instead: $ openssl s_client -connect mail.myserver.net:587 -starttls smtp The most common SSL-just-stops-working issue is that your certificate expired. Check that by looking for "Not After" in the output of: root@mailserver# openssl x509 -noout -text -in /path/to/server.crt -- Matt Mullins From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 22:34:57 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2EFB1065677 for ; Fri, 30 Dec 2011 22:34:57 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 973848FC08 for ; Fri, 30 Dec 2011 22:34:57 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id AB6F1E80553; Fri, 30 Dec 2011 14:34:56 -0800 (PST) Date: Fri, 30 Dec 2011 14:34:56 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20111230223453.GA8062@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: how to chdir permanently X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 22:34:57 -0000 if i put in a chdir(VBCPATH) before my speech stuff, how long will the chdir() let me remain in that directory? my directory for my tts gtk application is hidden away in ~/.VBC for now, and the binary has to be in that directory. all of the text files are there. tx for insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 22:55:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 353651065672 for ; Fri, 30 Dec 2011 22:55:37 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 078508FC24 for ; Fri, 30 Dec 2011 22:55:36 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 07F68206BDFC for ; Fri, 30 Dec 2011 14:38:31 -0800 (PST) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z-Kmywt6u8Wq for ; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id B0EDB206BDF2 for ; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 8F07F44F9215; Fri, 30 Dec 2011 14:38:30 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DshWfrYyYahh; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 743D544F9214; Fri, 30 Dec 2011 14:38:30 -0800 (PST) Date: Fri, 30 Dec 2011 14:38:30 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org Message-ID: <20111230223830.GA7071@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20111230223453.GA8062@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111230223453.GA8062@thought.org> User-Agent: Mutt/1.5.19 OpenPKG/CURRENT (2009-01-05) Subject: Re: how to chdir permanently 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: Fri, 30 Dec 2011 22:55:37 -0000 On Fri, Dec 30, 2011, Gary Kline wrote: >if i put in a > > chdir(VBCPATH) before my speech stuff, how long will the chdir() > let me remain in that directory? my directory for my tts gtk > application is hidden away in ~/.VBC for now, and the binary > has to be in that directory. all of the text files are > there. On any *nix system the chdir is in effect for the duration of the script that did it, and for any processes spawned by that script. 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 Skype: jwccsllc (206) 855-5792 Whenever a people entrust the defence of their country to a regular, standing army, composed of mercenaries, the power of that country will remain under the direction of the most wealthy citizens. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 23:58:59 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB5781065670 for ; Fri, 30 Dec 2011 23:58:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 8D15D8FC1A for ; Fri, 30 Dec 2011 23:58:59 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id BB688E80553; Fri, 30 Dec 2011 15:58:58 -0800 (PST) Date: Fri, 30 Dec 2011 15:58:58 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20111230235852.GA21531@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: how to tell if a text1.text file has been written to disk? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 30 Dec 2011 23:58:59 -0000 i'm using gvim for now. the person with impaired speech types.... Say: "hi, i'm jon and i'm hear to give you some background on virtue ethics." Or whatever. the gvim editor has been spawned. i must wait until the user is finished typing--ESC]:[Enter]. then my espeak | aplay speech code will echo what he has typed. is there any way, other than, or maybe in addition to-- spinning in a while loop at 10 millisecond usleeps for the vim ".text1.text.swp" file to go away? does wim enter characters into its textfiles as the user types? i'm close. thanks to guys who are on various mailing list. S-day: "show-and-tell day in 11 days away before e docs and therapists. most of them don't think that any oprm-source tools count. even ones like the newest graphic toolkits. like gtk. as always, thanks for any assist. you're all going on the list of contributors ... gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 00:44:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B34E9106566B for ; Sat, 31 Dec 2011 00:44:52 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CDD28FC1A for ; Sat, 31 Dec 2011 00:44:52 +0000 (UTC) Received: by iadj38 with SMTP id j38so32993449iad.13 for ; Fri, 30 Dec 2011 16:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=pw2hKqWmvRxpAEDLjWG28DP6yfu6Cv5eXLhh8NAa7n0=; b=lqE/DmVA/2TaRLayBRXm8boulVFkrSiGOO3AlUWb5/oDoNa9eS8/CofZkEXeNyFhR8 I4xvOYR/l9wODzm/0u/0iybPrvZRq4q37O0kjLR5XJnZv9dnywTX1e+1Y2cbZi/aV5ta RCPgCuRGOGAoFn1AXFCxfKH4+GPn2Q2rOJ6hs= Received: by 10.42.147.72 with SMTP id m8mr43479680icv.56.1325290851656; Fri, 30 Dec 2011 16:20:51 -0800 (PST) Received: from [192.168.1.2] ([174.134.109.226]) by mx.google.com with ESMTPS id h9sm133092884ibh.11.2011.12.30.16.20.50 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 16:20:51 -0800 (PST) Message-ID: <4EFE645B.8010906@gmail.com> Date: Fri, 30 Dec 2011 17:24:43 -0800 From: Edward Martinez User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 00:44:52 -0000 Hello, Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? For instance, when i type something basic using the newline scape sequence in FreeBSD bash i get this: $ FRUIT_BASKET="apple oranges pears" $ echo "My fruit basket contains:\n$FRUIT_BASKET" My fruit basket contains:\napple oranges pears the newline becomes part of stdout, but it works in linux and solaris; the output is shown in two separate lines. is there is setting i have to change in FreeBSD's shell init file so it will behave like linux and solaris bash shell or use just use "printf"? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 01:04:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B49C106567A for ; Sat, 31 Dec 2011 01:04:49 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E97668FC19 for ; Sat, 31 Dec 2011 01:04:48 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so16122759obb.13 for ; Fri, 30 Dec 2011 17:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EGosK7DrMxTP+X5GLEY7ha0qonkVYGthW9AbDGnY/NA=; b=O8hpDMsYfV+4fTPoS7CYy8nWt/VjCB7ej2nzzoFXjU7pCOPncma96yDdwdnP0tIy4Z s3YS0LNQndBYc8UkvgJekF5oix75Q23b+DbEuE4favL0O65wZLzKP18AkE6/ppbSd46G hohUH1+bS41UJKM0fJlAd6jFs6646qT7AVSEI= MIME-Version: 1.0 Received: by 10.182.46.68 with SMTP id t4mr19154339obm.41.1325293488435; Fri, 30 Dec 2011 17:04:48 -0800 (PST) Received: by 10.182.133.33 with HTTP; Fri, 30 Dec 2011 17:04:48 -0800 (PST) In-Reply-To: <4EFE645B.8010906@gmail.com> References: <4EFE645B.8010906@gmail.com> Date: Fri, 30 Dec 2011 17:04:48 -0800 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Edward Martinez , FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 01:04:49 -0000 try with the -e flag: $ FRUIT_BASKET="apples oranges pears" $ echo -e 'My fruit basket contains: \n $FRUIT_BASKET' My fruit basket contains: $FRUIT_BASKET >Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 01:06:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDE9A1065670 for ; Sat, 31 Dec 2011 01:06:20 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B4E658FC13 for ; Sat, 31 Dec 2011 01:06:20 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so16123268obb.13 for ; Fri, 30 Dec 2011 17:06:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Dw7P7qrBYhrCK+UNAO5v8EDaiqzmEYDxXdzBujqsWbQ=; b=NOVKcl7dWb6sZt/1aj47XOs2wuFe5dvOBueW03A0xa2pf7ShaurwUW6QIXn2vfpkYl ZuTX6BL+qq9U9tn2mIJder6w/pJErg5g4KYD4EUZSRwd/9foB9W0QYtw/K7kjrlMT5Eo uui+VkMKzXQieAfwghNajtaw1WRSvrTeLiiKM= MIME-Version: 1.0 Received: by 10.182.46.68 with SMTP id t4mr19156424obm.41.1325293580213; Fri, 30 Dec 2011 17:06:20 -0800 (PST) Received: by 10.182.133.33 with HTTP; Fri, 30 Dec 2011 17:06:20 -0800 (PST) In-Reply-To: References: <4EFE645B.8010906@gmail.com> Date: Fri, 30 Dec 2011 17:06:20 -0800 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Edward Martinez , FreeBSD Questions Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 01:06:21 -0000 I used ' singe quotes, so double quotes is: $ FRUIT_BASKET=3D"apples oranges pears" $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" My fruit basket contains: apples oranges pears =CD=E0 30 =E4=E5=EA=E5=EC=E2=F0=E8 2011, 17:04, =CB=FE=E1=EE=EC=E8=F0 =C3= =F0=E8=E3=EE=F0=EE=E2 =ED=E0=EF=E8=F1=E0: > try with the -e flag: > > $ FRUIT_BASKET=3D"apples oranges pears" > $ echo -e 'My fruit basket contains: \n $FRUIT_BASKET' > My fruit basket contains: > $FRUIT_BASKET > > > >Why the scape sequence; newline (\n) does not work in FreeBSD's bash= , > However, it works both in Linux and Solaris bash? > > > -- > Lyubomir Grigorov (bgalakazam) > > --=20 Lyubomir Grigorov (bgalakazam) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 01:43:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4523106564A for ; Sat, 31 Dec 2011 01:43:53 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 899E18FC0C for ; Sat, 31 Dec 2011 01:43:53 +0000 (UTC) Received: by iadj38 with SMTP id j38so33058237iad.13 for ; Fri, 30 Dec 2011 17:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=TUJaQk7vQKtPI5HlaH0d9jazu5tMfiAePJ9S1djUJWc=; b=gVYb6DgPSLqGTOMDN68yBk544NMLH9eiTl0pg1L+Dlt4CP1XXaD1J/U0SEhC85iS0C EfI0nkt4AqTSdIt+2R7/joXkEIHK2MXhXunc/LLFYLh9h8U4ypL25uT9qP8R7W+KfHyW T9S9Fr0Mtm/jCdMr3E1+VyNzCUhYnD8WsDSe8= Received: by 10.50.189.194 with SMTP id gk2mr48131052igc.0.1325295833143; Fri, 30 Dec 2011 17:43:53 -0800 (PST) Received: from [192.168.1.2] ([174.134.109.226]) by mx.google.com with ESMTPS id 36sm133852163ibc.6.2011.12.30.17.43.52 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 17:43:52 -0800 (PST) Message-ID: <4EFE77D1.3090402@gmail.com> Date: Fri, 30 Dec 2011 18:47:45 -0800 From: Edward Martinez User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.20) Gecko/20110804 Thunderbird/3.1.12 MIME-Version: 1.0 To: =?windows-1251?Q?=CB=FE=E1=EE=EC=E8=F0_=C3=F0=E8=E3=EE=F0=EE=E2?= References: <4EFE645B.8010906@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 01:43:53 -0000 On 12/30/11 17:06, Любомир Григоров wrote: > I used ' singe quotes, so double quotes is: > > $ FRUIT_BASKET="apples oranges pears" > $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" > My fruit basket contains: > apples oranges pears Thanks for the help, it worked. I find it interesting that FreeBSD's echo man page does not mention the -e option is needed to enable backslash escapes. I remembered why it worked on linux is because i created an echo alias with the -e option. So i will do the same for FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 02:03:49 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C402F106564A for ; Sat, 31 Dec 2011 02:03:49 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [IPv6:2a02:6b8:0:801::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3F4CE8FC08 for ; Sat, 31 Dec 2011 02:03:49 +0000 (UTC) Received: from smtp11.mail.yandex.net (smtp11.mail.yandex.net [95.108.130.67]) by forward11.mail.yandex.net (Yandex) with ESMTP id B710EE821B0 for ; Sat, 31 Dec 2011 06:03:47 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325297027; bh=teKkNX/CA7m4OW+JsE36ZTHstmEzY4MB0J9VxGnV5hU=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=Peode2UP7ZYXQ+mytQoQH/jdSbDjfUZA1iPZhNhOVkjiT+D2yo8jMWs+KabBLAmV0 z8h0zmKUVA5UD2lTLidGwYCyprf1uR0hmztYrxYwc4jvcTcPRNHJ9G8q+X/iMcu9kw kMHkwyQPUJddtdhvl3yozfGZ7lGzvZIP+x4bA4Kc= Received: from smtp11.mail.yandex.net (localhost [127.0.0.1]) by smtp11.mail.yandex.net (Yandex) with ESMTP id 95BDD7E033B for ; Sat, 31 Dec 2011 06:03:47 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325297027; bh=teKkNX/CA7m4OW+JsE36ZTHstmEzY4MB0J9VxGnV5hU=; h=Date:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=Peode2UP7ZYXQ+mytQoQH/jdSbDjfUZA1iPZhNhOVkjiT+D2yo8jMWs+KabBLAmV0 z8h0zmKUVA5UD2lTLidGwYCyprf1uR0hmztYrxYwc4jvcTcPRNHJ9G8q+X/iMcu9kw kMHkwyQPUJddtdhvl3yozfGZ7lGzvZIP+x4bA4Kc= Received: from unknown (unknown [77.93.52.20]) by smtp11.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3kV8oXWq-3lVK0HHl; Sat, 31 Dec 2011 06:03:47 +0400 X-Yandex-Spam: 1 Date: Sat, 31 Dec 2011 04:03:44 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <211353632.20111231040344@yandex.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Subject: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 02:03:49 -0000 Hi, Freebsd-questions. Is there any way to reduce partition size on live system? server is reachable only by ssh. I need to reduce /usr to 300G /dev/ad0s1f 1.8T 188G 1.4T 11% /usr -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 02:10:11 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91798106566C for ; Sat, 31 Dec 2011 02:10:11 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp05.sth.basefarm.net (ch-smtp05.sth.basefarm.net [80.76.153.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7C88FC08 for ; Sat, 31 Dec 2011 02:10:10 +0000 (UTC) Received: from c83-255-51-20.bredband.comhem.se ([83.255.51.20]:28425 helo=falcon.midgard.homeip.net) by ch-smtp05.sth.basefarm.net with esmtp (Exim 4.76) (envelope-from ) id 1RgoBf-0000kx-Hq for freebsd-questions@freebsd.org; Sat, 31 Dec 2011 02:56:45 +0100 Received: (qmail 31994 invoked from network); 31 Dec 2011 02:56:40 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 31 Dec 2011 02:56:40 +0100 Received: (qmail 38179 invoked by uid 1001); 31 Dec 2011 02:56:40 +0100 Date: Sat, 31 Dec 2011 02:56:40 +0100 From: Erik Trulsson To: Edward Martinez Message-ID: <20111231015640.GA38111@owl.midgard.homeip.net> References: <4EFE645B.8010906@gmail.com> <4EFE77D1.3090402@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EFE77D1.3090402@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 83.255.51.20 X-Scan-Result: No virus found in message 1RgoBf-0000kx-Hq. X-Scan-Signature: ch-smtp05.sth.basefarm.net 1RgoBf-0000kx-Hq fee225b6ba4f1cf849098f588d7bb832 Cc: ??????? ???????? , FreeBSD Questions Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 02:10:11 -0000 On Fri, Dec 30, 2011 at 06:47:45PM -0800, Edward Martinez wrote: > On 12/30/11 17:06, ??????? ???????? wrote: > > I used ' singe quotes, so double quotes is: > > > > $ FRUIT_BASKET="apples oranges pears" > > $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" > > My fruit basket contains: > > apples oranges pears > > > Thanks for the help, it worked. I find it interesting that FreeBSD's > echo man page does not mention the -e option is needed to > enable backslash escapes. I remembered why it worked on linux > is because i created an echo alias with the -e option. > So i will do the same for FreeBSD. The echo(1) manpage on FreeBSD doesn't say anything about '-e' because that version of echo doesn't have such an option. The echo you were actually using is the one builtin into bash and is described in the bash(1) manpage (including mention of the -e option.) -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 03:16:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DBF106566B for ; Sat, 31 Dec 2011 03:16:35 +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 1C6EC8FC0A for ; Sat, 31 Dec 2011 03:16:34 +0000 (UTC) Received: from mr16.lnh.mail.rcn.net ([207.172.157.36]) by smtp02.lnh.mail.rcn.net with ESMTP; 30 Dec 2011 22:16:34 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr16.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BMT35976; Fri, 30 Dec 2011 22:16:33 -0500 Received-SPF: None identity=pra; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=mailfrom; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="roberthuff@rcn.com"; x-conformance=sidf_compatible Received-SPF: None identity=helo; client-ip=209.6.86.84; receiver=smtp01.lnh.mail.rcn.net; envelope-from="roberthuff@rcn.com"; x-sender="postmaster@jerusalem.litteratus.org.litteratus.org"; x-conformance=sidf_compatible Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp01.lnh.mail.rcn.net with ESMTP; 30 Dec 2011 22:16:33 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20222.32401.326222.536203@jerusalem.litteratus.org> Date: Fri, 30 Dec 2011 22:16:33 -0500 To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= In-Reply-To: <211353632.20111231040344@yandex.ru> References: <211353632.20111231040344@yandex.ru> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr16.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 03:16:35 -0000 =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: > Is there any way to reduce partition size on live system? No. Basic steps: 0) go to single-user; unmount partition 1) backup affected partition; test backup 2) delete old partition 3) create new/smaller partition 4) restore from backup Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 04:12:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 971E8106566B for ; Sat, 31 Dec 2011 04:12:22 +0000 (UTC) (envelope-from junkrigsailor@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 66AD98FC0A for ; Sat, 31 Dec 2011 04:12:22 +0000 (UTC) Received: by dakp5 with SMTP id p5so13341491dak.13 for ; Fri, 30 Dec 2011 20:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=Wdr6ayvmZQgTXQamhPkJlwPBEVTDHawz/TKeYsqUmbM=; b=HqN0TPU016zqtkTMGS127IW/yHSwuerTkOqcLse8PuFm9EvZsJ8ceIP3wpTT/neee9 qcryXt70XRRGE8D3fbRzpZlOYmvPtf4Z4qk+eetTY9w1EEWLNI5kH2Tv11I0T7H5CQX3 EpfTVonYWjaB0Uxdcmh/K+ldw/MnBoQfEAWGM= MIME-Version: 1.0 Received: by 10.68.199.38 with SMTP id jh6mr99507149pbc.77.1325304741563; Fri, 30 Dec 2011 20:12:21 -0800 (PST) Received: by 10.68.25.233 with HTTP; Fri, 30 Dec 2011 20:12:21 -0800 (PST) Date: Fri, 30 Dec 2011 22:12:21 -0600 Message-ID: From: Jeffrey McFadden To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: very small network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 04:12:22 -0000 Mike, Chad, Damien, thank you all. I'm good to go now. Chad, just because you asked, I'm running behind a Verizon MiFi 5 port 3G router. Out in rural US we don't have cable or dsl, and the latency issues of satellite make it undesirable to me, so the cellular route (not the broadest of broadband but tolerable) is my best choice.. Everything on that side is under control - like I said, all these machines can access the internet. When they were Windows boxes they were networked. I used to do Windows networking for a living, but Windows boxes die too often, with no notice and no hope or restoration, and anyway I find this OS, and this community, to be more enjoyable. I've had considerable experience over the years with standalone Linux boxen, and once built a Windows network with a Debian 1.4 (I think) server running Samba, just never had occasion to hook several *nix's together. I do, so far, prefer FreeBSD to any of the Linux's I've run. I bought into FreeBSD with a DVD of PC-BSD. It's great, but the PC-BSD user manual is not up to the level of the FreeBSD manual. In the latter I have found, as you all suggested, all the necessary information. I haven't set the network up yet but I expect to be able to run both server and client NFS on each machine to enable networking both ways. They are all laptops of one sort or another (Asus eee, Toshiba Satellite, late model Sony Vaio) and it sort of depends on where I sit which machine needs to be client and which server, if that makes any sense. Anyway, once again, thanks to all. Jeff ><> ><> ><> ><> ><> ><> ><> <>< <>< <>< <>< <>< <>< <>< On Thu, Dec 29, 2011 at 9:43 PM, wro= te: > Send freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org > > You can reach the person managing the list at > freebsd-questions-owner@freebsd.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." > > > Today's Topics: > > 1. Re: Static IP on a Bridge (Brian Seklecki (Mobile)) > 2. Re: Need to know the compatibility (Daniel Feenberg) > 3. Re: Need to know the compatibility (Daniel Feenberg) > 4. Re: Need to know the compatibility (Mark Blackman) > 5. Same version on binary packages and updated ports > (Walter Alejandro Iglesias) > 6. Re: OT: Root access policy (mikel king) > 7. Re: OT: Root access policy (Carl Johnson) > 8. Re: Static IP on a Bridge (james@colannino.org) > 9. Re: Static IP on a Bridge (james@colannino.org) > 10. Re: Intel EMGD driver on FreeBSD? (Luke Dean) > 11. Re: OT: Root access policy (C. P. Ghost) > 12. Re: Same version on binary packages and updated ports > (Jerry McAllister) > 13. RE: Static IP on a Bridge (Devin Teske) > 14. Re: Same version on binary packages and updated ports (Polytropon) > 15. Re: OT: Root access policy (Polytropon) > 16. RE: OT: Root access policy (Devin Teske) > 17. Re: Same version on binary packages and updated ports > (Chuck Swiger) > 18. Re: Same version on binary packages and updated ports > (Walter Alejandro Iglesias) > 19. Re: Same version on binary packages and updated ports > (Adam Vande More) > 20. Re: Same version on binary packages and updated ports > (Walter Alejandro Iglesias) > 21. Re: ZFS upgrade path (James Edwards) > 22. Host Dynamic DNS configuration for 8.2-RELEASE (akshay sreeramoju) > 23. Re: Host Dynamic DNS configuration for 8.2-RELEASE > (Matthew Seaman) > 24. very small "workgroup" network (Jeffrey McFadden) > 25. Re: Host Dynamic DNS configuration for 8.2-RELEASE > (akshay sreeramoju) > 26. Re: very small "workgroup" network (Mike Jeays) > 27. Re: very small "workgroup" network (Damien Fleuriot) > 28. Re: Host Dynamic DNS configuration for 8.2-RELEASE (Da Rock) > 29. Re: mutual forwarders in ISC BIND (Da Rock) > 30. Re: very small "workgroup" network (Chad Perrin) > 31. FreeBSD Kernel Internals Documentation (David Jackson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 29 Dec 2011 10:07:46 -0500 (EST) > From: "Brian Seklecki (Mobile)" > Subject: Re: Static IP on a Bridge > To: Matthew Seaman > Cc: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > > > Also, what MAC address does the DHCPREQUEST packet appear to be sourced > from (from the view of your DHCP server, or on the wire somewhere > between the two (SPAN PORT)) ~BAS > > This sounds familar. > > > > ------------------------------ > > Message: 2 > Date: Thu, 29 Dec 2011 10:45:14 -0500 (EST) > From: Daniel Feenberg > Subject: Re: Need to know the compatibility > To: Vijayamurugan.Kalyanasundaram@emc.com > Cc: freebsdquestions@FreeBSD.org, questions@FreeBSD.org, > freebsd-questions@FreeBSD.org > Message-ID: > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > > > On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: > > > Hi Team, > > > > Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. > > > > I didn't see any answer to this - but we are interested in ANY 10 > GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? > > Daniel Feenberg > NBER > > > ------------------------------ > > Message: 3 > Date: Thu, 29 Dec 2011 10:45:14 -0500 (EST) > From: Daniel Feenberg > Subject: Re: Need to know the compatibility > To: Vijayamurugan.Kalyanasundaram@emc.com > Cc: freebsdquestions@FreeBSD.org, questions@FreeBSD.org, > freebsd-questions@FreeBSD.org > Message-ID: > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > > > On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: > > > Hi Team, > > > > Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. > > > > I didn't see any answer to this - but we are interested in ANY 10 > GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? > > Daniel Feenberg > NBER > > > ------------------------------ > > Message: 4 > Date: Thu, 29 Dec 2011 15:59:50 +0000 > From: Mark Blackman > Subject: Re: Need to know the compatibility > To: Daniel Feenberg > Cc: Vijayamurugan.Kalyanasundaram@emc.com, > freebsd-questions@FreeBSD.org > Message-ID: <37877907-8E4F-4394-88D7-0CC4B8F09BBC@exonetric.com> > Content-Type: text/plain; charset=3Dus-ascii > > > On 29 Dec 2011, at 15:45, Daniel Feenberg wrote: > > > > > > > On Mon, 19 Dec 2011, Vijayamurugan.Kalyanasundaram@emc.com wrote: > > > >> Hi Team, > >> > >> Kindly let me know on the compatibility of " Intel X520 Dual Port 10 > Gigabit Ethernet PCIe Adaptor Card " with Free BSD 8.2 OS. > >> > > > > I didn't see any answer to this - but we are interested in ANY 10 > > GB ethernet card for FreeBSD or Ubuntu. Does anyone have that working? > > > > Daniel Feenberg > > NBER > > The two drivers below sound promising? > > > http://www.freebsd.org/cgi/man.cgi?query=3Dixgb&apropos=3D0&sektion=3D0&m= anpath=3DFreeBSD+8.2-RELEASE&arch=3Ddefault&format=3Dhtml > > > http://www.freebsd.org/cgi/man.cgi?query=3Dixgbe&apropos=3D0&sektion=3D0&= manpath=3DFreeBSD+8.2-RELEASE&arch=3Ddefault&format=3Dhtml > > > > > ------------------------------ > > Message: 5 > Date: Thu, 29 Dec 2011 17:16:11 +0100 > From: Walter Alejandro Iglesias > Subject: Same version on binary packages and updated ports > To: freebsd-questions@freebsd.org > Message-ID: <20111229161611.GA81214@chancha.local> > Content-Type: text/plain; charset=3Dus-ascii > > Hello, > > I am giving my firsts steps with FreeBSD. > I've searched a lot in google, mailing list, forums, freebsd > handbook and I am still not clear about the following. > > In a RELEASE fresh install, after updating the ports using i.e. > portsnap, the packages downloaded with pkp_add -r are older > versions respect their port counterparts, leading to > dependencies issues. So, once the ports tree is updated: > > 1) Am I forced to compile all? > > 2) Should I use STABLE to get the same versions with pkg_add > than compiling up to date ports? Are STABLE packages compiled > from this ports? > > 3) In case my assumption above is correct; taking in care that > in a production system it is advisable (handbook) to stay with > RELEASE, should I avoid updating the ports tree in i.e. a server > machine? What to do with broken ports in this case? > > Resuming, is there a default way to install-update the software > keeping ports and binary packages in one piece? What is > advisable in general terms for a desktop and what for a server? > > It will be enough for me if someone just point me to documentation. > > Big thanks > > > Walter > > > > > ------------------------------ > > Message: 6 > Date: Thu, 29 Dec 2011 11:34:39 -0500 > From: mikel king > Subject: Re: OT: Root access policy > To: Irk Ed > Cc: freebsd-questions@freebsd.org > Message-ID: <1AD045F1-BBE7-492C-9F19-FB54F2741D5B@olivent.com> > Content-Type: text/plain; charset=3Dus-ascii > > > On Dec 29, 2011, at 4:01 AM, Irk Ed wrote: > > > For the first time, a customer is asking me for root access to said > > customer's servers. > > > > Obviously, I must comply. At the same time, I cannot continue be > > accountable for those servers. > > > > Is this that simple and clear cut? > > > > Assuming that I'll be asked to continue administering said servers, I > guess > > I should at least enable accounting... > > > > I'd appreciate comments/experience/advice from the wise... > > Call me paranoid but is your contract near term end? > > In my experience this is usually a precursor to a end of year cost cuttin= g > service provider change. Specifically someone in sales's second cousin's > nephew who saw a linux server once and thinks he's an expert. > > I recommend that you complete a backup of everything prior to granting > them sudo access. Possibly even run am md5sum against all important confi= g > files and save that in your back up as well. > > Then give them well written explanation of why sudo is superior or at > least safer to direct root access. > > Regards, > Mikel King > BSD News Network > http://bsdnews.net > skype: mikel.king > http://twitter.com/mikelking > > > > > > ------------------------------ > > Message: 7 > Date: Thu, 29 Dec 2011 09:15:45 -0800 > From: Carl Johnson > Subject: Re: OT: Root access policy > To: freebsd-questions@freebsd.org > Message-ID: <87y5tvcn9a.fsf@oak.localnet> > Content-Type: text/plain; charset=3Dus-ascii > > Damien Fleuriot writes: > > > On 12/29/11 10:58 AM, Polytropon wrote: > >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > >>> For the first time, a customer is asking me for root access to said > >>> customer's servers. > >> > > >>> Assuming that I'll be asked to continue administering said servers, I > guess > >>> I should at least enable accounting... > >> > >> You could have better success using sudo. Make sure > >> the customer is allowed to "sudo ". The > >> sudo program will log _all_ things the customer > >> does, so you can be sure you can review actions. > >> Furthermore you don't need to give him the _real_ > >> root password. He won't be able to "su root" or > >> to login as root, _real_ root. But he can use > >> the "sudo" prefix to issue commands "with root > >> privileges". > >> > > > > "sudo su -" or "sudo sh" and the customer gets a native root shell whic= h > > does *not* log commands ! > > The sudoers manpage mention the noexec option which is designed to help > with the first problem. They also show an example using !SHELLS which > can help with the second. > > -- > Carl Johnson carlj@peak.org > > > > ------------------------------ > > Message: 8 > Date: Thu, 29 Dec 2011 11:21:11 -0600 > From: james@colannino.org > Subject: Re: Static IP on a Bridge > To: freebsd-questions@freebsd.org > Message-ID: <20111229112111.1079640ol70p51u0@gator1823.hostgator.com> > Content-Type: text/plain; charset=3DISO-8859-1; DelSp=3D"Yes"; > format=3D"flowed" > > Quoting Matthew Seaman : > > > What's the error message you see when you fail to ping out? > > ping: cannot resolve google.com: Host name lookup failure > > > What does the routing table (netstat -r) look like before and after DHC= P? > > Before DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expir= e > localhost link#11 UH 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > After DHCP: > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expir= e > default 192.168.1.1 UGS 0 0 bridge > localhost link#11 UH 0 0 lo0 > 192.168.1.0 link#12 U 0 1 bridge > 192.168.1.103 link#12 UHS 0 0 lo0 > > Internet6: > Destination Gateway Flags Netif Expire > :: localhost UGRS lo0 > localhost localhost UH lo0 > ::ffff:0.0.0.0 localhost UGRS lo0 > fe80:: localhost UGRS lo0 > fe80::%re0 link#5 U re0 > fe80::6ef0:49ff:fe link#5 UHS lo0 > fe80::%lo0 link#11 U lo0 > fe80::1%lo0 link#11 UHS lo0 > fe80::%tap0 link#13 U tap0 > fe80::2bd:8aff:fe3 link#13 UHS lo0 > fe80::%tap1 link#14 U tap1 > fe80::2bd:8dff:fe3 link#14 UHS lo0 > ff01::%re0 fe80::6ef0:49ff:fe U re0 > ff01::%lo0 localhost U lo0 > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > ff02:: localhost UGRS lo0 > ff02::%re0 fe80::6ef0:49ff:fe U re0 > ff02::%lo0 localhost U lo0 > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > > What does your arp table look like (arp -a) before and after DHCP? > > Before DHCP: > > (nothing was printed to the screen) > > After DHCP: > > ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 > seconds [bridge] > ? (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] > > I can see that something is definitely not right. Not sure how to fix > /etc/rc.conf so that it will be setup correctly, though. Thank you > for the help! > > James > > > > > ------------------------------ > > Message: 9 > Date: Thu, 29 Dec 2011 11:22:45 -0600 > From: james@colannino.org > Subject: Re: Static IP on a Bridge > To: freebsd-questions@freebsd.org > Message-ID: <20111229112245.18363n0ssrqycc2s@gator1823.hostgator.com> > Content-Type: text/plain; charset=3DISO-8859-1; DelSp=3D"Yes"; > format=3D"flowed" > > Quoting "Brian Seklecki (Mobile)" : > > > Also, what MAC address does the DHCPREQUEST packet appear to be sourc= ed > > from (from the view of your DHCP server, or on the wire somewhere > > between the two (SPAN PORT)) ~BAS > > How do I do that? :) > > James > > > > ------------------------------ > > Message: 10 > Date: Thu, 29 Dec 2011 09:23:07 -0800 (PST) > From: Luke Dean > Subject: Re: Intel EMGD driver on FreeBSD? > To: Mark Felder > Cc: questions@freebsd.org > Message-ID: > > Content-Type: TEXT/PLAIN; charset=3DUS-ASCII; format=3Dflowed > > > > On Tue, 27 Dec 2011, Mark Felder wrote: > > > Are you sure that the problem isn't just that the current releases of > FreeBSD > > don't have GEM/KMS support which the newer Intel drivers require? I'm > running > > a test build on my Google CR48 and have OpenGL acceleration without any > major > > hiccups except not being able to get back to a console after starting X= . > > > > > > Test here: > > > > > http://lists.freebsd.org/pipermail/freebsd-current/2011-November/029219.h= tml > > > > > > I converted the image into full install on my hard drive. > > > > > > More details here: http://wiki.freebsd.org/Intel_GPU > > Thank you for the reply. > > I've been unable to lay hands on a USB drive big enough to hold that > entire image, so I can't easily test with it. > > >From what I'm finding on the web, your Google CR48 is probably an Intel > GMA 3150, which looks like it's covered by the normal open source Intel > driver even though it's not explicitly listed on the manpage. > http://intellinuxgraphics.org/documentation.html > > I think my GMA 500 is a different situation. I'm pessimistic. > > > ------------------------------ > > Message: 11 > Date: Thu, 29 Dec 2011 18:25:55 +0100 > From: "C. P. Ghost" > Subject: Re: OT: Root access policy > To: Irk Ed > Cc: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > On Thu, Dec 29, 2011 at 10:01 AM, Irk Ed wrote: > > For the first time, a customer is asking me for root access to said > > customer's servers. > > Are we talking about jail(8)- or server-level root access? > > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > > ------------------------------ > > Message: 12 > Date: Thu, 29 Dec 2011 12:34:11 -0500 > From: Jerry McAllister > Subject: Re: Same version on binary packages and updated ports > To: Walter Alejandro Iglesias > Cc: freebsd-questions@freebsd.org > Message-ID: <20111229173411.GC24443@gizmo.acns.msu.edu> > Content-Type: text/plain; charset=3Dus-ascii > > On Thu, Dec 29, 2011 at 05:16:11PM +0100, Walter Alejandro Iglesias wrote= : > > Hi, > > I am not expert on all this, but can give a couple of impressions. > > > Hello, > > > > I am giving my firsts steps with FreeBSD. > > Welcome to FreeBSD. It is a good system. > > > I've searched a lot in google, mailing list, forums, freebsd > > handbook and I am still not clear about the following. > > > > In a RELEASE fresh install, after updating the ports using i.e. > > portsnap, the packages downloaded with pkp_add -r are older > > versions respect their port counterparts, leading to > > dependencies issues. So, once the ports tree is updated: > > > > 1) Am I forced to compile all? > > Anything that has changed and anything that depends on those things. > That can mean a lot of recompiling. > > > > > 2) Should I use STABLE to get the same versions with pkg_add > > than compiling up to date ports? Are STABLE packages compiled > > from this ports? > > Check this page: > > http://www.freebsd.org/ports/ > > It's more accurate than what I started to wrie. > > The ports tree and the OS release generally sync up when a RELEASE > comes out, but that soon begins to diverge as ports are changed. > Ports are worked on independently by port maintainers. > > ////jerry > > > > > 3) In case my assumption above is correct; taking in care that > > in a production system it is advisable (handbook) to stay with > > RELEASE, should I avoid updating the ports tree in i.e. a server > > machine? What to do with broken ports in this case? > > > > Resuming, is there a default way to install-update the software > > keeping ports and binary packages in one piece? What is > > advisable in general terms for a desktop and what for a server? > > > > It will be enough for me if someone just point me to documentation. > > > > Big thanks > > > > > > Walter > > > > > > _______________________________________________ > > 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" > > > ------------------------------ > > Message: 13 > Date: Thu, 29 Dec 2011 09:48:32 -0800 > From: Devin Teske > Subject: RE: Static IP on a Bridge > To: , > Message-ID: <037401ccc652$15417110$3fc45330$@fisglobal.com> > Content-Type: text/plain; charset=3D"us-ascii" > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of james@colannino.org > > Sent: Thursday, December 29, 2011 9:21 AM > > To: freebsd-questions@freebsd.org > > Subject: Re: Static IP on a Bridge > > > > Quoting Matthew Seaman : > > > > > What's the error message you see when you fail to ping out? > > > > ping: cannot resolve google.com: Host name lookup failure > > > > > What does the routing table (netstat -r) look like before and after > DHCP? > > > > Before DHCP: > > > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif > Expire > > localhost link#11 UH 0 0 lo0 > > > > Internet6: > > Destination Gateway Flags Netif Expire > > :: localhost UGRS lo0 > > localhost localhost UH lo0 > > ::ffff:0.0.0.0 localhost UGRS lo0 > > fe80:: localhost UGRS lo0 > > fe80::%re0 link#5 U re0 > > fe80::6ef0:49ff:fe link#5 UHS lo0 > > fe80::%lo0 link#11 U lo0 > > fe80::1%lo0 link#11 UHS lo0 > > fe80::%tap0 link#13 U tap0 > > fe80::2bd:8aff:fe3 link#13 UHS lo0 > > fe80::%tap1 link#14 U tap1 > > fe80::2bd:8dff:fe3 link#14 UHS lo0 > > ff01::%re0 fe80::6ef0:49ff:fe U re0 > > ff01::%lo0 localhost U lo0 > > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > > ff02:: localhost UGRS lo0 > > ff02::%re0 fe80::6ef0:49ff:fe U re0 > > ff02::%lo0 localhost U lo0 > > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > > > After DHCP: > > > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif > Expire > > default 192.168.1.1 UGS 0 0 bridge > > localhost link#11 UH 0 0 lo0 > > 192.168.1.0 link#12 U 0 1 bridge > > 192.168.1.103 link#12 UHS 0 0 lo0 > > > > Internet6: > > Destination Gateway Flags Netif Expire > > :: localhost UGRS lo0 > > localhost localhost UH lo0 > > ::ffff:0.0.0.0 localhost UGRS lo0 > > fe80:: localhost UGRS lo0 > > fe80::%re0 link#5 U re0 > > fe80::6ef0:49ff:fe link#5 UHS lo0 > > fe80::%lo0 link#11 U lo0 > > fe80::1%lo0 link#11 UHS lo0 > > fe80::%tap0 link#13 U tap0 > > fe80::2bd:8aff:fe3 link#13 UHS lo0 > > fe80::%tap1 link#14 U tap1 > > fe80::2bd:8dff:fe3 link#14 UHS lo0 > > ff01::%re0 fe80::6ef0:49ff:fe U re0 > > ff01::%lo0 localhost U lo0 > > ff01::%tap0 fe80::2bd:8aff:fe3 U tap0 > > ff01::%tap1 fe80::2bd:8dff:fe3 U tap1 > > ff02:: localhost UGRS lo0 > > ff02::%re0 fe80::6ef0:49ff:fe U re0 > > ff02::%lo0 localhost U lo0 > > ff02::%tap0 fe80::2bd:8aff:fe3 U tap0 > > ff02::%tap1 fe80::2bd:8dff:fe3 U tap1 > > > > > What does your arp table look like (arp -a) before and after DHCP? > > > > Before DHCP: > > > > (nothing was printed to the screen) > > > > After DHCP: > > > > ? (192.168.1.1) at 4c:e6:76:50:86:f6 on bridge0 expires in 1190 seconds > [bridge] ? > > (192.168.1.103) at 02:62:11:f0:35:00 on bridge0 permanent [bridge] > > > > I can see that something is definitely not right. Not sure how to fix > /etc/rc.conf > > so that it will be setup correctly, though. Thank you for the help! > > Add the following line (exactly as it appears) to /etc/rc.conf: > > defaultrouter=3D"192.168.1.1" > > -- > Devin > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > > > ------------------------------ > > Message: 14 > Date: Thu, 29 Dec 2011 18:55:32 +0100 > From: Polytropon > Subject: Re: Same version on binary packages and updated ports > To: Walter Alejandro Iglesias > Cc: freebsd-questions@freebsd.org > Message-ID: <20111229185532.7aeaeaf6.freebsd@edvax.de> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Dec 2011 17:16:11 +0100, Walter Alejandro Iglesias wrote: > > Hello, > > > > I am giving my firsts steps with FreeBSD. > > I've searched a lot in google, mailing list, forums, freebsd > > handbook and I am still not clear about the following. > > > > In a RELEASE fresh install, after updating the ports using i.e. > > portsnap, the packages downloaded with pkp_add -r are older > > versions respect their port counterparts, leading to > > dependencies issues. So, once the ports tree is updated: > > > > 1) Am I forced to compile all? > > No, you aren't forced to anything. :-) > > In case you intend to bring your _installed_ programs > up to date (where "date" is indicated by the ports > tree), use a tool like portmaster or portupgrade to > upgrade all that need upgrading. > > > > > 2) Should I use STABLE to get the same versions with pkg_add > > than compiling up to date ports? > > RELEASE and STABLE are related to the OS, not to the > 3rd party applications found in the ports tree. If > to use RELEASE (with -p security patches) > or following STABLE depends on your requirements. > OS and installed applications are independent (mostly). > > > > > Are STABLE packages compiled > > from this ports? > > Yes. From time to time, a "snapshot" of the (continuously > evolving) ports tree is used to build the binary > packages. _Which_ set of packages will be requested > by running "pkg_add -r " depends on $PACKAGEROOT. > > For example, if it is set to > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest > it will use the latest packages (which are slightly > behind actual ports in most cases). > > But if > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release > is used, the packages of RELEASE will be used, such as > you can find them on the installation media > > > > > 3) In case my assumption above is correct; taking in care that > > in a production system it is advisable (handbook) to stay with > > RELEASE, should I avoid updating the ports tree in i.e. a server > > machine? > > That depends on the usage profile of that system. > You should keep track of _any_ security issues you > might have with the ports you use (e. g. web servers, > PHP, MySQL and other "potentially dangerous" stuff). > You can use freebsd-update to follow RELEASE-p > to get the security updates for the RELEASE you are > running. > > If you don't update the ports tree, it will stay at > the date of RELEASE, delivering ports from exactly > that date. It's often the better choice to update > the ports tree and upgrade ports that need this > (as I said before, primarily for security reasons, > as you did mention a production system, where > "bleeding edge" is often _not_ desired). > > > > > What to do with broken ports in this case? > > The RELEASE tree typically doesn't contain broken > ports. If an updated ports tree does, update it > again soon and try again. :-) > > In contrast to portsnap, you can use the "classic > approach" of using csup to update your ports tree. > For smaller deltas, this is acceptable, and it will > deliver you the "freshest" ports tree available. > > > > > Resuming, is there a default way to install-update the software > > keeping ports and binary packages in one piece? > > I don't think so. The desired method depends on your > actual usage requirements. I'd suggest to have a look > at a port management tool such as portmaster or > portupgrade, as both can handle both building from > source and using precompiled binary packages, and > keep track of dependencies and automated upgrades. > > > > > What is > > advisable in general terms for a desktop and what for a server? > > Also depends on your usage model. For example, my > home system is a kind of "install once, then keep > using" installation. I'm running 8.2-STABLE and > ports from an updated tree. For a server, this > approach might not fit - maybe you want to keep > all things binary there, or from source only. > > > > > It will be enough for me if someone just point me to documentation. > > The FreeBSD Handbook. :-) > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > > > ------------------------------ > > Message: 15 > Date: Thu, 29 Dec 2011 18:58:09 +0100 > From: Polytropon > Subject: Re: OT: Root access policy > To: Carl Johnson > Cc: freebsd-questions@freebsd.org > Message-ID: <20111229185809.0b28e71f.freebsd@edvax.de> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Dec 2011 09:15:45 -0800, Carl Johnson wrote: > > Damien Fleuriot writes: > > > > > On 12/29/11 10:58 AM, Polytropon wrote: > > >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > > >>> For the first time, a customer is asking me for root access to said > > >>> customer's servers. > > >> > > > > >>> Assuming that I'll be asked to continue administering said servers, > I guess > > >>> I should at least enable accounting... > > >> > > >> You could have better success using sudo. Make sure > > >> the customer is allowed to "sudo ". The > > >> sudo program will log _all_ things the customer > > >> does, so you can be sure you can review actions. > > >> Furthermore you don't need to give him the _real_ > > >> root password. He won't be able to "su root" or > > >> to login as root, _real_ root. But he can use > > >> the "sudo" prefix to issue commands "with root > > >> privileges". > > >> > > > > > > "sudo su -" or "sudo sh" and the customer gets a native root shell > which > > > does *not* log commands ! > > > > The sudoers manpage mention the noexec option which is designed to help > > with the first problem. They also show an example using !SHELLS which > > can help with the second. > > It's also worth mentioning "super" again - as an > alternative to "sudo". But after all, if restricted > in any way, both of them are _not_ requivalent to > "full root access" (equals: root + root's password) > which the customer initially demanded. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > > > ------------------------------ > > Message: 16 > Date: Thu, 29 Dec 2011 10:05:58 -0800 > From: Devin Teske > Subject: RE: OT: Root access policy > To: "'Polytropon'" , "'Carl Johnson'" > > Cc: freebsd-questions@freebsd.org > Message-ID: <037601ccc654$84d8b950$8e8a2bf0$@fisglobal.com> > Content-Type: text/plain; charset=3D"us-ascii" > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of Polytropon > > Sent: Thursday, December 29, 2011 9:58 AM > > To: Carl Johnson > > Cc: freebsd-questions@freebsd.org > > Subject: Re: OT: Root access policy > > > > On Thu, 29 Dec 2011 09:15:45 -0800, Carl Johnson wrote: > > > Damien Fleuriot writes: > > > > > > > On 12/29/11 10:58 AM, Polytropon wrote: > > > >> On Thu, 29 Dec 2011 04:01:42 -0500, Irk Ed wrote: > > > >>> For the first time, a customer is asking me for root access to > > > >>> said customer's servers. > > > >> > > > > > > >>> Assuming that I'll be asked to continue administering said > > > >>> servers, I guess I should at least enable accounting... > > > >> > > > >> You could have better success using sudo. Make sure the customer i= s > > > >> allowed to "sudo ". The sudo program will log _all_ thing= s > > > >> the customer does, so you can be sure you can review actions. > > > >> Furthermore you don't need to give him the _real_ root password. H= e > > > >> won't be able to "su root" or to login as root, _real_ root. But h= e > > > >> can use the "sudo" prefix to issue commands "with root privileges"= . > > > >> > > > > > > > > "sudo su -" or "sudo sh" and the customer gets a native root shell > > > > which does *not* log commands ! > > > > > > The sudoers manpage mention the noexec option which is designed to > > > help with the first problem. They also show an example using !SHELLS > > > which can help with the second. > > > > It's also worth mentioning "super" again - as an alternative to "sudo". > But > after all, > > if restricted in any way, both of them are _not_ requivalent to "full > root > access" > > (equals: root + root's password) which the customer initially demanded. > > > > I highly recommend reading audit(4) and then audit(8) (in that order). > > This will catch more security instances than simply relying on sudo(8) > logging > -- which won't catch any commands once the user has "become root" (ala > "sudo su > -" for example). > > Once upon a time (RELENG_4), we used a kernel module named "lrexec" which > logged > all system calls to exec(3) family of functions, but it was too verbose. > audit(4) replaces our need for lrexec. > -- > Devin > > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete t= he > message and all copies; (ii) do not disclose, distribute or use the messa= ge > in any manner; and (iii) notify the sender immediately. In addition, plea= se > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > > > ------------------------------ > > Message: 17 > Date: Thu, 29 Dec 2011 12:14:08 -0500 > From: Chuck Swiger > Subject: Re: Same version on binary packages and updated ports > To: Walter Alejandro Iglesias > Cc: freebsd-questions@freebsd.org > Message-ID: <51AF4F0E-AD5A-4D0A-BC33-4C452B2D1650@mac.com> > Content-Type: text/plain; CHARSET=3DUS-ASCII > > On Dec 29, 2011, at 11:16 AM, Walter Alejandro Iglesias wrote: > > I am giving my firsts steps with FreeBSD. > > Greetings and welcome... > > > In a RELEASE fresh install, after updating the ports using i.e. > > portsnap, the packages downloaded with pkp_add -r are older > > versions respect their port counterparts, leading to > > dependencies issues. So, once the ports tree is updated: > > There are tools like portmaster & portupgrade which help manage > the issue of changing dependencies. > > > 1) Am I forced to compile all? > > Mostly, no. There are a few ports which cannot be made available > as packages, typically due to licensing issues. > > > 2) Should I use STABLE to get the same versions with pkg_add > > than compiling up to date ports? Are STABLE packages compiled > > from this ports? > > -STABLE refers to the FreeBSD OS. There is no such thing as > -STABLE for ports/packages. > > > 3) In case my assumption above is correct; taking in care that > > in a production system it is advisable (handbook) to stay with > > RELEASE, should I avoid updating the ports tree in i.e. a server > > machine? > > The ports tree and the OS aren't directly related. People ought to > be fine running a -RELEASE version of FreeBSD with the latest ports > tree (or packages compiled from the ports tree). > > > What to do with broken ports in this case? > > Fix them? Revert to a working backup? > > > Resuming, is there a default way to install-update the software > > keeping ports and binary packages in one piece? > > portupgrade and portmaster (mentioned earlier) do this. > > They can be told to use precompiled packages in preference to building > locally, and you can even set up a local package repository if you > want to build your own packages with specific options that you prefer. > > > What is advisable in general terms for a desktop and what for a server? > > Well, a casual desktop user tends to upgrade whenever they feel motivated > to, > whereas a server ought to be managed. Part of managing a server is > deciding > when and how often to update it, based on workload, fault-tolerance, > security, > and other concerns. > > You might start by using portaudit, and upgrading ports whenever a securi= ty > issue is noticed with a port that you have installed. > > > It will be enough for me if someone just point me to documentation. > > It's not clear whether you'd read the Handbook? > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html > > Regards, > -- > -Chuck > > > > > ------------------------------ > > Message: 18 > Date: Thu, 29 Dec 2011 19:53:25 +0100 > From: Walter Alejandro Iglesias > Subject: Re: Same version on binary packages and updated ports > To: freebsd-questions@freebsd.org > Message-ID: <20111229185325.GA56404@chancha.local> > Content-Type: text/plain; charset=3Dus-ascii > > I really appreciate that you all, Jerry, Polytropon and Chuck, > took your time to answer me. But I think some of you understood > paragraphs like individual-separated statements, that's why you > did not fully understand my question (my horrible English helps > too :-)). > > Let's see if I can explain myself. > > I know that FreeBSD base system and 3rd party are "managed" > separately. For RELEASE I meant the ports included in a fresh > RELEASE install. The scenario is: what to do after a fresh > RELEASE install. Once you updated the ports with 'portsnap fech > extract update' you have newer versions at the port tree. Then > you can upgrade the already installed software using > portupgrade... But compiling! > > Because, to download *binary* packages, both tools, portupgrade > and pkg_add, will download RELEASE, STABLE or CURRENT versions > of software depending on what you put in PACKAGESITE variable. > > So, unless I am missing some portupgrade option-feature, once > the port tree is updated I must compile all from source. The > opposite leads to dependencies issues. > > Walter > > > ------------------------------ > > Message: 19 > Date: Thu, 29 Dec 2011 13:03:01 -0600 > From: Adam Vande More > Subject: Re: Same version on binary packages and updated ports > To: Walter Alejandro Iglesias > Cc: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > On Thu, Dec 29, 2011 at 12:53 PM, Walter Alejandro Iglesias < > roquesor@gmail.com> wrote: > > > So, unless I am missing some portupgrade option-feature, once > > the port tree is updated I must compile all from source. The > > opposite leads to dependencies issues. > > > > portmaster -P > > Yes, this will likely result in a significant amount of compiling dependi= ng > time from RELEASE and your chosen packages and whatever PACKAGESITE is se= t > to eg stable. That is the price you pay for updated software on FreeBSD. > > Also be sure to read /usr/ports/UPDATING > > There are man pages and a handbook page which explain all this in detail. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.htm= l > > -- > Adam Vande More > > > ------------------------------ > > Message: 20 > Date: Thu, 29 Dec 2011 20:28:42 +0100 > From: Walter Alejandro Iglesias > Subject: Re: Same version on binary packages and updated ports > To: freebsd-questions@freebsd.org > Message-ID: <20111229192842.GA71854@chancha.local> > Content-Type: text/plain; charset=3Dus-ascii > > On Thu, Dec 29, 2011 at 01:03:01PM -0600, Adam Vande More wrote: > > That is the price you pay for updated software on FreeBSD. > > > > OK, Adam. That's almost as expected. > > > -- > > Adam Vande More > > > Thanks to all. > > > Walter > > > > > > ------------------------------ > > Message: 21 > Date: Thu, 29 Dec 2011 15:10:46 -0500 > From: "James Edwards" > Subject: Re: ZFS upgrade path > To: freebsd-questions@freebsd.org > Message-ID: > > Content-Type: text/plain;charset=3Diso-8859-1 > > On Wed, December 28, 2011 12:18, James Edwards wrote: > > > There are four disks, all in a single storage pool - tank. > > > > Here is the naming convention I planned on following after 9.0 is > > released: > > > > tank/9.0 > > tank/9.0/usr > > tank/9.0/var > > tank/9.0/tmp > > and so on > > > > This way, in theory at least, when 9.1 (or 10.0) is released, I can > simply > > create tank/9.1 and the associated data sets, make my changes to /etc a= nd > > /boot, change the zfs bootfs, reboot, and finally upgrade the ZFS pools= . > > > > Is this feasible to do, or are there any caveats/gotchas I'm overlookin= g? > > > > It took some time to do, but I was able to demonstrate within VirtualBox > that this can be done. > > I found it important when creating tank/8.2/usr and tank/8.2/var to > specify 'canmount=3Doff', this way the datasets below it inherit the corr= ect > mountpoints. > > After installing 8.2, I created tank/9.0-RC3, associated datasets and the= n > installed 9.0-RC3 to it. From there, I had to create a loader.conf and > rc.conf, copy the zpool.cache to the dataset, change the bootfs ('zpool > set bootfs=3Dtank/9.0 tank'), change the zfs mountpoints and reboot. Aft= er > I rebooted, I was able to upgrade the zpool to v28. > > While this was done from a minimal clean install, it *should* work from a > system that is using the user-land (as long as the daemons are stopped). > > > > ------------------------------ > > Message: 22 > Date: Thu, 29 Dec 2011 12:11:29 -0800 > From: akshay sreeramoju > Subject: Host Dynamic DNS configuration for 8.2-RELEASE > To: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > Hi, > > What is the required configuration in a FreeBSD 8.2 release host for it t= o > publish its name in a dynamic dns supported network? > > > LINUX: For a Linux host with name x.y.z.com I had to do the following: > =3D=3D=3D=3D=3D > # echo "DHCP_HOSTNAME=3Dx;" >> /etc/sysconfig/network-scripts/ifcfg-eth0 > # echo "PEERDNS=3Dno" >> /etc/sysconfig/network-scripts/ifcfg-eth0 > # echo "SEARCH=3D\" y.z.com" >> /etc/sysconfig/network > # echo "HOSTNAME=3Dx.y.z.com" >> /etc/sysconfig/network > # reboot > > > SEARCH: Couldnt find for host configuration > =3D=3D=3D=3D=3D=3D=3D > My Google search gave some links describing Linux host configuration but > none for freebsd host configuration. Some described FreeBSD server > configuration though ( > > http://www.google.com/search?hl=3Den&client=3Dfirefox-a&hs=3Dl2M&rls=3Dor= g.mozilla%3Aen-US%3Aofficial&q=3Dconfiguring+dynamic+dns+freebsd+dhcp+clien= t&oq=3Dconfiguring+dynamic+dns+freebsd+dhcp+client&aq=3Df&aqi=3D&aql=3D&gs_= sm=3De&gs_upl=3D13114l14889l0l15039l12l12l0l11l0l0l166l166l0.1l1l0 > , > http://alex.kruijff.org/FreeBSD/Dynamic_DNS.html). > > > TIA, > Akshay > > > ------------------------------ > > Message: 23 > Date: Thu, 29 Dec 2011 21:14:21 +0000 > From: Matthew Seaman > Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE > To: freebsd-questions@freebsd.org > Message-ID: <4EFCD82D.5050504@infracaninophile.co.uk> > Content-Type: text/plain; charset=3D"iso-8859-1" > > On 29/12/2011 20:11, akshay sreeramoju wrote: > > What is the required configuration in a FreeBSD 8.2 release host for it > to > > publish its name in a dynamic dns supported network? > > Something like this in /etc/dhclient.conf: > > interface "em0" { > send host-name "foo.example.com"; > } > > See dhclient.conf(5), particularly the EXAMPLES section at the end. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 267 bytes > Desc: OpenPGP digital signature > Url : > http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111229= /6f23987f/signature-0001.pgp > > ------------------------------ > > Message: 24 > Date: Thu, 29 Dec 2011 15:06:17 -0600 > From: Jeffrey McFadden > Subject: very small "workgroup" network > To: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > I feel really inferior to the community here, but I have to ask because I > simply don't know: > > What do I need to do to create a small (3 PC-BSD) home network? I could = do > this in no time in Windows, but I don't know how to find, configure, and > enable the files necessary to make these machines talk to each other and > allow browsing to shared resources. h The connectivity is in place (each > can access the internet.) > > I've Googled considerably and not found instructions. Just a pointer to > instructions on the web somewhere would be fine. > > Blushing and grateful, > > Jeff > > ><> ><> ><> ><> ><> ><> ><> > <>< <>< <>< <>< <>< <>< <>< > > > ------------------------------ > > Message: 25 > Date: Thu, 29 Dec 2011 14:06:24 -0800 > From: akshay sreeramoju > Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE > To: Matthew Seaman > Cc: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > Thanks Matthew. It works. > > Akshay > > On Thu, Dec 29, 2011 at 1:14 PM, Matthew Seaman < > m.seaman@infracaninophile.co.uk> wrote: > > > On 29/12/2011 20:11, akshay sreeramoju wrote: > > > What is the required configuration in a FreeBSD 8.2 release host for = it > > to > > > publish its name in a dynamic dns supported network? > > > > Something like this in /etc/dhclient.conf: > > > > interface "em0" { > > send host-name "foo.example.com"; > > } > > > > See dhclient.conf(5), particularly the EXAMPLES section at the end. > > > > Cheers, > > > > Matthew > > > > > > > ------------------------------ > > Message: 26 > Date: Thu, 29 Dec 2011 17:27:28 -0500 > From: Mike Jeays > Subject: Re: very small "workgroup" network > To: freebsd-questions@freebsd.org > Message-ID: <20111229172728.7fca8281@europa> > Content-Type: text/plain; charset=3DUS-ASCII > > On Thu, 29 Dec 2011 15:06:17 -0600 > Jeffrey McFadden wrote: > > > I feel really inferior to the community here, but I have to ask because= I > > simply don't know: > > > > What do I need to do to create a small (3 PC-BSD) home network? I coul= d > do > > this in no time in Windows, but I don't know how to find, configure, an= d > > enable the files necessary to make these machines talk to each other a= nd > > allow browsing to shared resources. h The connectivity is in place (ea= ch > > can access the internet.) > > > > I've Googled considerably and not found instructions. Just a pointer t= o > > instructions on the web somewhere would be fine. > > > > Blushing and grateful, > > > > Jeff > > > > ><> ><> ><> ><> ><> ><> ><> > > <>< <>< <>< <>< <>< <>< <>< > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > Look up NFS in the FreeBSD handbook : > http://www.freebsd.org/doc/handbook/network-nfs.html and subsequent > pages. It is as easy as Windows once you find out how, and performance is > excellent. > > > > ------------------------------ > > Message: 27 > Date: Thu, 29 Dec 2011 23:50:56 +0100 > From: Damien Fleuriot > Subject: Re: very small "workgroup" network > To: Jeffrey McFadden > Cc: "freebsd-questions@freebsd.org" > Message-ID: <769D6625-AEAD-4D4F-B7D2-F407963688E0@my.gd> > Content-Type: text/plain; charset=3Dus-ascii > > > On 29 Dec 2011, at 22:06, Jeffrey McFadden > wrote: > > > I feel really inferior to the community here, but I have to ask because= I > > simply don't know: > > > > What do I need to do to create a small (3 PC-BSD) home network? I coul= d > do > > this in no time in Windows, but I don't know how to find, configure, an= d > > enable the files necessary to make these machines talk to each other a= nd > > allow browsing to shared resources. h The connectivity is in place (ea= ch > > can access the internet.) > > > > I've Googled considerably and not found instructions. Just a pointer t= o > > instructions on the web somewhere would be fine. > > > > Blushing and grateful, > > > > Jeff > > > > First of all there's no need for feeling "inferior", we all started > somewhere. > > Second, Mike already pointed out NFS. > > You may also want to look up SaMBa (CIFS windows-like sharing), and sshfs > (filesystem sharing over ssh). > > ------------------------------ > > Message: 28 > Date: Fri, 30 Dec 2011 09:49:37 +1000 > From: Da Rock > Subject: Re: Host Dynamic DNS configuration for 8.2-RELEASE > To: freebsd-questions@freebsd.org > Message-ID: <4EFCFC91.5060002@herveybayaustralia.com.au> > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > > On 12/30/11 08:06, akshay sreeramoju wrote: > > Thanks Matthew. It works. > > > > Akshay > > > > On Thu, Dec 29, 2011 at 1:14 PM, Matthew Seaman< > > m.seaman@infracaninophile.co.uk> wrote: > > > >> On 29/12/2011 20:11, akshay sreeramoju wrote: > >>> What is the required configuration in a FreeBSD 8.2 release host for = it > >> to > >>> publish its name in a dynamic dns supported network? > >> Something like this in /etc/dhclient.conf: > >> > >> interface "em0" { > >> send host-name "foo.example.com"; > >> } > >> > >> See dhclient.conf(5), particularly the EXAMPLES section at the end. > >> > >> Cheers, > >> > >> Matthew > >> > >> > > > FWIW, I never have to set anything to get it to do this. I use ISC DHCP > and BIND9 for DDNS and all my config is done on the dhcp _server_ > config, not the clients. The clients are simply installed and go... :) > > > ------------------------------ > > Message: 29 > Date: Fri, 30 Dec 2011 09:59:00 +1000 > From: Da Rock > Subject: Re: mutual forwarders in ISC BIND > To: freebsd-questions@freebsd.org > Message-ID: <4EFCFEC4.6070507@herveybayaustralia.com.au> > Content-Type: text/plain; charset=3DUTF-8; format=3Dflowed > > On 12/29/11 12:45, Kevin Wilcox wrote: > > On Dec 28, 2011 9:26 PM, "Victor Sudakov" wrote: > > > >> And the reason for the whole thread. One of the customers told me that > >> 8.8.8.8 is faster than our own DNS servers which are located on the > >> same 100 MBit/s LAN with them. I was shocked but it seems true, at > >> least for the answers which are not yet cached. > > That actually makes perfect sense. That's one of the Google DNS IP > > addresses and they see a LOT of traffic, they're probably going to have > the > > majority of the domains your clients want to look up (assuming your > clients > > are like mine and most of their lookups are general web traffic) alread= y > in > > cache - your servers will need to go through the whole lookup process. > > > > Still, after a day or two of use, I would think your servers would have > the > > bulk of what they needed in their caches. You may want to enable loggin= g > to > > see which domains are being looked up (if it won't break any applicable > > laws or policies) and do some spot-checks to see why they may not be in > > your cache. > > > A rather amusing observation would be that they're not in the cache > because the clients are using 8.8.8.8 ... > > > ------------------------------ > > Message: 30 > Date: Thu, 29 Dec 2011 17:35:55 -0700 > From: Chad Perrin > Subject: Re: very small "workgroup" network > To: freebsd-questions@freebsd.org > Message-ID: <20111230003555.GA17278@hemlock.hydra> > Content-Type: text/plain; charset=3Dus-ascii > > On Thu, Dec 29, 2011 at 03:06:17PM -0600, Jeffrey McFadden wrote: > > I feel really inferior to the community here, but I have to ask because= I > > simply don't know: > > > > What do I need to do to create a small (3 PC-BSD) home network? I coul= d > do > > this in no time in Windows, but I don't know how to find, configure, an= d > > enable the files necessary to make these machines talk to each other a= nd > > allow browsing to shared resources. h The connectivity is in place (ea= ch > > can access the internet.) > > > > I've Googled considerably and not found instructions. Just a pointer t= o > > instructions on the web somewhere would be fine. > > It is a little difficult to figure out exactly where to start with some > guidance for how to proceed, because I do not know your circumstances. > > What kind of network hardware do you have, and how much network do you > currently have set up? Do you have only a cable or DSL "modem"? Do you > have a combination router/"modem"? Do you have a router separately from > whatever connection you are using to get to the Internet (or do you even > care about Internet connectivity for this network)? > > Even without a router, you can use a switch and some configuration in the > /etc/hosts files of each system you want on the network, if you do not > need a connection to an external WAN (e.g. the Internet). If you do need > that external connection to the Internet, you'll probably want something > (like a router) that can provide NAT (network address translation), > though there are other ways to achieve such connectivity as well (i.e. > IPv6 configuration), depending on your ISP. > > For network resource browsing, I think sshfs (as mentioned by someone > else already) is probably one of the better options available to you, as > long as you do not need to account for any MS Windows machines being > included in the network browsing capabilities. If you do need to account > for MS Windows, you'll probably want to look into using Samba for NetBIOS > and CIFS -- the protocol basis for MS Windows "workgroup" networking. > > If I had to guess what you have going on, based on what you have said so > far, I would guess you probably have some kind of DSL or cable > router/"modem" device or a DSL or cable "modem" with a separate router > plugged into it, and only PC-BSD machines on the network. In that > situation, I would suggest searching for sshfs resources to set up > network browsing, and using explicit hostname resolution configurations > in the /etc/hosts files of your PC-BSD systems. This should add up to a > reasonably robust, secure, and simple setup once you read up a little bit > on the tools you will use. > > I hope that helps. > > ## NOTES > > I wrote this article a long time ago: > > Use The SSH Filesystem For Secure Network Filesystem Access > http://blogs.techrepublic.com.com/security/?p=3D2589 > > It might be useful if you decide to go the sshfs route. You should be > forewarned, however, that . . . > > 1. I have not looked at that article in a couple years, and can only > guess I was not a complete idiot back when I wrote it. > > 2. TechRepublic has screwed around with its CSS so badly in the > intervening years that some of the formatting is quite badly hosed up in > that article. For instance, the code tags used for formatting code > samples used to do code formatting *only*, allowing them to be used > effectively for both separate code blocks and inline code samples; since > then, in their infinite wisdom, the (relatively new) corporate masters at > CBSi have decreed that code tags will also (via CSS) insert newlines > before and after code samples within code tags. Please remember to take > this into account when reading the article, so that it will make more > sense as presented on that page. For all I know, the way TR's > stylesheets handle code formatting might all change again tomorrow, and > make things even worse. > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] > > > ------------------------------ > > Message: 31 > Date: Thu, 29 Dec 2011 22:43:16 -0500 > From: David Jackson > Subject: FreeBSD Kernel Internals Documentation > To: freebsd-questions@freebsd.org > Message-ID: > > > Content-Type: text/plain; charset=3DISO-8859-1 > > I have had an interest in studying the FreeBSD kernel and getting to know > its internals better. After all, in Open source projects, they say, > community contributions are important. > > However, My finding is that due to poor documentation, the FreeBSD kernel > is nearly impenetrable to an outsider. I have been able to find no > comprehensive documentation of kernel internals. I have found it nearly > impossible, due to lack of comprehensive documentation, much of any of th= e > kernel internals. What I see is an internal cliche of developers who are > aware of its myraid of undocumented esoteric secrets, and very little to > actually help anyone else to understand it. > > Any good, well designed software projects will have comprehensive > documentation of the source code, this includes code comments, informatio= n > on what every piece of code does, how the entire system fits together, an= d > descriptions of every variable and function. Any well run project would > insist that code contributors upload full and comprehensive documentation > of how their source code is written, how it works, etc. > > Documentation is vital and good practice because it saves time, it preven= ts > people new to the project having to waste immense amounts of time trying = to > figure out a vast and cryptic puzzle. Without good documentation software > can be nearly useless, unmaintainable and difficult for an outsider to > learn, to the point where it may actually take less time to just throw it > out and start from scratch. > > These are reasons that FreeBSD needs better documentation, documentation = of > how the entire system fits together, what lines of code do, the purpose o= f > variables and functions, etc, in descriptive English. This is key to > developing maintainable software. > > I saw where someone automatically generated "documentation" with Doxygen. > This is nearly useless, because all it shows is a huge list of functions > and variables but does not include any text on what they do. At best, > Doxygen can only provide a template for documentation that can be filled = in > with descriptive English information on what everything does. > > One idea might be to have an official wiki that contains the template > generated by Doxygen which can then be filled in. When changes to the > source code is made, it is good practice for the commiter of such changes > to document their code as it is submitted. > > This allows others who come along who need to maintain the code to more > easily understand what the code does. > > Another idea which would also improve the useability of FreeBSD would be = to > have a wiki which would be updated by kernel contributors whenever they a= dd > support for a certain piece of hardware. This would make finding hardware > compatability information easier from one central, up to date and current > source of information. > > These documentaiton ideas, for commiters to document their code when they > upload it, and document their hardware support additions, are just good > software practices that should be highly recommended and encouraged > > > ------------------------------ > > _______________________________________________ > 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" > > End of freebsd-questions Digest, Vol 395, Issue 6 > ************************************************* > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 05:03:14 2011 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C8C1065672 for ; Sat, 31 Dec 2011 05:03:14 +0000 (UTC) (envelope-from leeoliveshackelford@surewest.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id F24488FC0A for ; Sat, 31 Dec 2011 05:03:13 +0000 (UTC) Received: from smtp1.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20111231044538215 for ; Sat, 31 Dec 2011 04:45:38 +0000 X-RC-FROM: X-RC-RCPT: Received: from ms5.mc.surewest.net (hansolo.surewest.net [64.30.98.104]) by smtp1.surewest.net (Postfix) with ESMTP id DB9A9895C7 for ; Fri, 30 Dec 2011 20:45:37 -0800 (PST) Received: (from ms5.mc.surewest.net [192.168.60.104]) by ms5.mc.surewest.net (MOS 4.1.8-GA) with HTTP/1.1 id BXW09315 (AUTH leeoliveshackelford@surewest.net); Fri, 30 Dec 2011 20:45:37 -0800 (PST) From: To: FreeBSD-questions@FreeBSD.org X-Mailer: Mirapoint Webmail Direct 4.1.8-GA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20111230204537.BXW09315@ms5.mc.surewest.net> Date: Fri, 30 Dec 2011 20:45:37 -0800 (PST) X-Mailman-Approved-At: Sat, 31 Dec 2011 05:13:47 +0000 Cc: Subject: Installing FreeBSD ver. 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 05:03:14 -0000 Good evening, dear FreeBSD enthusiast. I am a newcomer, and have installed FreeBSD 8.2 on a Hewlett-Packard xw4400. After many hours of frustration, I am tearing my hair out. I want my system to include an M-Audio Delta 1010LT sound card, MIDI over USB driver, X-windows, and Gnome. The instructions in the handbook and on-disk man do not seem to apply to this version of FreeBSD, or at least I do not seem to know how to apply them. I type "find sound," or "find pcm," or find snd_envy24," or "find x11," or "find gnome," and receive either a blank response, or response of "file does not exist" to all of these queries. All of these items were supposedly installed at the time of system configuration, but as to where, I cannot seem to determine. The gnome installation took twice as long as installation of everything else. Where did sysinstall install it? How do I get it to start? The response to "startx" is "file does not exit." I realize that I may be missing something o b! vious. Any guidance is appreciated. -- Lee From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 05:56:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB1C7106564A for ; Sat, 31 Dec 2011 05:56:41 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 99BCA8FC16 for ; Sat, 31 Dec 2011 05:56:41 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id pBV5udj8087618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Dec 2011 23:56:39 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id pBV5ude6070030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Dec 2011 23:56:39 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id pBV5uckV070029; Fri, 30 Dec 2011 23:56:39 -0600 (CST) (envelope-from dan) Date: Fri, 30 Dec 2011 23:56:38 -0600 From: Dan Nelson To: Erik Trulsson Message-ID: <20111231055638.GB24192@dan.emsphone.com> References: <4EFE645B.8010906@gmail.com> <4EFE77D1.3090402@gmail.com> <20111231015640.GA38111@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111231015640.GA38111@owl.midgard.homeip.net> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Fri, 30 Dec 2011 23:56:39 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: nm.knife@gmail.com, FreeBSD Questions , Edward Martinez Subject: Re: why newline scape sequence does not work in Freebsd's bash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 05:56:42 -0000 In the last episode (Dec 31), Erik Trulsson said: > On Fri, Dec 30, 2011 at 06:47:45PM -0800, Edward Martinez wrote: > > On 12/30/11 17:06, ??????? ???????? wrote: > > > I used ' singe quotes, so double quotes is: > > > > > > $ FRUIT_BASKET="apples oranges pears" > > > $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" > > > My fruit basket contains: > > > apples oranges pears > > > > Thanks for the help, it worked. I find it interesting that FreeBSD's > > echo man page does not mention the -e option is needed to enable > > backslash escapes. I remembered why it worked on linux is because i > > created an echo alias with the -e option. So i will do the same for > > FreeBSD. > > The echo(1) manpage on FreeBSD doesn't say anything about '-e' because > that version of echo doesn't have such an option. The echo you were > actually using is the one builtin into bash and is described in the > bash(1) manpage (including mention of the -e option.) If you want a command guaranteed to process backslash-escape sequences, use the printf command, not echo. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html It is not possible to use echo portably across all POSIX systems unless both -n (as the first argument) and escape sequences are omitted. The printf utility can be used portably to emulate any of the traditional behaviors of the echo utility as follows (assuming that IFS has its standard value or is unset). New applications are encouraged to use printf instead of echo. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html The %b conversion specification is not part of the ISO C standard; it has been added here as a portable way to process -escapes expanded in string operands as provided by the echo utility. See also the APPLICATION USAGE section of echo for ways to use printf as a replacement for all of the traditional versions of the echo utility. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 06:38:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FC64106564A for ; Sat, 31 Dec 2011 06:38:05 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 284878FC08 for ; Sat, 31 Dec 2011 06:38:04 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-238-95.pitbpa.east.verizon.net [96.236.238.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id E9DF3ADCCE for ; Sat, 31 Dec 2011 00:57:28 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 957B95D96 for ; Sat, 31 Dec 2011 00:57:27 -0500 (EST) Date: Sat, 31 Dec 2011 00:57:04 -0500 From: Janos Dohanics To: FreeBSD Questions Message-Id: <20111231005704.7a31cfb1.web@3dresearch.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Single user mode exits unexpectedly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 31 Dec 2011 06:38:05 -0000 I have just rebuilt world and kernel according to the Handbook, installed the new kernel, rebooted, logged in, issued "sudo shutdown now" - the machine entered single user mode, then immediately exited without any intervention by me and continued to boot into multiuser mode. Here is a snippet from /var/log/messages: Dec 30 17:41:15 iguana rc.shutdown: 30 second watchdog timeout expired. Shutdown terminated. Dec 30 17:41:15 iguana init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode Dec 30 17:41:15 iguana syslogd: exiting on signal 15 <--- Dec 30 17:41:28 iguana syslogd: kernel boot file is /boot/kernel/kernel <--- This seems to be happening every time in response to "shutdown now". However, I can cold boot this machine into single user mode with nothing unusual. This is FreeBSD 8.2-STABLE amd64, rebuilt on 12/26/2011 I guess I may have unintentionally changed a config file? Where should I look? -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 07:16:20 2011 Return-Path: Delivered-To: FreeBSD-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F568106564A for ; Sat, 31 Dec 2011 07:16:19 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAFA8FC08 for ; Sat, 31 Dec 2011 07:16:19 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id A83D45C24; Sat, 31 Dec 2011 17:28:45 +1000 (EST) Message-ID: <4EFEB5FB.4070909@herveybayaustralia.com.au> Date: Sat, 31 Dec 2011 17:12:59 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: leeoliveshackelford@surewest.net References: <20111230204537.BXW09315@ms5.mc.surewest.net> In-Reply-To: <20111230204537.BXW09315@ms5.mc.surewest.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-questions@FreeBSD.org Subject: Re: Installing FreeBSD ver. 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 07:16:20 -0000 On 12/31/11 14:45, leeoliveshackelford@surewest.net wrote: > Good evening, dear FreeBSD enthusiast. I am a newcomer, and have insta= lled FreeBSD 8.2 on a Hewlett-Packard xw4400. After many hours of frustr= ation, I am tearing my hair out. I want my system to include an M-Audio = Delta 1010LT sound card, MIDI over USB driver, X-windows, and Gnome. The= instructions in the handbook and on-disk man do not seem to apply to thi= s version of FreeBSD, or at least I do not seem to know how to apply them= =2E I type "find sound," or "find pcm," or find snd_envy24," or "find x1= 1," or "find gnome," and receive either a blank response, or response of = "file does not exist" to all of these queries. All of these items were s= upposedly installed at the time of system configuration, but as to where,= I cannot seem to determine. The gnome installation took twice as long a= s installation of everything else. Where did sysinstall install it? How= do I get it to start? The response to "startx" is "file does not exit."= I realize that I may be missing something o > b! > vious. Any guidance is appreciated. -- Lee Lee, your provided info so far is great. But what happened when you=20 first installed the system? Step by step through the install process. 1. Disk in, boot up. 2. Wait for beastie menu or hit enter to run. 3. Keyboard selected. 4. Standard install started. 5. Drive formatted. 6. Base packages selected - which ones? 7. Users, Root, mouse and time setup. 8. Network services (NFS client or server, gateway, etc). 9. Package install- any packages selected? (Is this where you installed=20 gnome and X) 10. Anything else configured? 11. Reboot. What showed up on the reboot? Run dmesg and post the output. Also, which part of the handbook are you reading? The teletyped lines=20 are commands to be run, and I'm not sure where your commands are coming=20 from. Find is a directory tree parser, and can be used to find things. So you=20 run "find / -name foo" to find "foo" in the filesystem. "find /" will=20 list the whole filesystem. What attempting I believe would be "whereis", = as in "whereis sound". Run "man find" or "man whereis" to discover more, = or google those commands if you have trouble reading that on the console.= Running startx won't get you far if you're looking for a Desktop=20 Environment like Gnome, so lets hold on that. But lets see if you can=20 get the sound first- login as root or "su -" at the prompt (password=20 will be root's password) and try "kldload snd_driver" and "cat=20 /dev/sndstat" and post the output. That will load sound and try to find=20 the right driver for you as a kernel module. Note that and run "ee=20 /boot/loader.conf" and add the driver there (as in snd_hda or=20 snd_envy24) directly followed by _load=3DYES: eg, snd_hda_load=3DYES. Hit= =20 the escape key to save and exit. The driver will load every time you=20 boot now. More next episode. Good luck :) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 08:26:44 2011 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86F0D106566B for ; Sat, 31 Dec 2011 08:26:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 363388FC18 for ; Sat, 31 Dec 2011 08:26:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id 79A7F1E691; Sat, 31 Dec 2011 09:26:42 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBV8QfSD002101; Sat, 31 Dec 2011 09:26:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 31 Dec 2011 09:26:41 +0100 From: Polytropon To: Message-Id: <20111231092641.c0dd4175.freebsd@edvax.de> In-Reply-To: <20111230204537.BXW09315@ms5.mc.surewest.net> References: <20111230204537.BXW09315@ms5.mc.surewest.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-questions@freebsd.org Subject: Re: Installing FreeBSD ver. 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 08:26:44 -0000 On Fri, 30 Dec 2011 20:45:37 -0800 (PST), leeoliveshackelford@surewest.net wrote: > Good evening, dear FreeBSD enthusiast. I am a newcomer, > and have installed FreeBSD 8.2 on a Hewlett-Packard xw4400. Excellent choice of OS. > After many hours of frustration, I am tearing my hair out. > I want my system to include an M-Audio Delta 1010LT sound > card, MIDI over USB driver, X-windows, and Gnome. The M-Audio Delta sound hardware is listed in the snd_envy24 sound driver. MIDI over USB... sorry, no experience with that (only "real" MIDI in ye olden times). X-Window (X11) and Gnome need to be installed, they are not part of the operating system. > The instructions in the handbook and on-disk man do not > seem to apply to this version of FreeBSD, or at least I > do not seem to know how to apply them. The basic steps should be the same. They have been nearly the same since 4.0. :-) > I type "find sound," or "find pcm," or find snd_envy24," > or "find x11," or "find gnome," and receive either a > blank response, or response of "file does not exist" to > all of these queries. That's correct. See "man find" for how to properly invoke that program. Basically, you use # find -name to find some specific files, e. g. # find /usr/ports -name gnome # find /boot -name snd_envy24\* You can add the \* wildcard (* needs to be escaped for the shell to _not_ expand it!) if you're not searching for one specific file name. > All of these items were supposedly installed at the time > of system configuration, but as to where, I cannot seem > to determine. Installed software will be in /usr/local. You can for example use the command # find /usr/local -name gnome-session\* to see if the gnome session manager has been installed. An easier approach is to make yourself familiar with ports and packages, and how to use the pkg_* family of tools, as well as how to read the content of /var/db/pkg; for example, all installed software will cause a directory to be created in that path, so you can see if it's there: # ls /var/db/pkg/gnome* will list all gnome stuff that is installed. This subtree is your "catalog of installed things". But it's _much_ easier to read "man pkg_info" and use that. It's not the time for a lecture about shell scripting right now. :-) Just in case you don't know the correct syntax for any command, or the purpose or layout of a file, use its man page. FreeBSD is known for covering all the parts of the OS with a proper manual page (system binaries and scripts, configuration files, device drivers, kernel interfaces, library functions, system operation and maintenance procedures, and introductions). > The gnome installation took twice as long as installation > of everything else. Where did sysinstall install it? Into /usr/local. Gnome is a "heavy beast" with lots of dependencies. > How do I get it to start? This is covered in the Handbook in section 6.7: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html make sure you're running the depending services related to making Gnome functional. Additionally, in most cases you'll want to have hald_enable="YES" dbus_enable="YES" in /etc/rc.conf, the system's configuration file. Also see http://www.freebsd.org/gnome/ > The response to "startx" is "file does not exit." I realize > that I may be missing something o > b! > vious. It seems that you're missing X. :-) You need to install the xorg port (or package via pkg_add -r) along with the driver for your graphics card. If you have successfully accomplished that, Gnome should be up and running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 08:39:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D228106566B for ; Sat, 31 Dec 2011 08:39:44 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2111C8FC0C for ; Sat, 31 Dec 2011 08:39:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id EA2881E67E; Sat, 31 Dec 2011 09:39:41 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBV8dfmL002134; Sat, 31 Dec 2011 09:39:41 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 31 Dec 2011 09:39:41 +0100 From: Polytropon To: Janos Dohanics Message-Id: <20111231093941.23c62fb9.freebsd@edvax.de> In-Reply-To: <20111231005704.7a31cfb1.web@3dresearch.com> References: <20111231005704.7a31cfb1.web@3dresearch.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Single user mode exits unexpectedly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 08:39:44 -0000 On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote: > I have just rebuilt world and kernel according to the Handbook, > installed the new kernel, rebooted, logged in, issued "sudo shutdown > now" - the machine entered single user mode, then immediately exited > without any intervention by me and continued to boot into multiuser > mode. That's not the procedure required. From the comment section of /usr/src/Makefile: 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). [steps 3. & 4. can be combined by using the "kernel" target] 5. `reboot' (in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `make delete-old' 9. `mergemaster' (you may wish to use -i, along with -U or -F). 10. `reboot' 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) Step 5: reboot _into_ single user mode. After installing the kernel and shutting down the system, let it come up to the kernel loader. You can enter that stage by pressing the space bar several times. If I remember correctly, you'll then see prompt Ok > _ Then enter "boot -s" to bring up the system in single user mode. After you've confirmed the shell, do # mount -a # cd /usr/src # mergemaster -p and continue with steps 7 - 10. If you have the Beastie menu, press [4] to get into the single user mode. > Here is a snippet from /var/log/messages: > > Dec 30 17:41:15 iguana rc.shutdown: 30 second watchdog timeout expired. Shutdown terminated. > Dec 30 17:41:15 iguana init: /bin/sh on /etc/rc.shutdown terminated abnormally, going to single user mode > Dec 30 17:41:15 iguana syslogd: exiting on signal 15 <--- > Dec 30 17:41:28 iguana syslogd: kernel boot file is /boot/kernel/kernel <--- > > This seems to be happening every time in response to "shutdown now". The reason might be that you're running your updated kernel, but the world has not been properly installed? > However, I can cold boot this machine into single user mode with > nothing unusual. > > This is FreeBSD 8.2-STABLE amd64, rebuilt on 12/26/2011 > > I guess I may have unintentionally changed a config file? Where should > I look? Review your installation steps and _maybe_ redo the installation as indicated in the manual. Maybe there's really just something out of sync. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 09:23:32 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37D5E106564A for ; Sat, 31 Dec 2011 09:23:32 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [IPv6:2a02:6b8:0:1402::1]) by mx1.freebsd.org (Postfix) with ESMTP id A4FEF8FC08 for ; Sat, 31 Dec 2011 09:23:31 +0000 (UTC) Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17]) by forward16.mail.yandex.net (Yandex) with ESMTP id D646CD210B6; Sat, 31 Dec 2011 13:23:29 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325323409; bh=mIvM7Qnt6b4OISiipNfF9S/FKl/bHqPTsPX8OT0inlg=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bhIh9icMPSdE6b7JhcO9bGyoj9o9g1TjU5XTDJDAkiLTaNZzpT53fWRPk1X2TbnmL RwcaaR8uhaPAuL103b5wu72yOhtfzyeDEl/t9NGL7IDUZfxNJDjDawsrBrfEu/qL70 DcxXGNekxQYzqnHl2QK5Zk20G2Xvu5JTD9Hg1jz0= Received: from smtp17.mail.yandex.net (localhost [127.0.0.1]) by smtp17.mail.yandex.net (Yandex) with ESMTP id B1C2C19000ED; Sat, 31 Dec 2011 13:23:29 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1325323409; bh=mIvM7Qnt6b4OISiipNfF9S/FKl/bHqPTsPX8OT0inlg=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bhIh9icMPSdE6b7JhcO9bGyoj9o9g1TjU5XTDJDAkiLTaNZzpT53fWRPk1X2TbnmL RwcaaR8uhaPAuL103b5wu72yOhtfzyeDEl/t9NGL7IDUZfxNJDjDawsrBrfEu/qL70 DcxXGNekxQYzqnHl2QK5Zk20G2Xvu5JTD9Hg1jz0= Received: from unknown (unknown [77.93.52.20]) by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NTOm4Buh-NTO0Q0Fs; Sat, 31 Dec 2011 13:23:29 +0400 X-Yandex-Spam: 1 Date: Sat, 31 Dec 2011 11:23:27 +0200 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1112244537.20111231112327@yandex.ru> To: Robert Huff In-Reply-To: <20222.32401.326222.536203@jerusalem.litteratus.org> References: <211353632.20111231040344@yandex.ru> <20222.32401.326222.536203@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 09:23:32 -0000 Здравствуйте, Robert. Вы писали 31 декабря 2011 г., 5:16:33: RH> =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: >> Is there any way to reduce partition size on live system? RH> No. RH> Basic steps: RH> 0) go to single-user; unmount partition RH> 1) backup affected partition; test backup RH> 2) delete old partition RH> 3) create new/smaller partition RH> 4) restore from backup RH> Robert Huff is there a way to goto singe-user through ssh? -- С уважением, Коньков mailto:kes-kes@yandex.ru From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 09:32:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44255106566C for ; Sat, 31 Dec 2011 09:32:52 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 09C828FC08 for ; Sat, 31 Dec 2011 09:32:51 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-238-95.pitbpa.east.verizon.net [96.236.238.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 8293FB8AF2; Sat, 31 Dec 2011 04:32:50 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id BCFA05C2A; Sat, 31 Dec 2011 04:32:49 -0500 (EST) Date: Sat, 31 Dec 2011 04:31:49 -0500 From: Janos Dohanics To: Polytropon Message-Id: <20111231043149.7df15046.web@3dresearch.com> In-Reply-To: <20111231093941.23c62fb9.freebsd@edvax.de> References: <20111231005704.7a31cfb1.web@3dresearch.com> <20111231093941.23c62fb9.freebsd@edvax.de> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Single user mode exits unexpectedly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 31 Dec 2011 09:32:52 -0000 On Sat, 31 Dec 2011 09:39:41 +0100 Polytropon wrote: > On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote: > > I have just rebuilt world and kernel according to the Handbook, > > installed the new kernel, rebooted, logged in, issued "sudo shutdown > > now" - the machine entered single user mode, then immediately exited > > without any intervention by me and continued to boot into multiuser > > mode. > > That's not the procedure required. From the comment section > of /usr/src/Makefile: > > 1. `cd /usr/src' (or to the directory containing your source > tree). > 2. `make buildworld' > 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). > 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is > GENERIC). [steps 3. & 4. can be combined by using the "kernel" target] > 5. `reboot' (in single user mode: boot -s from the loader > prompt). > 6. `mergemaster -p' > 7. `make installworld' > 8. `make delete-old' > 9. `mergemaster' (you may wish to use -i, along with -U > or -F). > 10. `reboot' > 11. `make delete-old-libs' (in case no 3rd party program uses them > anymore) > > Step 5: reboot _into_ single user mode. After installing > the kernel and shutting down the system, let it come up > to the kernel loader. You can enter that stage by pressing > the space bar several times. If I remember correctly, > you'll then see prompt You are right, the Handbook says "Reboot into single user mode", and I should have just followed it. Nonetheless, I used to reboot normally, and then drop in single user mode - can't remember ever seeing this problem. Thank you, I'll try it next time I'm at that machine... -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 09:34:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AFD7106566C for ; Sat, 31 Dec 2011 09:34:14 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 668FA8FC1C for ; Sat, 31 Dec 2011 09:34:13 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBV9Y9GI064472 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 31 Dec 2011 09:34:09 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBV9Y9GI064472 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325324049; bh=wGOUajwgJ+rs4MdCjm978PJBnZuw6lNktwzf/1A00ao=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=MlmLQB+JGMgoHJ/qX2qhbLiE2NMaNii+eB8JIzDn2+poEojIEnK2ISM+bnzJxNLBo YoF5fsjhfW2jaaDVimpl/55oBVs3fd6J0aIx8AFaymzRrKQeOj2YfFLtrvimzkh/mt shMI6LtkaRtNcAgRCAXwVkxzNtjcQSX1k0D1BUp0= Message-ID: <4EFED70A.8080005@infracaninophile.co.uk> Date: Sat, 31 Dec 2011 09:34:02 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAB0C366C0D29814A54B079CF" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: very small network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 09:34:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAB0C366C0D29814A54B079CF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/12/2011 04:12, Jeffrey McFadden wrote: > I bought into FreeBSD with a DVD of PC-BSD. It's great, but the PC-BSD= > user manual is not up to the level of the FreeBSD manual. In the latte= r I > have found, as you all suggested, all the necessary information. >=20 > I haven't set the network up yet but I expect to be able to run both se= rver > and client NFS on each machine to enable networking both ways. They ar= e > all laptops of one sort or another (Asus eee, Toshiba Satellite, late > model Sony Vaio) and it sort of depends on where I sit which machine n= eeds > to be client and which server, if that makes any sense. Perfect sense. One thing I'd expect PC-BSD to have (or at least to make easy to enable) is Apple-esque zeroconf networking. That means you should be able to plug a new build machine into your network, and it will discover other machines on the net and give you the ability to mount filesystems, or print to attached printers, and all without having a designated central controlling server. I take it this is the sort of thing you mean by setting up your network? This is a very attractive model as it is very simple from the user point of view. You don't necessarily need to have any dedicated servers, although such things as a DHCP server are still useful (I suspect your broadband router probably has that function). On the other hand, it is probably a bit harder to set up than a strict client-server setup with dedicated servers. The key software requirement here is to set up multicast DNS. There are a number of packages in the ports to do this -- mDNSresponder, howl, but what I'd recommend is avahi as it is best integrated with other software packages. For the shared networking thing, you can use samba between FreeBSD machines, but you'll need to build samba from ports since the AVAHI option isn't enabled by default. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigAB0C366C0D29814A54B079CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7+1xEACgkQ8Mjk52CukIz/QACfd5cOxgeYm23mKxDsb0GI/Lmv gyUAnjLZu1ukucHHPuWkkIWHL/R7wKcU =IfSu -----END PGP SIGNATURE----- --------------enigAB0C366C0D29814A54B079CF-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 09:44:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CB03106566B for ; Sat, 31 Dec 2011 09:44:52 +0000 (UTC) (envelope-from artemrts@ukr.net) Received: from ffe5.ukr.net (ffe5.ukr.net [195.214.192.21]) by mx1.freebsd.org (Postfix) with ESMTP id E09D08FC0A for ; Sat, 31 Dec 2011 09:44:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Cc:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=niBCqteihd3wve+5CLXM1rnk2Z7zL85puakTmYYReDo=; b=LjlZCSAiOCXPLBDRXe9395lLRP1vVIxrLTQUMSPMufNctpQNOg0yeOXytGWYKi7TSz7XqfttNe+xf/3/tjA9cK8EXeLE2ayEZoar/GwXB+RacV8RqCcl3ECs/9LCOdshLJUCSeAPpVMRr182g0nr9Lt/AA0NjedpsunkKIdmH+M=; Received: from mail by ffe5.ukr.net with local ID 1RgvUf-000Pn4-KI ; Sat, 31 Dec 2011 11:44:49 +0200 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" In-Reply-To: <1112244537.20111231112327@yandex.ru> References: <20222.32401.326222.536203@jerusalem.litteratus.org> <1112244537.20111231112327@yandex.ru> <211353632.20111231040344@yandex.ru> To: =?WINDOWS-1251?B?yu7t/Oru4iDF4uPl7ejp?= From: =?WINDOWS-1251?B?wujy4Ovo6SDC6+Dk6Ozo8O7i6Pc=?= X-Mailer: freemail.ukr.net 4.0 X-Originating-Ip: [195.200.251.91] Message-Id: <98568.1325324689.9221194802896306176@ffe5.ukr.net> X-Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20100101 Firefox/9.0 Date: Sat, 31 Dec 2011 11:44:49 +0200 Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 09:44:52 -0000 --- Original message --- From: "Коньков Евгений" To: "Robert Huff" Date: 31 December 2011, 11:23:56 Subject: Re: reduce partition size. HELP > Здравствуйте, Robert. > > Вы писали 31 декабря 2011 г., 5:16:33: > > > RH> =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: > > >> Is there any way to reduce partition size on live system? > > RH> No. > RH> Basic steps: > RH> 0) go to single-user; unmount partition > RH> 1) backup affected partition; test backup > RH> 2) delete old partition > RH> 3) create new/smaller partition > RH> 4) restore from backup > > > RH> Robert Huff > > is there a way to goto singe-user through ssh? No. Use IP KVM. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 09:47:27 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C2C2106564A for ; Sat, 31 Dec 2011 09:47:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 04A428FC15 for ; Sat, 31 Dec 2011 09:47:26 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBV9lNO7064724 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 31 Dec 2011 09:47:23 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBV9lNO7064724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325324843; bh=tz0jm2kriUfm7PwzUvBh2C0lJScHE/vEjtG8pFQsrds=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=fkvOueirJnzjPvl2fNWl0g1j/0PtUiuPFBWiiTpUWbjeDvqOZtJeIN/ObXIMxud5/ sK4F7y6uBpLafxA6IrZJtMHhswhgXXTPaYMXxSDaIUm+fx3BNjaUzW2xKEW7s3aVZ7 QORODbo8koW6Vx6LVnvswpmUB+Bx8jRHme8Oqf7U= Message-ID: <4EFEDA2B.9010004@infracaninophile.co.uk> Date: Sat, 31 Dec 2011 09:47:23 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <211353632.20111231040344@yandex.ru> <20222.32401.326222.536203@jerusalem.litteratus.org> <1112244537.20111231112327@yandex.ru> In-Reply-To: <1112244537.20111231112327@yandex.ru> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1DF371B1DAF73F57C9285558" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 09:47:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1DF371B1DAF73F57C9285558 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable On 31/12/2011 09:23, =CA=EE=ED=FC=EA=EE=E2 =C5=E2=E3=E5=ED=E8=E9 wrote: > is there a way to goto singe-user through ssh? Not in a useful way -- you can bring the system down to single user, but you will be logged out and not able to log in again. If you need to do this level of admin work on a remote machine, you will need to have remote console access. There are numerous ways to do that -- big name servers tend to have this capability built in nowadays; look for terms like 'lights-out management', iDRAC, iLO, ALOM, IPMI -- but probably the cheapest way is to set up a serial console from a nearby machine. See: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-s= etup.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig1DF371B1DAF73F57C9285558 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7+2isACgkQ8Mjk52CukIyKjQCglGLV/kdCqajp0U+U2Hi8Bbsu QsYAniG06Hb8+/256ei9E8cCUTr0Pq7t =WoYZ -----END PGP SIGNATURE----- --------------enig1DF371B1DAF73F57C9285558-- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 12:27:36 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB740106564A for ; Sat, 31 Dec 2011 12:27:35 +0000 (UTC) (envelope-from joe.gain@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 570998FC0C for ; Sat, 31 Dec 2011 12:27:34 +0000 (UTC) Received: by werb13 with SMTP id b13so12822644wer.13 for ; Sat, 31 Dec 2011 04:27:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MwXJeJvvCN6/FZRoADuxh2/LCkiINSD1a+4MuPCqEG4=; b=gX6G5I6mUKZ7sVEdkSogadH+2bv1cspHcfmaTrpNubMxmnJec9mkqDBchkBHBEL9jf qr3VihTggdDwsXRUJM/o8+kco42IEZu0SAKDGQo285dUSFOOT8haX/xIDczNnQcsXziA HJwhHeTWY5vVyym4sz6UTSxiV56khDVK2C4es= MIME-Version: 1.0 Received: by 10.216.138.101 with SMTP id z79mr29833859wei.7.1325332934494; Sat, 31 Dec 2011 04:02:14 -0800 (PST) Received: by 10.216.161.79 with HTTP; Sat, 31 Dec 2011 04:02:14 -0800 (PST) In-Reply-To: <201112302138.pBULcZfw076474@mail.r-bonomi.com> References: <201112302138.pBULcZfw076474@mail.r-bonomi.com> Date: Sat, 31 Dec 2011 13:02:14 +0100 Message-ID: From: Joe Gain To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 12:27:36 -0000 Writers who rely on ideological positions such as (socialism || fascism || jedi-knight == good | bad) really need to go visit a social science mailing list. It's not like political/ religious mailing lists don't exist. My positivist take on things: 1. Nobody is stopping anybody from changing their freebsd kernel. The same cannot be said of MS Windows. Documentation is an excuse. 2. FreeBsd is a main-stream O/S-- just look at the number of different architectures/applications which are supported by FreeBSD. 3. FreeBSD isn't even hard to use, if you only want to use it like 80% of computer users, to run your web browser, watch videos and listen to music. People who consider it difficult might like to remember their first experiences with learning windows. 4. Drivers aren't really a limitation. Look at the history of computing, that modern O/S support such diverse platforms is an amazing development. As far as I'm concerned, FreeBSD supports main stream components, there are no classes of components that I'm aware of which aren't supported by FreeBSD. If you need to use a particular device, for which there is no driver, historically it's not unusual to find that on any particular platform a particular device is not supported. 5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it, don't use it. Maybe remove yourself from the mailing list-- or don't, if you just want to stay informed. Normative takes: 6. Is FreeBSD better than windows? For me it is. For me it's stabler. What I remember from using windows, and what I'm aware of, from people around me who use windows is that over time, the system seems to degrade. This leads to really major actions such as re-installation every 6mths or so. And... 7. The temptation to install illegal software on MS Windows is very high. Who wants to pay for every little gimmicky app? Who can afford to pay for some major applications, which are needed for studying etc.? This often leads to an unstable system and security problems. The ports system in comparison is a much preferred "software/ application distribution system" because at least you get to look at the source code, if you want to. 8. It's an individual choice. Depends what you use your computer for. maths/R is one of my favorite applications and it even runs on windows. May the force be with you! On Fri, Dec 30, 2011 at 10:38 PM, Robert Bonomi wrote: > > David Jackson wrte: > > Robert Bonomi wrote: > > > David Jackson wrte: > > > > > ... > > > > > > > > However, My finding is that due to poor documentation, ... > > [ sneck remaineder of ill-informed trolling ] > > > > Start with "The Design and Implementation of the BSD 4.4.4 Operating > > > System" > > > by McKusick, eal. > > > > > > Then read "The design and Implementation of the FreeBSD Operating > System", > > > by McKusick and Neville-Neal.` > > > > > > *You* are free to contribute 'better documentation' as you review any > > > particular file. Since you feel it is important, you are strongly > > > encouraged to "do something" to actually 'make it better', as opposed > > > to merely sitting on the sidelines and sniping at the work of others. > > > > > > Well, okay, yes, I have heard of these books. > > Ah, you've "heard" of them. And, you obviously haven't bothered to read > them, right? > > Do you know _who_ McKusick is? Or Bostic? Or the other authors of the > first > book I referenced? Do you have any idea why it might be a good idea to > start > with what they've written? > > Do you know that manpages exist for a lot of kernel-mode functions? > > Do you understand that with all that *external* documentation, there is > little need to replicate it inside the source files? > > > > _______________________________________________ > 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" > -- joe gain jacob-burckhardt-str. 16 78464 konstanz germany +49 (0)7531 60389 (...otherwise in ???) From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 13:09:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C972106564A for ; Sat, 31 Dec 2011 13:09:04 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.120]) by mx1.freebsd.org (Postfix) with ESMTP id 200BF8FC16 for ; Sat, 31 Dec 2011 13:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=wMzZz+3L3ySPqMDrkgWgRma8Meq4+LjRXh82kUZX1Z8=; b=bqIpLeajjhP9iaoJZa633nPk0+2vPyOZu2692FqkfzTVMdb4UXoT1EmgN8b43fQFWtSA0Tlskvm9Uia+uBC4V1JT+9s5MKPfUKvC1G/XKiKXDEVI1CEMndyCcEvgu/E/MrD9RIXZ/xiDhDOW/WgnrtMwYeAnorLz7TtkHi0slc0=; Received: from [178.137.138.140] (helo=nonamehost.) by fsm1.ukr.net with esmtpsa ID 1RgygD-000PZp-6j ; Sat, 31 Dec 2011 15:09:01 +0200 Date: Sat, 31 Dec 2011 15:08:46 +0200 From: Ivan Klymenko To: Hans Petter Selasky Message-ID: <20111231150846.4c768175@nonamehost.> In-Reply-To: <201110021639.19454.hselasky@c2i.net> References: <20111002114733.72037f2f@nonamehost.> <201110021639.19454.hselasky@c2i.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: ugen4.2: at usbus4 (disconnected) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 13:09:04 -0000 =D0=92 Sun, 2 Oct 2011 16:39:19 +0200 Hans Petter Selasky =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Sunday 02 October 2011 10:47:33 Ivan Klymenko wrote: > > Hi all! > >=20 > > I have an Acer Aspire 5720. And built in a WebCam Crystal Eye. > >=20 > > uname -a > > FreeBSD nonamehost1 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225700: Tue Sep > > 27 12:30:24 EEST 2011 > > user@nonamehost1:/usr/obj/usr/src/sys/mk9 amd64 > >=20 > > When a booting OS visible line: ugen4.2: at usbus4 > > (disconnected) ... > > ichsmb0: port 0x6000-0x601f > > mem 0x9b305000-0x9b3050ff irq 19 at device 31.3 on pci0 smbus0: > > on ichsmb0 > > ugen4.2: at usbus4 (disconnected) >=20 > Your webcam should appear like an USB device typically. Could you > look for more occurrences of ugen4.2 in dmesg? >=20 > Webcamd will start automatically when it sees your webcam. >=20 Hello! So may somehow help for my problem? linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_ether.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_pppoe.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_ether.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_pppoe.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_ether.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_pppoe.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_ether.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_pppoe.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type link_elf_obj: symbol _mtx_assert undefined linker_load_file: Unsupported file type KLD ng_socket.ko: depends on netgraph - not available or version mismatch linker_load_file: Unsupported file type WARNING: attempt to domain_add(netgraph) after domainfinalize() CPU0: local APIC error 0x40 CPU0: local APIC error 0x40 CPU0: local APIC error 0x40 CPU0: local APIC error 0x40 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 disk= s, vnodes remaining...12 4 1 4 4 1 0 0 0 done All buffers synced. Uptime: 23m7s usbus0: Controller shutdown uhub0: at usbus0, port 1, addr 1 (disconnected) ugen0.2: at usbus0 (disconnected) ums0: at uhub0, port 1, addr 2 (disconnected) usbus0: Controller shutdown complete usbus1: Controller shutdown uhub1: at usbus1, port 1, addr 1 (disconnected) usbus1: Controller shutdown complete usbus2: Controller shutdown uhub2: at usbus2, port 1, addr 1 (disconnected) usbus2: Controller shutdown complete usbus3: Controller shutdown uhub3: at usbus3, port 1, addr 1 (disconnected) usbus3: Controller shutdown complete usbus4: Controller shutdown uhub4: at usbus4, port 1, addr 1 (disconnected) usbus4: Controller shutdown complete usbus5: Controller shutdown uhub5: at usbus5, port 1, addr 1 (disconnected) usbus5: Controller shutdown complete usbus6: Controller shutdown uhub6: at usbus6, port 1, addr 1 (disconnected) usbus6: Controller shutdown complete CPU1: local APIC error 0x40 acpi0: reset failed - timeout Rebooting... cpu_reset: Stopping other CPUs Table 'FACP' at 0xbfefd000 Table 'APIC' at 0xbfef3000 APIC: Found table at 0xbfef3000 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 1 ACPI ID 2: enabled SMP: Added CPU 1 (AP) Copyright (c) 1992-2011 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 10.0-CURRENT #0 r228722: Sat Dec 31 14:52:19 EET 2011 ivan@nonamehost1:/usr/obj/usr/src/sys/mk10 amd64 Table 'FACP' at 0xbfefd000 Table 'APIC' at 0xbfef3000 Table 'MCFG' at 0xbfef2000 Table 'SLIC' at 0xbfef1000 Table 'HPET' at 0xbfef0000 Table 'SSDT' at 0xbfeef000 Table 'SSDT' at 0xbfeee000 Table 'SSDT' at 0xbfeed000 ACPI: No SRAT table found Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80d42000. Preloaded elf obj module "/boot/kernel/splash_pcx.ko" at 0xffffffff80d422e8. Preloaded elf obj module "/boot/kernel/vesa.ko" at 0xffffffff80d42818. Preloaded splash_image_data "/boot/splash.pcx" at 0xffffffff80d42dc0. Calibrating TSC clock ... TSC clock: 1496283948 Hz CPU: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz (1496.28-MHz K8-class = CPU) Origin =3D "GenuineIntel" Id =3D 0x6fd Family =3D 6 Model =3D f Stepp= ing =3D 13 Features=3D0xbfebfbff Features2=3D0xe39d AMD Features=3D0x20000800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 4294967296 (4096 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) 0x0000000000100000 - 0x00000000001fffff, 1048576 bytes (256 pages) 0x0000000000d72000 - 0x00000000b666dfff, 3046096896 bytes (743676 pages) 0x00000000bfd09000 - 0x00000000bfd51fff, 299008 bytes (73 pages) 0x00000000bfd55000 - 0x00000000bfdbafff, 417792 bytes (102 pages) 0x00000000bfdbf000 - 0x00000000bfe75fff, 749568 bytes (183 pages) 0x0000000100000000 - 0x000000013ffe7fff, 1073643520 bytes (262120 pages) avail memory =3D 4086009856 (3896 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: INTR: Adding local APIC 1 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 APIC: CPU 0 has ACPI ID 1 APIC: CPU 1 has ACPI ID 2 x86bios: IVT 0x000000-0x0004ff at 0xfffffe0000000000 x86bios: SSEG 0x001000-0x001fff at 0xffffff8000216000 x86bios: EBDA 0x09f000-0x09ffff at 0xfffffe000009f000 x86bios: ROM 0x0a0000-0x0fefff at 0xfffffe00000a0000 ACPI: RSDP 0xfe020 00024 (v02 ACRSYS) ACPI: XSDT 0xbfefe120 00064 (v01 ACRSYS ACRPRDCT 00000001 01000013) ACPI: FACP 0xbfefd000 000F4 (v04 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: DSDT 0xbfef4000 084E4 (v01 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: FACS 0xbfe7b000 00040 ACPI: APIC 0xbfef3000 00068 (v02 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: MCFG 0xbfef2000 0003C (v01 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: SLIC 0xbfef1000 00176 (v01 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: HPET 0xbfef0000 00038 (v01 ACRSYS ACRPRDCT 00000001 MSFT 01000013) ACPI: SSDT 0xbfeef000 004C4 (v01 PmRef CpuPm 00003000 INTL 20051117) ACPI: SSDT 0xbfeee000 00232 (v01 PmRef Cpu0Tst 00003000 INTL 20051117) ACPI: SSDT 0xbfeed000 000A0 (v01 PmRef Cpu1Tst 00003000 INTL 20051117) MADT: Found IO APIC ID 4, Interrupt 0 at 0xfec00000 ioapic0: Changing APIC ID to 4 ioapic0: Routing external 8259A's -> intpin 0 MADT: Interrupt override: source 0, irq 2 ioapic0: Routing IRQ 0 -> intpin 2 MADT: Interrupt override: source 9, irq 9 ioapic0: intpin 9 trigger: level lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high lapic1: Routing NMI -> LINT1 lapic1: LINT1 trigger: edge lapic1: LINT1 polarity: high ioapic0 irqs 0-23 on motherboard cpu0 BSP: ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00000200 err: 0x000000f0 pmc: 0x00010400 wlan: <802.11 Link Layer> null: nfslock: pseudo-device random: io: kbd: new array size 4 kbd1 at kbdmux0 mem: VESA: INT 0x10 vector 0xc000:0x1a6a VESA: information block 0000 56 45 53 41 00 03 00 01 00 02 01 00 00 00 22 00 0010 00 02 e0 00 86 60 07 01 00 02 1a 01 00 02 2f 01 0020 00 02 00 01 01 01 02 01 03 01 04 01 05 01 0e 01 0030 0f 01 11 01 12 01 14 01 15 01 17 01 18 01 30 01 0040 31 01 32 01 33 01 34 01 35 01 36 01 3d 01 3e 01 0050 60 01 61 01 62 01 ff ff 00 00 00 00 00 00 00 00 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0100 4e 56 49 44 49 41 00 4e 56 49 44 49 41 20 43 6f 0110 72 70 6f 72 61 74 69 6f 6e 00 47 38 36 20 42 6f 0120 61 72 64 20 2d 20 70 34 31 39 68 30 31 20 00 43 0130 68 69 70 20 52 65 76 20 20 20 00 00 00 00 00 00 0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 VESA: 26 mode(s) found VESA: v3.0, 14336k memory, flags:0x1, mode table:0xffffff8000258022 (200002= 2) VESA: NVIDIA VESA: NVIDIA Corporation G86 Board - p419h01 Chip Rev =20 splash: image@0xffffffff80c8d8c0, size:734341 splash_pcx: image good: width =3D 1024 height =3D 768 depth =3D 8 planes =3D 1 splash_pcx: considering mode 257: vi_width =3D 640 vi_height =3D 480 vi_depth =3D 8 vi_planes =3D 1 splash_pcx: considering mode 259: vi_width =3D 800 vi_height =3D 600 vi_depth =3D 8 vi_planes =3D 1 splash_pcx: considering mode 261: vi_width =3D 1024 vi_height =3D 768 vi_depth =3D 8 vi_planes =3D 1 splash_pcx: selecting mode 261 splash: image decoder found: splash_pcx acpi0: on motherboard PCIe: Memory Mapped configuration base @ 0xe0000000 ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48 acpi0: Power Button (fixed) acpi0: reservation of 32000000, 100 (3) failed ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 ACPI: SSDT 0xbfe7ae10 001A8 (v01 PmRef Cpu0Ist 00003000 INTL 20051117) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 001A8 (v01 PmRef Cpu0Ist 00003000 INTL 20051117) ACPI: SSDT 0xbfe79610 005D7 (v01 PmRef Cpu0Cst 00003001 INTL 20051117) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 005D7 (v01 PmRef Cpu0Cst 00003001 INTL 20051117) cpu1: on acpi0 ACPI: SSDT 0xbfe7cd10 000C4 (v01 PmRef Cpu1Ist 00003000 INTL 20051117) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 000C4 (v01 PmRef Cpu1Ist 00003000 INTL 20051117) ACPI: SSDT 0xbfe7cc10 00083 (v01 PmRef Cpu1Cst 00003000 INTL 20051117) ACPI: Dynamic OEM Table Load: ACPI: SSDT 0 00083 (v01 PmRef Cpu1Cst 00003000 INTL 20051117) acpi_ec0: port 0x62,0x66 on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link2: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link3: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link4: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 3 4 5 7 9 10 11 12 Validation 0 255 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link5: Index IRQ Rtd Ref IRQs Initial Probe 0 10 N 0 3 4 5 7 9 10 11 12 Validation 0 10 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link6: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pci_link7: Index IRQ Rtd Ref IRQs Initial Probe 0 11 N 0 3 4 5 7 9 10 11 12 Validation 0 11 N 0 3 4 5 7 9 10 11 12 After Disable 0 255 N 0 3 4 5 7 9 10 11 12 pcib0: port 0xcf8-0xcff on acpi0 pcib0: decoding 4 range 0-0xcf7 pcib0: decoding 4 range 0xd00-0xffff pcib0: decoding 3 range 0xa0000-0xbffff pcib0: decoding 3 range 0xc0000000-0xfebfffff pci0: on pcib0 pci0: domain=3D0, physical bus=3D0 found-> vendor=3D0x8086, dev=3D0x2a00, revid=3D0x03 domain=3D0, bus=3D0, slot=3D0, func=3D0 class=3D06-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x2090, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x8086, dev=3D0x2a01, revid=3D0x03 domain=3D0, bus=3D0, slot=3D1, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x08 (2000 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 3 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.1.INTA pcib0: slot 1 INTA hardwired to IRQ 16 found-> vendor=3D0x8086, dev=3D0x2834, revid=3D0x03 domain=3D0, bus=3D0, slot=3D26, func=3D0 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 map[20]: type I/O Port, range 32, base 0x60c0, size 5, enabled pcib0: allocated type 4 (0x60c0-0x60df) for rid 20 of pci0:0:26:0 pcib0: matched entry for 0.26.INTA pcib0: slot 26 INTA hardwired to IRQ 16 found-> vendor=3D0x8086, dev=3D0x2835, revid=3D0x03 domain=3D0, bus=3D0, slot=3D26, func=3D1 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D10 map[20]: type I/O Port, range 32, base 0x60a0, size 5, enabled pcib0: allocated type 4 (0x60a0-0x60bf) for rid 20 of pci0:0:26:1 pcib0: matched entry for 0.26.INTB pcib0: slot 26 INTB hardwired to IRQ 21 found-> vendor=3D0x8086, dev=3D0x283a, revid=3D0x03 domain=3D0, bus=3D0, slot=3D26, func=3D7 class=3D0c-03-20, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Dc, irq=3D11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xdb304c00, size 10, enabled pcib0: allocated type 3 (0xdb304c00-0xdb304fff) for rid 10 of pci0:0:26:7 pcib0: matched entry for 0.26.INTC pcib0: slot 26 INTC hardwired to IRQ 18 found-> vendor=3D0x8086, dev=3D0x284b, revid=3D0x03 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 64, base 0xdb300000, size 14, enabled pcib0: allocated type 3 (0xdb300000-0xdb303fff) for rid 10 of pci0:0:27:0 pcib0: matched entry for 0.27.INTA pcib0: slot 27 INTA hardwired to IRQ 22 found-> vendor=3D0x8086, dev=3D0x283f, revid=3D0x03 domain=3D0, bus=3D0, slot=3D28, func=3D0 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTA pcib0: slot 28 INTA hardwired to IRQ 16 found-> vendor=3D0x8086, dev=3D0x2841, revid=3D0x03 domain=3D0, bus=3D0, slot=3D28, func=3D1 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTB pcib0: slot 28 INTB hardwired to IRQ 17 found-> vendor=3D0x8086, dev=3D0x2843, revid=3D0x03 domain=3D0, bus=3D0, slot=3D28, func=3D2 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Dc, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTC pcib0: slot 28 INTC hardwired to IRQ 18 found-> vendor=3D0x8086, dev=3D0x2845, revid=3D0x03 domain=3D0, bus=3D0, slot=3D28, func=3D3 class=3D06-04-00, hdrtype=3D0x01, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Dd, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message pcib0: matched entry for 0.28.INTD pcib0: slot 28 INTD hardwired to IRQ 19 found-> vendor=3D0x8086, dev=3D0x2830, revid=3D0x03 domain=3D0, bus=3D0, slot=3D29, func=3D0 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 map[20]: type I/O Port, range 32, base 0x6080, size 5, enabled pcib0: allocated type 4 (0x6080-0x609f) for rid 20 of pci0:0:29:0 pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 found-> vendor=3D0x8086, dev=3D0x2831, revid=3D0x03 domain=3D0, bus=3D0, slot=3D29, func=3D1 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 map[20]: type I/O Port, range 32, base 0x6060, size 5, enabled pcib0: allocated type 4 (0x6060-0x607f) for rid 20 of pci0:0:29:1 pcib0: matched entry for 0.29.INTB pcib0: slot 29 INTB hardwired to IRQ 19 found-> vendor=3D0x8086, dev=3D0x2832, revid=3D0x03 domain=3D0, bus=3D0, slot=3D29, func=3D2 class=3D0c-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Dc, irq=3D11 map[20]: type I/O Port, range 32, base 0x6040, size 5, enabled pcib0: allocated type 4 (0x6040-0x605f) for rid 20 of pci0:0:29:2 pcib0: matched entry for 0.29.INTC pcib0: slot 29 INTC hardwired to IRQ 18 found-> vendor=3D0x8086, dev=3D0x2836, revid=3D0x03 domain=3D0, bus=3D0, slot=3D29, func=3D7 class=3D0c-03-20, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0290, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xdb304800, size 10, enabled pcib0: allocated type 3 (0xdb304800-0xdb304bff) for rid 10 of pci0:0:29:7 pcib0: matched entry for 0.29.INTA pcib0: slot 29 INTA hardwired to IRQ 23 found-> vendor=3D0x8086, dev=3D0x2448, revid=3D0xf3 domain=3D0, bus=3D0, slot=3D30, func=3D0 class=3D06-04-01, hdrtype=3D0x01, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x8086, dev=3D0x2815, revid=3D0x03 domain=3D0, bus=3D0, slot=3D31, func=3D0 class=3D06-01-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0007, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) found-> vendor=3D0x8086, dev=3D0x2850, revid=3D0x03 domain=3D0, bus=3D0, slot=3D31, func=3D1 class=3D01-01-8a, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0005, statreg=3D0x0288, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 pcib0: allocated type 4 (0x1f0-0x1f7) for rid 10 of pci0:0:31:1 pcib0: allocated type 4 (0x3f6-0x3f6) for rid 14 of pci0:0:31:1 pcib0: allocated type 4 (0x170-0x177) for rid 18 of pci0:0:31:1 pcib0: allocated type 4 (0x376-0x376) for rid 1c of pci0:0:31:1 map[20]: type I/O Port, range 32, base 0x60e0, size 4, enabled pcib0: allocated type 4 (0x60e0-0x60ef) for rid 20 of pci0:0:31:1 pcib0: matched entry for 0.31.INTA pcib0: slot 31 INTA hardwired to IRQ 18 found-> vendor=3D0x8086, dev=3D0x2829, revid=3D0x03 domain=3D0, bus=3D0, slot=3D31, func=3D2 class=3D01-06-01, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x02b0, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 3 supports D0 D3 current D0 MSI supports 4 messages map[10]: type I/O Port, range 32, base 0x60f8, size 3, enabled pcib0: allocated type 4 (0x60f8-0x60ff) for rid 10 of pci0:0:31:2 map[14]: type I/O Port, range 32, base 0x6114, size 2, enabled pcib0: allocated type 4 (0x6114-0x6117) for rid 14 of pci0:0:31:2 map[18]: type I/O Port, range 32, base 0x60f0, size 3, enabled pcib0: allocated type 4 (0x60f0-0x60f7) for rid 18 of pci0:0:31:2 map[1c]: type I/O Port, range 32, base 0x6110, size 2, enabled pcib0: allocated type 4 (0x6110-0x6113) for rid 1c of pci0:0:31:2 map[20]: type I/O Port, range 32, base 0x6020, size 5, enabled pcib0: allocated type 4 (0x6020-0x603f) for rid 20 of pci0:0:31:2 map[24]: type Memory, range 32, base 0xdb304000, size 11, enabled pcib0: allocated type 3 (0xdb304000-0xdb3047ff) for rid 24 of pci0:0:31:2 pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 19 found-> vendor=3D0x8086, dev=3D0x283e, revid=3D0x03 domain=3D0, bus=3D0, slot=3D31, func=3D3 class=3D0c-05-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0003, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 map[10]: type Memory, range 32, base 0xdb305000, size 8, enabled pcib0: allocated type 3 (0xdb305000-0xdb3050ff) for rid 10 of pci0:0:31:3 map[20]: type I/O Port, range 32, base 0x6000, size 5, enabled pcib0: allocated type 4 (0x6000-0x601f) for rid 20 of pci0:0:31:3 pcib0: matched entry for 0.31.INTB pcib0: slot 31 INTB hardwired to IRQ 19 pcib1: irq 16 at device 1.0 on pci0 pcib0: allocated type 4 (0x5000-0x5fff) for rid 1c of pcib1 pcib0: allocated type 3 (0xd0000000-0xd2ffffff) for rid 20 of pcib1 pcib0: allocated type 3 (0xc0000000-0xcfffffff) for rid 24 of pcib1 pcib1: domain 0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0x5000-0x5fff pcib1: memory decode 0xd0000000-0xd2ffffff pcib1: prefetched decode 0xc0000000-0xcfffffff pci1: on pcib1 pci1: domain=3D0, physical bus=3D1 found-> vendor=3D0x10de, dev=3D0x0427, revid=3D0xa1 domain=3D0, bus=3D1, slot=3D0, func=3D0 class=3D03-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0007, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xd2000000, size 24, enabled pcib1: allocated memory range (0xd2000000-0xd2ffffff) for rid 10 of pci0:1:= 0:0 map[14]: type Prefetchable Memory, range 64, base 0xc0000000, size 28, ena= bled pcib1: allocated prefetch range (0xc0000000-0xcfffffff) for rid 14 of pci0:= 1:0:0 map[1c]: type Memory, range 64, base 0xd0000000, size 25, enabled pcib1: allocated memory range (0xd0000000-0xd1ffffff) for rid 1c of pci0:1:= 0:0 map[24]: type I/O Port, range 32, base 0x5000, size 7, enabled pcib1: allocated I/O port range (0x5000-0x507f) for rid 24 of pci0:1:0:0 pcib1: matched entry for 1.0.INTA pcib1: slot 0 INTA hardwired to IRQ 16 vgapci0: port 0x5000-0x507f mem 0xd2000000-0xd2fff= fff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff irq 16 at device 0.0 on pci1 uhci0: port 0x60c0-0x60df irq 16= at device 26.0 on pci0 ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 0 vector 49 usbus0: on uhci0 usbus0: bpf attached uhci0: usbpf: Attached uhci1: port 0x60a0-0x60bf irq 21= at device 26.1 on pci0 ioapic0: routing intpin 21 (PCI IRQ 21) to lapic 0 vector 50 usbus1: on uhci1 usbus1: bpf attached uhci1: usbpf: Attached ehci0: mem 0xdb304c00-0xdb3= 04fff irq 18 at device 26.7 on pci0 ioapic0: routing intpin 18 (PCI IRQ 18) to lapic 0 vector 51 usbus2: EHCI version 1.0 usbus2: on ehci0 usbus2: bpf attached ehci0: usbpf: Attached pci0: at device 27.0 (no driver attached) pci0:0:27:0: Transition from D0 to D3 pcib2: irq 16 at device 28.0 on pci0 pcib0: allocated type 4 (0x4000-0x4fff) for rid 1c of pcib2 pcib0: allocated type 3 (0xda300000-0xdb2fffff) for rid 20 of pcib2 pcib0: allocated type 3 (0xd3000000-0xd3ffffff) for rid 24 of pcib2 pcib2: domain 0 pcib2: secondary bus 2 pcib2: subordinate bus 2 pcib2: I/O decode 0x4000-0x4fff pcib2: memory decode 0xda300000-0xdb2fffff pcib2: prefetched decode 0xd3000000-0xd3ffffff pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.EXP1 - AE_= NOT_FOUND pci2: on pcib2 pci2: domain=3D0, physical bus=3D2 pcib3: irq 17 at device 28.1 on pci0 pcib0: allocated type 4 (0x3000-0x3fff) for rid 1c of pcib3 pcib0: allocated type 3 (0xd9300000-0xda2fffff) for rid 20 of pcib3 pcib0: allocated type 3 (0xd4000000-0xd4ffffff) for rid 24 of pcib3 pcib3: domain 0 pcib3: secondary bus 4 pcib3: subordinate bus 4 pcib3: I/O decode 0x3000-0x3fff pcib3: memory decode 0xd9300000-0xda2fffff pcib3: prefetched decode 0xd4000000-0xd4ffffff pci4: on pcib3 pci4: domain=3D0, physical bus=3D4 pcib4: irq 18 at device 28.2 on pci0 pcib0: allocated type 4 (0x2000-0x2fff) for rid 1c of pcib4 pcib0: allocated type 3 (0xd8200000-0xd92fffff) for rid 20 of pcib4 pcib0: allocated type 3 (0xd5000000-0xd5ffffff) for rid 24 of pcib4 pcib4: domain 0 pcib4: secondary bus 5 pcib4: subordinate bus 5 pcib4: I/O decode 0x2000-0x2fff pcib4: memory decode 0xd8200000-0xd92fffff pcib4: prefetched decode 0xd5000000-0xd5ffffff pci5: on pcib4 pci5: domain=3D0, physical bus=3D5 found-> vendor=3D0x14e4, dev=3D0x1693, revid=3D0x02 domain=3D0, bus=3D5, slot=3D0, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 3 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 64, base 0xd8200000, size 16, enabled pcib4: allocated memory range (0xd8200000-0xd820ffff) for rid 10 of pci0:5:= 0:0 pcib4: matched entry for 5.0.INTA pcib4: slot 0 INTA hardwired to IRQ 18 pci5: at device 0.0 (no driver attached) pci0:5:0:0: Transition from D0 to D3 pcib5: irq 19 at device 28.3 on pci0 pcib5: failed to allocate initial I/O port window: 0x1000-0x1fff pcib0: allocated type 3 (0xd7100000-0xd81fffff) for rid 20 of pcib5 pcib0: allocated type 3 (0xd6000000-0xd6ffffff) for rid 24 of pcib5 pcib5: domain 0 pcib5: secondary bus 6 pcib5: subordinate bus 6 pcib5: memory decode 0xd7100000-0xd81fffff pcib5: prefetched decode 0xd6000000-0xd6ffffff pci6: on pcib5 pci6: domain=3D0, physical bus=3D6 found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xd7100000, size 12, enabled pcib5: allocated memory range (0xd7100000-0xd7100fff) for rid 10 of pci0:6:= 0:0 pcib5: matched entry for 6.0.INTA pcib5: slot 0 INTA hardwired to IRQ 19 pci6: at device 0.0 (no driver attached) pci0:6:0:0: Transition from D0 to D3 uhci2: port 0x6080-0x609f irq 23= at device 29.0 on pci0 ioapic0: routing intpin 23 (PCI IRQ 23) to lapic 0 vector 52 usbus3: on uhci2 usbus3: bpf attached uhci2: usbpf: Attached uhci3: port 0x6060-0x607f irq 19= at device 29.1 on pci0 ioapic0: routing intpin 19 (PCI IRQ 19) to lapic 0 vector 53 usbus4: on uhci3 usbus4: bpf attached uhci3: usbpf: Attached uhci4: port 0x6040-0x605f irq 18= at device 29.2 on pci0 usbus5: on uhci4 usbus5: bpf attached uhci4: usbpf: Attached ehci1: mem 0xdb304800-0xdb3= 04bff irq 23 at device 29.7 on pci0 usbus6: EHCI version 1.0 usbus6: on ehci1 usbus6: bpf attached ehci1: usbpf: Attached pcib6: at device 30.0 on pci0 pcib0: allocated type 3 (0xd7000000-0xd70fffff) for rid 20 of pcib6 pcib6: domain 0 pcib6: secondary bus 7 pcib6: subordinate bus 7 pcib6: memory decode 0xd7000000-0xd70fffff pcib6: no prefetched decode pcib6: Subtractively decoded bridge. pci7: on pcib6 pci7: domain=3D0, physical bus=3D7 found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd7000000, size 11, enabled pcib6: allocated memory range (0xd7000000-0xd70007ff) for rid 10 of pci0:7:= 0:0 pcib6: matched entry for 7.0.INTA pcib6: slot 0 INTA hardwired to IRQ 20 found-> vendor=3D0x1180, dev=3D0x0822, revid=3D0x22 domain=3D0, bus=3D7, slot=3D0, func=3D1 class=3D08-05-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd7000b00, size 8, enabled pcib6: allocated memory range (0xd7000b00-0xd7000bff) for rid 10 of pci0:7:= 0:1 pcib6: matched entry for 7.0.INTB pcib6: slot 0 INTB hardwired to IRQ 22 found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd7000a00, size 8, enabled pcib6: allocated memory range (0xd7000a00-0xd7000aff) for rid 10 of pci0:7:= 0:2 pcib6: matched entry for 7.0.INTB pcib6: slot 0 INTB hardwired to IRQ 22 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd7000900, size 8, enabled pcib6: allocated memory range (0xd7000900-0xd70009ff) for rid 10 of pci0:7:= 0:3 pcib6: matched entry for 7.0.INTB pcib6: slot 0 INTB hardwired to IRQ 22 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D11 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd7000800, size 8, enabled pcib6: allocated memory range (0xd7000800-0xd70008ff) for rid 10 of pci0:7:= 0:4 pcib6: matched entry for 7.0.INTB pcib6: slot 0 INTB hardwired to IRQ 22 pci7: at device 0.0 (no driver attached) pci0:7:0:0: Transition from D0 to D3 pci7: at device 0.1 (no driver attach= ed) pci0:7:0:1: Transition from D0 to D3 pci7: at device 0.2 (no driver attached) pci0:7:0:2: Transition from D0 to D3 pci7: at device 0.3 (no driver attached) pci0:7:0:3: Transition from D0 to D3 pci7: at device 0.4 (no driver attached) pci0:7:0:4: Transition from D0 to D3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x17= 7,0x376,0x60e0-0x60ef irq 18 at device 31.1 on pci0 ata0: at channel 0 on atapci0 ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 54 ahci0: port 0x60f8-0x60ff,0x6114-0x6117,= 0x60f0-0x60f7,0x6110-0x6113,0x6020-0x603f mem 0xdb304000-0xdb3047ff irq 19 = at device 31.2 on pci0 ahci0: attempting to allocate 4 MSI vectors (4 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 56 msi: routing MSI IRQ 257 to local APIC 0 vector 57 msi: routing MSI IRQ 258 to local APIC 0 vector 58 msi: routing MSI IRQ 259 to local APIC 0 vector 59 ahci0: using IRQs 256-259 for MSI ahci0: AHCI v1.10 with 3 3Gbps ports, Port Multiplier not supported ahci0: Caps: 64bit NCQ SNTF ALP AL CLO 3Gbps PMD SSC PSC 32cmd CCC EM 3ports ahci0: Caps2: ahci0: EM Caps: ALHD XMT SMB LED ahcich0: at channel 0 on ahci0 ahcich0: Caps: ahcich1: at channel 1 on ahci0 ahcich1: Caps: ahcich2: not probed (disabled) pci0: at device 31.3 (no driver attached) acpi_tz0: on acpi0 atrtc0: port 0x70-0x77 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment= 0.500000000s) hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on = acpi0 hpet0: vendor 0x8086, rev 0x1, 14318180Hz 64bit, 3 timers, legacy route hpet0: t0: irqs 0x00f00000 (0), 64bit, periodic hpet0: t1: irqs 0x00f00000 (0) hpet0: t2: irqs 0x00f00800 (0) Timecounter "HPET" frequency 14318180 Hz quality 950 ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 55 ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 60 ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 61 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 attimer0: port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 0 vector 62 atkbd0: [GIANT-LOCKED] psm0: unable to allocate IRQ psmcpnp0: irq 12 on acpi0 psm0: current command byte:0067 psm0: irq 12 on atkbdc0 ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 63 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3-00, 3 buttons psm0: config:00000000, flags:00000008, packet size:4 psm0: syncmask:08, syncbits:00 battery0: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_button1: on acpi0 acpi0: wakeup code va 0xffffff811db45000 pa 0x4000 pcib0: allocated type 3 (0xa0000-0xa07ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa0800-0xa0fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa1000-0xa17ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa1800-0xa1fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa2000-0xa27ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa2800-0xa2fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa3000-0xa37ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa3800-0xa3fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa4000-0xa47ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa4800-0xa4fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa5000-0xa57ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa5800-0xa5fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa6000-0xa67ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa6800-0xa6fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa7000-0xa77ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa7800-0xa7fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa8000-0xa87ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa8800-0xa8fff) for rid 0 of orm0 pcib0: allocated type 3 (0xa9000-0xa97ff) for rid 0 of orm0 pcib0: allocated type 3 (0xa9800-0xa9fff) for rid 0 of orm0 pcib0: allocated type 3 (0xaa000-0xaa7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xaa800-0xaafff) for rid 0 of orm0 pcib0: allocated type 3 (0xab000-0xab7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xab800-0xabfff) for rid 0 of orm0 pcib0: allocated type 3 (0xac000-0xac7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xac800-0xacfff) for rid 0 of orm0 pcib0: allocated type 3 (0xad000-0xad7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xad800-0xadfff) for rid 0 of orm0 pcib0: allocated type 3 (0xae000-0xae7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xae800-0xaefff) for rid 0 of orm0 pcib0: allocated type 3 (0xaf000-0xaf7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xaf800-0xaffff) for rid 0 of orm0 pcib0: allocated type 3 (0xb0000-0xb07ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb0800-0xb0fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb1000-0xb17ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb1800-0xb1fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb2000-0xb27ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb2800-0xb2fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb3000-0xb37ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb3800-0xb3fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb4000-0xb47ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb4800-0xb4fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb5000-0xb57ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb5800-0xb5fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb6000-0xb67ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb6800-0xb6fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb7000-0xb77ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb7800-0xb7fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb8000-0xb87ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb8800-0xb8fff) for rid 0 of orm0 pcib0: allocated type 3 (0xb9000-0xb97ff) for rid 0 of orm0 pcib0: allocated type 3 (0xb9800-0xb9fff) for rid 0 of orm0 pcib0: allocated type 3 (0xba000-0xba7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xba800-0xbafff) for rid 0 of orm0 pcib0: allocated type 3 (0xbb000-0xbb7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbb800-0xbbfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbc000-0xbc7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbc800-0xbcfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbd000-0xbd7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbd800-0xbdfff) for rid 0 of orm0 pcib0: allocated type 3 (0xbe000-0xbe7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbe800-0xbefff) for rid 0 of orm0 pcib0: allocated type 3 (0xbf000-0xbf7ff) for rid 0 of orm0 pcib0: allocated type 3 (0xbf800-0xbffff) for rid 0 of orm0 isa_probe_children: disabling PnP devices atkbdc: atkbdc0 already exists; skipping it atrtc: atrtc0 already exists; skipping it attimer: attimer0 already exists; skipping it sc: sc0 already exists; skipping it isa_probe_children: probing non-PnP devices sc0: at flags 0x100 on isa0 sc0: VGA <12 virtual consoles, flags=3D0x300> sc0: fb0, kbd1, terminal emulator: scteken (teken terminal) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 pcib0: allocated type 4 (0x3c0-0x3df) for rid 0 of vga0 pcib0: allocated type 3 (0xa0000-0xbffff) for rid 0 of vga0 fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0 ppc0 failed to probe at irq 7 on isa0 pcib0: allocated type 4 (0x3f8-0x3ff) for rid 0 of uart0 uart0: failed to probe at port 0x3f8-0x3ff irq 4 on isa0 pcib0: allocated type 4 (0x2f8-0x2ff) for rid 0 of uart1 uart1: failed to probe at port 0x2f8-0x2ff irq 3 on isa0 isa_probe_children: probing PnP devices est0: on cpu0 p4tcc0: on cpu0 est1: on cpu1 p4tcc1: on cpu1 Device configuration finished. procfs registered Timecounters tick every 1.000 msec pflog0: bpf attached vlan: initialized, using hash tables with chaining pfsync0: bpf attached lo0: bpf attached usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ata0: reset tp1 mask=3D03 ostat0=3D50 ostat1=3D00 ata0: stat0=3D0x00 err=3D0x01 lsb=3D0x14 msb=3D0xeb ata0: stat1=3D0x00 err=3D0x00 lsb=3D0x00 msb=3D0x00 ata0: reset tp2 stat0=3D00 stat1=3D00 devices=3D0x10000 (aprobe0:ata0:0:0:0): SIGNATURE: eb14 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ahcich0: AHCI reset... ahcich0: SATA connect time=3D100us status=3D00000123 ahcich0: AHCI reset: device found ahcich1: AHCI reset... ahcich1: SATA offline status=3D00000004 ahcich1: AHCI reset: device not found battery0: battery initialization start acpi_acad0: acline initialization start acpi_lid0: Lid opened acpi_acad0: On Line acpi_acad0: acline initialization done, tried 1 times ahcich0: AHCI reset: device ready after 100ms (aprobe1:ahcich0:0:0:0): SIGNATURE: 0000 pass0 at ata0 bus 0 scbus0 target 0 lun 0 GEOM: new disk cd0 pass0: Removable CD-ROM SCSI-0 device=20 pass0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) pass1 at ahcich0 bus 0 scbus1 target 0 lun 0 pass1: ATA-7 SATA 2.x device (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present pass1: Serial Number 97UGTR83T pass1: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) pass1: Command Queueing enabled ada0 at ahcich0 bus 0 scbus1 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: Serial Number 97UGTR83T ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x01000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 1 vector 48 TSC timecounter disabled: C3 enabled. Timecounter "TSC" frequency 1496283948 Hz quality -1000 (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error GEOM: new disk ada0 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub5: 2 ports with 2 removable, self powered battery0: battery initialization done, tried 1 times Root mount waiting for: usbus6 usbus2 uhub2: 4 ports with 4 removable, self powered uhub6: 6 ports with 6 removable, self powered Trying to mount root from ufs:/dev/ada0p2 [rw]... start_init: trying /sbin/init ugen0.2: at usbus0 ums0: on u= sbus0 ums0: 3 buttons and [XYZ] coordinates ID=3D0 Linux ELF exec handler installed linprocfs registered linsysfs registered pci0: driver added found-> vendor=3D0x8086, dev=3D0x284b, revid=3D0x03 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D22 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added pci0: set ACPI power state D0 on \\_SB_.PCI0.AZAL pci0:0:27:0: Transition from D3 to D0 pci0:0:27:0: Transition from D0 to D3 found-> vendor=3D0x8086, dev=3D0x283e, revid=3D0x03 domain=3D0, bus=3D0, slot=3D31, func=3D3 class=3D0c-05-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0003, statreg=3D0x0280, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D19 pci0:0:31:3: reprobing on driver added ichsmb0: port 0x6000-0x601f mem 0xdb= 305000-0xdb3050ff irq 19 at device 31.3 on pci0 smbus0: on ichsmb0 pci1: driver added pci2: driver added pci4: driver added pci5: driver added found-> vendor=3D0x14e4, dev=3D0x1693, revid=3D0x02 domain=3D0, bus=3D5, slot=3D0, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D18 powerspec 3 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:5:0:0: reprobing on driver added pci5: set ACPI power state D0 on \\_SB_.PCI0.EXP3.PXS3 pci0:5:0:0: Transition from D3 to D0 pci0:5:0:0: Transition from D0 to D3 pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 pci0:6:0:0: Transition from D0 to D3 pci7: driver added found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D20 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:0: reprobing on driver added pci7: set ACPI power state D0 on \\_SB_.PCI0.P32_.R394 pci0:7:0:0: Transition from D3 to D0 pci0:7:0:0: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0822, revid=3D0x22 domain=3D0, bus=3D7, slot=3D0, func=3D1 class=3D08-05-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:1: reprobing on driver added pci0:7:0:1: Transition from D3 to D0 pci0:7:0:1: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 full: ugen4.2: at usbus4 (disconnected) nvidia0: on vgapci0 vgapci0: child nvidia0 requested pci_enable_io vgapci0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 260 to local APIC 0 vector 60 vgapci0: using IRQ 260 for MSI vgapci0: child nvidia0 requested pci_enable_io acpi_video0: on vgapci0 found VGA CRT or VESA Compatible Analog Monitor(100), idx#0, port#0, detect= able by BIOS, head #0 found Internal/Integrated Digital Flat Panel(110), idx#0, port#1, detectabl= e by BIOS, head #0 found TV/HDTV or Analog-Video Monitor(200), idx#0, port#0, head #0 pci0: driver added found-> vendor=3D0x8086, dev=3D0x284b, revid=3D0x03 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D22 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added pci0: set ACPI power state D0 on \\_SB_.PCI0.AZAL pci0:0:27:0: Transition from D3 to D0 pci0:0:27:0: Transition from D0 to D3 pci1: driver added pci2: driver added pci4: driver added pci5: driver added found-> vendor=3D0x14e4, dev=3D0x1693, revid=3D0x02 domain=3D0, bus=3D5, slot=3D0, func=3D0 class=3D02-00-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D18 powerspec 3 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:5:0:0: reprobing on driver added pci5: set ACPI power state D0 on \\_SB_.PCI0.EXP3.PXS3 pci0:5:0:0: Transition from D3 to D0 bge0: me= m 0xd8200000-0xd820ffff irq 18 at device 0.0 on pci5 bge0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 261 to local APIC 0 vector 64 bge0: using IRQ 261 for MSI bge0: CHIP ID 0x0000b002; ASIC REV 0x0b; CHIP REV 0xb0; PCI-E bge0: Disabling fastboot bge0: Disabling fastboot miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: OUI 0x000af7, model 0x000e, rev. 0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000ba= seT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: bpf attached bge0: Ethernet address: 00:1b:38:5e:3e:9a pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 pci0:6:0:0: Transition from D0 to D3 pci7: driver added found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D20 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:0: reprobing on driver added pci7: set ACPI power state D0 on \\_SB_.PCI0.P32_.R394 pci0:7:0:0: Transition from D3 to D0 pci0:7:0:0: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0822, revid=3D0x22 domain=3D0, bus=3D7, slot=3D0, func=3D1 class=3D08-05-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:1: reprobing on driver added pci0:7:0:1: Transition from D3 to D0 pci0:7:0:1: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 snd_unit_init() u=3D0x00ff8000 [512] d=3D0x00007c00 [32] c=3D0x000003ff [10= 24] feeder_register: snd_unit=3D-1 snd_maxautovchans=3D16 latency=3D5 feeder_ra= te_min=3D1 feeder_rate_max=3D2016000 feeder_rate_round=3D25 pci0: driver added found-> vendor=3D0x8086, dev=3D0x284b, revid=3D0x03 domain=3D0, bus=3D0, slot=3D27, func=3D0 class=3D04-03-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D22 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:0:27:0: reprobing on driver added pci0: set ACPI power state D0 on \\_SB_.PCI0.AZAL pci0:0:27:0: Transition from D3 to D0 hdac0: mem 0xdb300000-0xdb3= 03fff irq 22 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 262 to local APIC 0 vector 65 hdac0: using IRQ 262 for MSI hdac0: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: Probing codec #0... hdac0: HDA Codec #0: Realtek ALC268 hdac0: HDA Codec ID: 0x10ec0268 hdac0: Vendor: 0x10ec hdac0: Device: 0x0268 hdac0: Revision: 0x00 hdac0: Stepping: 0x03 hdac0: PCI Subvendor: 0x011e1025 hdac0: Found audio FG nid=3D1 startnode=3D2 endnode=3D37 total=3D35 hdac0: Probing codec #1... hdac0: HDA Codec #1: Conexant (Unknown) hdac0: HDA Codec ID: 0x14f12c06 hdac0: Vendor: 0x14f1 hdac0: Device: 0x2c06 hdac0: Revision: 0x00 hdac0: Stepping: 0x00 hdac0: PCI Subvendor: 0x011e1025 hdac0: Found modem FG nid=3D2 startnode=3D112 endnode=3D116 total=3D4 hdac0:=20 hdac0: Processing audio FG cad=3D0 nid=3D1... hdac0: GPIO: 0x40000004 NumGPIO=3D4 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPIUn= sol=3D1 hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 hdac0: nid 20 0x02211020 as 2 seq 0 Headphones Jack jack 1 loc 2 c= olor Black misc 0 hdac0: Patching pin config nid=3D20 0x02211020 -> 0x0221101f hdac0: nid 21 0x99130110 as 1 seq 0 Speaker Fixed jack 3 loc 25 c= olor Unknown misc 1 hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 hdac0: nid 24 0x02a19840 as 4 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 8 hdac0: nid 25 0x99a30941 as 4 seq 1 Mic Fixed jack 3 loc 25 c= olor Unknown misc 9 hdac0: nid 26 0x0281304e as 4 seq 14 Line-in Jack jack 1 loc 2 c= olor Blue misc 0 hdac0: nid 28 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 hdac0: Patching widget caps nid=3D29 0x00400000 -> 0x00700000 hdac0: nid 30 0x02451130 as 3 seq 0 SPDIF-out Jack jack 5 loc 2 c= olor Black misc 1 hdac0: Patched pins configuration: hdac0: nid 18 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 [DISABLED] hdac0: nid 19 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 [DISABLED] hdac0: nid 20 0x0221101f as 1 seq 15 Headphones Jack jack 1 loc 2 c= olor Black misc 0 hdac0: nid 21 0x99130110 as 1 seq 0 Speaker Fixed jack 3 loc 25 c= olor Unknown misc 1 hdac0: nid 22 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 [DISABLED] hdac0: nid 24 0x02a19840 as 4 seq 0 Mic Jack jack 1 loc 2 c= olor Pink misc 8 hdac0: nid 25 0x99a30941 as 4 seq 1 Mic Fixed jack 3 loc 25 c= olor Unknown misc 9 hdac0: nid 26 0x0281304e as 4 seq 14 Line-in Jack jack 1 loc 2 c= olor Blue misc 0 hdac0: nid 28 0x411111f0 as 15 seq 0 Speaker None jack 1 loc 1 c= olor Black misc 1 [DISABLED] hdac0: nid 30 0x02451130 as 3 seq 0 SPDIF-out Jack jack 5 loc 2 c= olor Black misc 1 hdac0: 3 associations found: hdac0: Association 0 (1) out: hdac0: Pin nid=3D21 seq=3D0 hdac0: Pin nid=3D20 seq=3D15 hdac0: Association 1 (3) out: hdac0: Pin nid=3D30 seq=3D0 hdac0: Association 2 (4) in: hdac0: Pin nid=3D24 seq=3D0 hdac0: Pin nid=3D25 seq=3D1 hdac0: Pin nid=3D26 seq=3D14 hdac0: Tracing association 0 (1) hdac0: Pin 21 traced to DAC 2 hdac0: Pin 20 traced to DAC 2 and hpredir 0 hdac0: Association 0 (1) trace succeeded hdac0: Tracing association 1 (3) hdac0: Pin 30 traced to DAC 6 hdac0: Association 1 (3) trace succeeded hdac0: Tracing association 2 (4) hdac0: Pin 24 traced to ADC 7 hdac0: Pin 25 traced to ADC 7 hdac0: Pin 26 traced to ADC 7 hdac0: Association 2 (4) trace succeeded hdac0: Tracing input monitor hdac0: Tracing other input monitors hdac0: Tracing nid 24 to out hdac0: Tracing nid 25 to out hdac0: Tracing nid 26 to out hdac0: Tracing beeper hdac0: nid 29 traced to out hdac0: GPIO init: data=3D0x00000000 mask=3D0x00000000 dir=3D0x00000000 hdac0: GPIO commit: data=3D0x00000001 mask=3D0x00000001 dir=3D0x00000001 hdac0: Enabling headphone/speaker audio routing switching: hdac0: as=3D0 sense nid=3D20 [UNSOL] hdac0: Pin sense: nid=3D20 res=3D0x00000000 hdac0: FG config/quirks: gpio0 forcestereo ivref50 ivref80 ivref100 ivref hdac0:=20 hdac0: +-------------------+ hdac0: | DUMPING HDA NODES | hdac0: +-------------------+ hdac0:=20 hdac0: Default Parameter hdac0: ----------------- hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e0560 hdac0: 16 20 24 bits, 44 48 96 192 KHz hdac0: IN amp: 0x00000000 hdac0: OUT amp: 0x00000000 hdac0:=20 hdac0: nid: 2 hdac0: Name: audio output hdac0: Widget cap: 0x0000001d hdac0: STEREO hdac0: Association: 0 (0x00008001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e0560 hdac0: 16 20 24 bits, 44 48 96 192 KHz hdac0: Output amp: 0x00034040 hdac0: mute=3D0 step=3D64 size=3D3 offset=3D64 hdac0:=20 hdac0: nid: 3 [DISABLED] hdac0: Name: audio output hdac0: Widget cap: 0x0000001d hdac0: STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x000e0560 hdac0: 16 20 24 bits, 44 48 96 192 KHz hdac0: Output amp: 0x00034040 hdac0: mute=3D0 step=3D64 size=3D3 offset=3D64 hdac0:=20 hdac0: nid: 4 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 5 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 6 hdac0: Name: audio output hdac0: Widget cap: 0x00000211 hdac0: DIGITAL STEREO hdac0: Association: 1 (0x00000001) hdac0: OSS: pcm (pcm) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x001e05e0 hdac0: 16 20 24 32 bits, 44 48 88 96 192 KHz hdac0:=20 hdac0: nid: 7 hdac0: Name: audio input hdac0: Widget cap: 0x00100111 hdac0: STEREO hdac0: Association: 2 (0x00004003) hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x00060160 hdac0: 16 20 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D36 [audio selector] hdac0:=20 hdac0: nid: 8 [DISABLED] hdac0: Name: audio input hdac0: Widget cap: 0x00100111 hdac0: STEREO hdac0: Stream cap: 0x00000001 hdac0: PCM hdac0: PCM cap: 0x00060160 hdac0: 16 20 bits, 44 48 96 KHz hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D35 [audio selector] [DISABLED] hdac0:=20 hdac0: nid: 9 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 10 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 11 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 12 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 13 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 14 [DISABLED] hdac0: Name: audio mixer hdac0: Widget cap: 0x0020010a hdac0: Input amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D2 [audio output] hdac0:=20 hdac0: nid: 15 hdac0: Name: audio mixer hdac0: Widget cap: 0x0020010b hdac0: STEREO hdac0: Association: 0 (0x00008000) hdac0: OSS: pcm, speaker hdac0: Input amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 2 hdac0: | hdac0: + <- nid=3D2 [audio output] hdac0: + <- nid=3D29 [beep widget] hdac0:=20 hdac0: nid: 16 hdac0: Name: audio mixer hdac0: Widget cap: 0x0020010b hdac0: STEREO hdac0: Association: 0 (0x00000001) hdac0: OSS: pcm, speaker hdac0: Input amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 3 hdac0: | hdac0: + [DISABLED] <- nid=3D3 [audio output] [DISABLED] hdac0: + <- nid=3D29 [beep widget] hdac0: + <- nid=3D2 [audio output] hdac0:=20 hdac0: nid: 17 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 18 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0:=20 hdac0: nid: 19 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0:=20 hdac0: nid: 20 hdac0: Name: pin: Headphones (Black Jack) hdac0: Widget cap: 0x0040018d hdac0: UNSOL STEREO hdac0: Association: 0 (0x00008000) hdac0: Pin cap: 0x0001003c hdac0: PDC HP OUT IN EAPD hdac0: Pin config: 0x0221101f hdac0: Pin control: 0x000000c0 HP OUT hdac0: EAPD: 0x00000002 hdac0: Output amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D15 [audio mixer] hdac0:=20 hdac0: nid: 21 hdac0: Name: pin: Speaker (Fixed) hdac0: Widget cap: 0x0040018d hdac0: UNSOL STEREO hdac0: Association: 0 (0x00000001) hdac0: Pin cap: 0x0001003c hdac0: PDC HP OUT IN EAPD hdac0: Pin config: 0x99130110 hdac0: Pin control: 0x00000040 OUT hdac0: EAPD: 0x00000002 hdac0: Output amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D16 [audio mixer] hdac0:=20 hdac0: nid: 22 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x0040010c hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0: Output amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D14 [audio mixer] [DISABLED] hdac0:=20 hdac0: nid: 23 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 24 hdac0: Name: pin: Mic (Pink Jack) hdac0: Widget cap: 0x0040018f hdac0: UNSOL STEREO hdac0: Association: 2 (0x00000001) hdac0: OSS: mic (mic) hdac0: Pin cap: 0x00003734 hdac0: PDC OUT IN VREF[ 50 80 100 GROUND HIZ ] hdac0: Pin config: 0x02a19840 hdac0: Pin control: 0x00000025 IN VREFs hdac0: Output amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: Input amp: 0x004f0200 hdac0: mute=3D0 step=3D2 size=3D79 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D2 [audio output] hdac0:=20 hdac0: nid: 25 hdac0: Name: pin: Mic (Fixed) hdac0: Widget cap: 0x0040008b hdac0: UNSOL STEREO hdac0: Association: 2 (0x00000002) hdac0: OSS: monitor (monitor) hdac0: Pin cap: 0x00003724 hdac0: PDC IN VREF[ 50 80 100 GROUND HIZ ] hdac0: Pin config: 0x99a30941 hdac0: Pin control: 0x00000025 IN VREFs hdac0: Input amp: 0x004f0200 hdac0: mute=3D0 step=3D2 size=3D79 offset=3D0 hdac0:=20 hdac0: nid: 26 hdac0: Name: pin: Line-in (Blue Jack) hdac0: Widget cap: 0x0040018f hdac0: UNSOL STEREO hdac0: Association: 2 (0x00004000) hdac0: OSS: line (line) hdac0: Pin cap: 0x00003734 hdac0: PDC OUT IN VREF[ 50 80 100 GROUND HIZ ] hdac0: Pin config: 0x0281304e hdac0: Pin control: 0x00000025 IN VREFs hdac0: Output amp: 0x80000000 hdac0: mute=3D1 step=3D0 size=3D0 offset=3D0 hdac0: Input amp: 0x004f0200 hdac0: mute=3D0 step=3D2 size=3D79 offset=3D0 hdac0: connections: 1 hdac0: | hdac0: + [DISABLED] <- nid=3D2 [audio output] hdac0:=20 hdac0: nid: 27 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 28 [DISABLED] hdac0: Name: pin: Speaker (None) hdac0: Widget cap: 0x00400001 hdac0: STEREO hdac0: Pin cap: 0x00000020 hdac0: IN hdac0: Pin config: 0x411111f0 hdac0: Pin control: 0x00000000 hdac0:=20 hdac0: nid: 29 hdac0: Name: beep widget hdac0: Widget cap: 0x00700000 hdac0: Association: -2 (0x00000000) hdac0: OSS: speaker (speaker) hdac0:=20 hdac0: nid: 30 hdac0: Name: pin: SPDIF-out (Black Jack) hdac0: Widget cap: 0x00400380 hdac0: DIGITAL UNSOL hdac0: Association: 1 (0x00000001) hdac0: Pin cap: 0x00000010 hdac0: OUT hdac0: Pin config: 0x02451130 hdac0: Pin control: 0x00000040 OUT hdac0: connections: 1 hdac0: | hdac0: + <- nid=3D6 [audio output] hdac0:=20 hdac0: nid: 31 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 32 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00040 hdac0: PROC hdac0:=20 hdac0: nid: 33 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 34 [DISABLED] hdac0: Name: vendor widget hdac0: Widget cap: 0x00f00000 hdac0:=20 hdac0: nid: 35 [DISABLED] hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Output amp: 0x80051f0b hdac0: mute=3D1 step=3D31 size=3D5 offset=3D11 hdac0: connections: 7 hdac0: | hdac0: + <- nid=3D24 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=3D25 [pin: Mic (Fixed)] hdac0: + <- nid=3D26 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=3D28 [pin: Speaker (None)] [DISABLED] hdac0: + <- nid=3D20 [pin: Headphones (Black Jack)] hdac0: + <- nid=3D21 [pin: Speaker (Fixed)] hdac0: + [DISABLED] <- nid=3D18 [pin: Speaker (None)] [DISABLED] hdac0:=20 hdac0: nid: 36 hdac0: Name: audio selector hdac0: Widget cap: 0x0030010d hdac0: STEREO hdac0: Association: 2 (0x00004003) hdac0: OSS: line, mic, monitor hdac0: Output amp: 0x80051f0b hdac0: mute=3D1 step=3D31 size=3D5 offset=3D11 hdac0: connections: 7 hdac0: | hdac0: + <- nid=3D24 [pin: Mic (Pink Jack)] (selected) hdac0: + <- nid=3D25 [pin: Mic (Fixed)] hdac0: + <- nid=3D26 [pin: Line-in (Blue Jack)] hdac0: + [DISABLED] <- nid=3D28 [pin: Speaker (None)] [DISABLED] hdac0: + [DISABLED] <- nid=3D20 [pin: Headphones (Black Jack)] hdac0: + [DISABLED] <- nid=3D21 [pin: Speaker (Fixed)] hdac0: + [DISABLED] <- nid=3D19 [pin: Speaker (None)] [DISABLED] hdac0:=20 hdac0: Processing modem FG cad=3D1 nid=3D2... hdac0:=20 pci1: driver added pci2: driver added pci4: driver added pci5: driver added pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 pci0:6:0:0: Transition from D0 to D3 pci7: driver added found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D20 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:0: reprobing on driver added pci7: set ACPI power state D0 on \\_SB_.PCI0.P32_.R394 pci0:7:0:0: Transition from D3 to D0 pci0:7:0:0: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0822, revid=3D0x22 domain=3D0, bus=3D7, slot=3D0, func=3D1 class=3D08-05-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:1: reprobing on driver added pci0:7:0:1: Transition from D3 to D0 pci0:7:0:1: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 pcm0: at cad 0 nid 1 on hdac0 pcm0: +--------------------------------------+ pcm0: | DUMPING PCM Playback/Record Channels | pcm0: +--------------------------------------+ pcm0:=20 pcm0: Playback: pcm0:=20 pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x000e0560 pcm0: 16 20 24 bits, 44 48 96 192 KHz pcm0: DAC: 2 pcm0:=20 pcm0: Record: pcm0:=20 pcm0: Stream cap: 0x00000001 pcm0: PCM pcm0: PCM cap: 0x00060160 pcm0: 16 20 bits, 44 48 96 KHz pcm0: ADC: 7 pcm0:=20 pcm0: +-------------------------------+ pcm0: | DUMPING Playback/Record Paths | pcm0: +-------------------------------+ pcm0:=20 pcm0: Playback: pcm0:=20 pcm0: nid=3D21 [pin: Speaker (Fixed)] pcm0: | pcm0: + <- nid=3D16 [audio mixer] [src: pcm, speaker] pcm0: | pcm0: + <- nid=3D29 [beep widget] [src: speaker] pcm0: + <- nid=3D2 [audio output] [src: pcm] pcm0:=20 pcm0: nid=3D20 [pin: Headphones (Black Jack)] pcm0: | pcm0: + <- nid=3D15 [audio mixer] [src: pcm, speaker] pcm0: | pcm0: + <- nid=3D2 [audio output] [src: pcm] pcm0: + <- nid=3D29 [beep widget] [src: speaker] pcm0:=20 pcm0: Record: pcm0:=20 pcm0: nid=3D7 [audio input] pcm0: | pcm0: + <- nid=3D36 [audio selector] [src: line, mic, monitor] pcm0: | pcm0: + <- nid=3D24 [pin: Mic (Pink Jack)] [src: mic] pcm0: + <- nid=3D25 [pin: Mic (Fixed)] [src: monitor] pcm0: + <- nid=3D26 [pin: Line-in (Blue Jack)] [src: line] pcm0:=20 pcm0: +-------------------------+ pcm0: | DUMPING Volume Controls | pcm0: +-------------------------+ pcm0:=20 pcm0: Master Volume (OSS: vol) pcm0: | pcm0: +- ctl 1 (nid 2 out): -64/0dB (65 steps) pcm0: +- ctl 4 (nid 15 in 0): mute pcm0: +- ctl 5 (nid 15 in 1): mute pcm0: +- ctl 7 (nid 16 in 1): mute pcm0: +- ctl 8 (nid 16 in 2): mute pcm0: +- ctl 9 (nid 20 in ): mute pcm0: +- ctl 10 (nid 21 in ): mute pcm0:=20 pcm0: PCM Volume (OSS: pcm) pcm0: | pcm0: +- ctl 1 (nid 2 out): -64/0dB (65 steps) pcm0: +- ctl 4 (nid 15 in 0): mute pcm0: +- ctl 8 (nid 16 in 2): mute pcm0:=20 pcm0: Microphone Volume (OSS: mic) pcm0: | pcm0: +- ctl 13 (nid 24 out): 0/40dB (3 steps) pcm0:=20 pcm0: Microphone2 Volume (OSS: monitor) pcm0: | pcm0: +- ctl 14 (nid 25 out): 0/40dB (3 steps) pcm0:=20 pcm0: Line-in Volume (OSS: line) pcm0: | pcm0: +- ctl 16 (nid 26 out): 0/40dB (3 steps) pcm0:=20 pcm0: Speaker/Beep Volume (OSS: speaker) pcm0: | pcm0: +- ctl 5 (nid 15 in 1): mute pcm0: +- ctl 7 (nid 16 in 1): mute pcm0:=20 pcm0: Recording Level (OSS: rec) pcm0: | pcm0: +- ctl 18 (nid 36 out): -16/30dB (32 steps) + mute pcm0:=20 pcm0: Input Monitoring Level (OSS: igain) pcm0: | pcm0: +- ctl 5 (nid 15 in 1): mute pcm0: +- ctl 7 (nid 16 in 1): mute pcm0:=20 pcm0: Mixer "vol": pcm0: Mixer "pcm": pcm0: Mixer "speaker": pcm0: Mixer "line": pcm0: Mixer "mic": pcm0: Mixer "rec": pcm0: Mixer "igain": pcm0: Mixer "ogain": pcm0: Mixer "monitor": pcm0: clone manager: deadline=3D750ms flags=3D0x8000001e pcm0: sndbuf_setmap 7b3e000, 4000; 0xffffff811ff3e000 -> 7b3e000 pcm0: sndbuf_setmap 7b4e000, 4000; 0xffffff811ff4e000 -> 7b4e000 pcm1: at cad 0 nid 1 on hdac0 pcm1: +--------------------------------------+ pcm1: | DUMPING PCM Playback/Record Channels | pcm1: +--------------------------------------+ pcm1:=20 pcm1: Playback: pcm1:=20 pcm1: Stream cap: 0x00000005 pcm1: AC3 PCM pcm1: PCM cap: 0x001e05e0 pcm1: 16 20 24 32 bits, 44 48 88 96 192 KHz pcm1: DAC: 6 pcm1:=20 pcm1: +-------------------------------+ pcm1: | DUMPING Playback/Record Paths | pcm1: +-------------------------------+ pcm1:=20 pcm1: Playback: pcm1:=20 pcm1: nid=3D30 [pin: SPDIF-out (Black Jack)] pcm1: | pcm1: + <- nid=3D6 [audio output] [src: pcm] pcm1:=20 pcm1: +-------------------------+ pcm1: | DUMPING Volume Controls | pcm1: +-------------------------+ pcm1:=20 pcm1: Forcing Soft PCM volume pcm1: Forcing master volume with PCM pcm1: Mixer "vol" -> "none": child=3D0x00000010 pcm1: Mixer "pcm": parent=3D"vol" pcm1: Soft PCM mixer ENABLED pcm1: clone manager: deadline=3D750ms flags=3D0x8000001e pcm1: sndbuf_setmap 7b5e000, 4000; 0xffffff811ff5e000 -> 7b5e000 Cuse4BSD v0.1.23 @ /dev/cuse pci0: driver added pci1: driver added pci2: driver added pci4: driver added pci5: driver added pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 pci0:6:0:0: Transition from D0 to D3 pci7: driver added found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D20 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:0: reprobing on driver added pci7: set ACPI power state D0 on \\_SB_.PCI0.P32_.R394 pci0:7:0:0: Transition from D3 to D0 pci0:7:0:0: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0822, revid=3D0x22 domain=3D0, bus=3D7, slot=3D0, func=3D1 class=3D08-05-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:1: reprobing on driver added pci0:7:0:1: Transition from D3 to D0 sdhci0: mem 0xd7000b00-0xd7000bff irq 22 at device 0.1 on= pci7 sdhci0-slot0: 33MHz 4bits 3.3V DMA sdhci0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REGISTER DUMP =3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci0-slot0: Sys addr: 0x00000000 | Version: 0x00000400 sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci0-slot0: Present: 0x01f20000 | Host ctl: 0x00000000 sdhci0-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000000 sdhci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci0-slot0: Caps: 0x018021a1 | Max curr: 0x00000040 sdhci0-slot0: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D sdhci0: 1 slot(s) allocated ioapic0: routing intpin 22 (PCI IRQ 22) to lapic 0 vector 66 found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 GEOM_SCHED: Initializing global data. GEOM_SCHED: Loading: mp =3D 0xffffffff819c1fe0, g_sched_class =3D 0xfffffff= f819c1fe0. GEOM_SCHED: Modevent 0. GEOM_SCHED: Loaded module rr error 0. pci0: driver added pci1: driver added pci2: driver added pci4: driver added pci5: driver added pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 pci0:6:0:0: Transition from D0 to D3 pci7: driver added found-> vendor=3D0x1180, dev=3D0x0832, revid=3D0x05 domain=3D0, bus=3D7, slot=3D0, func=3D0 class=3D0c-00-10, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x02 (500 ns), maxlat=3D0x04 (1000 ns) intpin=3Da, irq=3D20 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:0: reprobing on driver added pci7: set ACPI power state D0 on \\_SB_.PCI0.P32_.R394 pci0:7:0:0: Transition from D3 to D0 fwohci0: vendor=3D1180, dev=3D832 fwohci0: vendor=3D1180, dev=3D832 fwohci0: <1394 Open Host Controller Interface> mem 0xd7000000-0xd70007ff ir= q 20 at device 0.0 on pci7 fwohci0: OHCI version 1.10 (ROM=3D0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 b6:42:32:35:00:02:3f:79 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 firewire0: on fwohci0 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=3D0x00000000, SelfID Count=3D1, CYCLEMAS= TER mode firewire0: 1 nodes, maxhop <=3D 0 cable IRM irm(0) (me)=20 firewire0: bus manager 0=20 sbp0: on firewire0 (probe0:sbp0:0:0:0): Error 22, Unretryable error (probe1:sbp0:0:1:0): Error 22, Unretryable error (probe2:sbp0:0:2:0): Error 22, Unretryable error (probe3:sbp0:0:3:0): Error 22, Unretryable error (probe4:sbp0:0:4:0): Error 22, Unretryable error (probe5:sbp0:0:5:0): Error 22, Unretryable error (probe6:sbp0:0:6:0): Error 22, Unretryable error pci0: driver added pci1: driver added pci2: driver added pci4: driver added pci5: driver added pci6: driver added found-> vendor=3D0x8086, dev=3D0x4222, revid=3D0x02 domain=3D0, bus=3D6, slot=3D0, func=3D0 class=3D02-80-00, hdrtype=3D0x00, mfdev=3D0 cmdreg=3D0x0006, statreg=3D0x0010, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Da, irq=3D19 powerspec 2 supports D0 D3 current D3 MSI supports 1 message, 64 bit pci0:6:0:0: reprobing on driver added pci6: set ACPI power state D0 on \\_SB_.PCI0.EXP4.PXS4 pci0:6:0:0: Transition from D3 to D0 wpi0: mem 0xd7100000-0xd7100fff irq 19 at d= evice 0.0 on pci6 wpi0: Driver Revision 20071127 wpi0: Hardware Revision (0x1) wpi0: Regulatory Domain: MoW2 wpi0: Hardware Type: B wpi0: Hardware Revision: ? wpi0: SKU does support 802.11a wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbp= s 36Mbps 48Mbps 54Mbps pci7: driver added found-> vendor=3D0x1180, dev=3D0x0843, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D2 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:2: reprobing on driver added pci0:7:0:2: Transition from D3 to D0 pci0:7:0:2: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0592, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D3 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:3: reprobing on driver added pci0:7:0:3: Transition from D3 to D0 pci0:7:0:3: Transition from D0 to D3 found-> vendor=3D0x1180, dev=3D0x0852, revid=3D0x12 domain=3D0, bus=3D7, slot=3D0, func=3D4 class=3D08-80-00, hdrtype=3D0x00, mfdev=3D1 cmdreg=3D0x0006, statreg=3D0x0210, cachelnsz=3D0 (dwords) lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns) intpin=3Db, irq=3D22 powerspec 2 supports D0 D1 D2 D3 current D3 pci0:7:0:4: reprobing on driver added pci0:7:0:4: Transition from D3 to D0 pci0:7:0:4: Transition from D0 to D3 bge0: Disabling fastboot bge0: Disabling fastboot wlan0: bpf attached wlan0: bpf attached wlan0: Ethernet address: 00:1c:bf:0f:39:95 firmware: 'wpifw' version 153229: 150100 bytes loaded at 0xffffffff819e60a0 tun0: bpf attached WARNING: attempt to domain_add(netgraph) after domainfinalize() WARNING: attempt to domain_add(bluetooth) after domainfinalize() fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error (cd0:ata0:0:0:0): SCSI status error (cd0:ata0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20 (cd0:ata0:0:0:0): CAM status: SCSI Status Error (cd0:ata0:0:0:0): SCSI status: Check Condition (cd0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) (cd0:ata0:0:0:0): Error 6, Unretryable error g_vfs_done():cd0[READ(offset=3D32768, length=3D2048)]error =3D 6 splash: image decoder found: green_saver CPU1: local APIC error 0x40 CPU1: local APIC error 0x40 What do I need to take additional steps that would solve this problem? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 14:18:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 862E4106566B for ; Sat, 31 Dec 2011 14:18:19 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id DED358FC13 for ; Sat, 31 Dec 2011 14:18:18 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 31 Dec 2011 15:18:15 +0100 Message-ID: <4EFF19A7.2060800@ose.nl> Date: Sat, 31 Dec 2011 15:18:15 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201112302138.pBULcZfw076474@mail.r-bonomi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 14:18:19 -0000 On 12/31/2011 01:02 PM, Joe Gain wrote: > Writers who rely on ideological positions such as (socialism || fascism || > jedi-knight == good | bad) really need to go visit a social science mailing > list. It's not like political/ religious mailing lists don't exist. > > My positivist take on things: > > 1. Nobody is stopping anybody from changing their freebsd kernel. The same > cannot be said of MS Windows. Documentation is an excuse. FreeBSD is very well documented! I guess a lot of people can't cope with how structured and professional it is. They are used to chaos, fear, uncertainty and doubt and feel comfortable that way. > > 2. FreeBsd is a main-stream O/S-- just look at the number of different > architectures/applications which are supported by FreeBSD. Main stream and top player for web and internet servers > > 3. FreeBSD isn't even hard to use, if you only want to use it like 80% of > computer users, to run your web browser, watch videos and listen to music. > People who consider it difficult might like to remember their first > experiences with learning windows. I guess PCBSD is easier and better for the average desktop user, those guys do a good job at this! FreeBSD is the easiest to use for me on servers and even on the desktop but I still have a linux ubuntu desktop though To get a good desktop going without initial internet connection it is a daunting task on FreeBSD > > 4. Drivers aren't really a limitation. Look at the history of computing, > that modern O/S support such diverse platforms is an amazing development. > As far as I'm concerned, FreeBSD supports main stream components, there are > no classes of components that I'm aware of which aren't supported by > FreeBSD. If you need to use a particular device, for which there is no > driver, historically it's not unusual to find that on any particular > platform a particular device is not supported. It supports most things except the things you wouldn't want anyway > > 5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it, > don't use it. Maybe remove yourself from the mailing list-- or don't, if > you just want to stay informed. If you don't like it, please leave, there are a lot of alternatives > > Normative takes: > > 6. Is FreeBSD better than windows? For me it is. For me it's stabler. What > I remember from using windows, and what I'm aware of, from people around me > who use windows is that over time, the system seems to degrade. This leads > to really major actions such as re-installation every 6mths or so. And... It is! > > 7. The temptation to install illegal software on MS Windows is very high. > Who wants to pay for every little gimmicky app? Who can afford to pay for > some major applications, which are needed for studying etc.? This often > leads to an unstable system and security problems. The ports system in > comparison is a much preferred "software/ application distribution system" > because at least you get to look at the source code, if you want to. Most windows users and professionals I know are plane thieves, it is just easy for hem to get away with it. It's not my cup -o- joe and I refuse to be like that, no illegal software for me. > > 8. It's an individual choice. Depends what you use your computer for. > maths/R is one of my favorite applications and it even runs on windows. It's all about choice and I'd rather learn from history than repeat it over and over > > May the force be with you! Use the force Luke, read the source :) Cheers Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 15:35:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36170106566B for ; Sat, 31 Dec 2011 15:35:42 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) by mx1.freebsd.org (Postfix) with ESMTP id B7C718FC14 for ; Sat, 31 Dec 2011 15:35:41 +0000 (UTC) Received: from 62-248-204-7.elisa-laajakaista.fi ([62.248.204.7] helo=[192.168.255.133]) by mail.kapsi.fi with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Rh0yB-000206-0M; Sat, 31 Dec 2011 17:35:39 +0200 Message-ID: <4EFF2BC7.4030003@kapsi.fi> Date: Sat, 31 Dec 2011 17:35:35 +0200 From: Arto Pekkanen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Bernt Hansson References: <4EFF24D3.6020602@bananmonarki.se> In-Reply-To: <4EFF24D3.6020602@bananmonarki.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 62.248.204.7 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Cc: freebsd-questions@freebsd.org Subject: Re: Enter kernel panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 31 Dec 2011 15:35:42 -0000 On 31.12.2011 17:05, Bernt Hansson wrote: > Hello list! > > FreeBSD FQDN 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Sep 21 17:29:38 CEST 2011 > root@FQDN:/usr/obj/usr/src/sys/DESKTOP amd64 > testbox# > > If I press enter 4+ times during a cold boot I get a kernel panic. I call hardware problem. Maybe your motherboard has a faulty keyboard controller circuitry. Also, if your keyboard is connected via USB, then maybe the USB-chipset in your mobo is somehow broken/faulty/badly designed or just partially incompatible with freebsd. -- Arto Pekkanen ksym@IRCnet From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 15:45:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D22141065673 for ; Sat, 31 Dec 2011 15:45:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1828FC08 for ; Sat, 31 Dec 2011 15:45:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id pBVFjWiB050899; Sat, 31 Dec 2011 08:45:32 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id pBVFjW93050896; Sat, 31 Dec 2011 08:45:32 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 31 Dec 2011 08:45:32 -0700 (MST) From: Warren Block To: =?KOI8-R?B?68/O2MvP1yDl18fFzsnK?= In-Reply-To: <1112244537.20111231112327@yandex.ru> Message-ID: References: <211353632.20111231040344@yandex.ru> <20222.32401.326222.536203@jerusalem.litteratus.org> <1112244537.20111231112327@yandex.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 31 Dec 2011 08:45:32 -0700 (MST) Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 15:45:33 -0000 On Sat, 31 Dec 2011, ??????? ??????? wrote: > ????????????, Robert. > > ?? ?????? 31 ??????? 2011 ?., 5:16:33: > > > RH> =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: > >>> Is there any way to reduce partition size on live system? > > RH> No. > RH> Basic steps: > RH> 0) go to single-user; unmount partition > RH> 1) backup affected partition; test backup > RH> 2) delete old partition > RH> 3) create new/smaller partition > RH> 4) restore from backup > > is there a way to goto singe-user through ssh? Single-user and unmounted partitions are desirable but not required. See dump(8) about the -L option. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 15:52:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67A7A106566B for ; Sat, 31 Dec 2011 15:52:39 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) by mx1.freebsd.org (Postfix) with ESMTP id E770E8FC08 for ; Sat, 31 Dec 2011 15:52:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id pBVFqWDa009716 for ; Sat, 31 Dec 2011 07:52:32 -0800 (PST) (envelope-from freebsd@pki2.com) From: Dennis Glatting To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Date: Sat, 31 Dec 2011 07:52:32 -0800 Message-ID: <1325346752.35403.65.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: pBVFqWDa009716 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com X-yoursite-MailScanner-Watermark: 1325951553.26628@BvZCjtiI/j7+z3oXI+5NTQ Subject: CPU MHz discrepency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 31 Dec 2011 15:52:39 -0000 Curios here. My BIOS reports my CPU at 4,023 MHz but when FreeBSD boots it says "3973.35-MHz." How is this determined? Seems like an off-by-one error somewhere. MB: ASUS Crosshair V FORMULA, latest BIOS, overclocked. dmesg output: Tasha> dmesg Copyright (c) 1992-2011 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 8.2-STABLE #7: Fri Dec 30 18:15:12 PST 2011 root@Tasha:/disk-1/src/sys/amd64/compile/TASHA amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD FX(tm)-8150 Eight-Core Processor (3973.35-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 Features=0x178bfbff Features2=0x1698220b AMD Features=0x2e500800 AMD Features2=0x1c9bfff,> TSC: P-state invariant real memory = 17179869184 (16384 MB) avail memory = 16470151168 (15707 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 8 core(s) cpu0 (BSP): APIC ID: 16 cpu1 (AP): APIC ID: 17 cpu2 (AP): APIC ID: 18 cpu3 (AP): APIC ID: 19 cpu4 (AP): APIC ID: 20 cpu5 (AP): APIC ID: 21 cpu6 (AP): APIC ID: 22 cpu7 (AP): APIC ID: 23 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20101013/tbfadt-655) ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-55 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] ACPI Error: [RAMB] Namespace lookup failure, AE_NOT_FOUND (20101013/psargs-464) ACPI Exception: AE_NOT_FOUND, Could not execute arguments for [RAMW] (Region) (20101013/nsinit-452) acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 52 at device 2.0 on pci0 pci1: on pcib1 vgapci0: port 0xe000-0xe07f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff irq 24 at device 0.0 on pci1 pci1: at device 0.1 (no driver attached) pcib2: irq 52 at device 4.0 on pci0 pci2: on pcib2 ahci0: port 0xd050-0xd057,0xd040-0xd043,0xd030-0xd037,0xd020-0xd023,0xd000-0xd01f mem 0xfe300000-0xfe3001ff irq 44 at device 0.0 on pci2 ahci0: [ITHREAD] ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] pcib3: irq 52 at device 5.0 on pci0 pci3: on pcib3 em0: port 0xc000-0xc01f mem 0xfe200000-0xfe21ffff,0xfe220000-0xfe223fff irq 46 at device 0.0 on pci3 em0: Using an MSI interrupt em0: [FILTER] em0: Ethernet address: f4:6d:04:54:f5:52 pcib4: irq 54 at device 13.0 on pci0 pci4: on pcib4 em1: port 0xb000-0xb01f mem 0xfe1c0000-0xfe1dffff,0xfe100000-0xfe17ffff,0xfe1e0000-0xfe1e3fff irq 40 at device 0.0 on pci4 em1: Using MSIX interrupts with 3 vectors em1: [ITHREAD] em1: [ITHREAD] em1: [ITHREAD] em1: Ethernet address: 00:1b:21:c1:b5:39 ahci1: port 0xf040-0xf047,0xf030-0xf033,0xf020-0xf027,0xf010-0xf013,0xf000-0xf00f mem 0xfe407000-0xfe4073ff irq 19 at device 17.0 on pci0 ahci1: [ITHREAD] ahci1: AHCI v1.20 with 6 6Gbps ports, Port Multiplier supported ahcich2: at channel 0 on ahci1 ahcich2: [ITHREAD] ahcich3: at channel 1 on ahci1 ahcich3: [ITHREAD] ahcich4: at channel 2 on ahci1 ahcich4: [ITHREAD] ahcich5: at channel 3 on ahci1 ahcich5: [ITHREAD] ahcich6: at channel 4 on ahci1 ahcich6: [ITHREAD] ahcich7: at channel 5 on ahci1 ahcich7: [ITHREAD] ohci0: mem 0xfe406000-0xfe406fff irq 18 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xfe405000-0xfe4050ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 ohci1: mem 0xfe404000-0xfe404fff irq 20 at device 19.0 on pci0 ohci1: [ITHREAD] usbus2: on ohci1 ehci1: mem 0xfe403000-0xfe4030ff irq 21 at device 19.2 on pci0 ehci1: [ITHREAD] usbus3: EHCI version 1.0 usbus3: on ehci1 pci0: at device 20.0 (no driver attached) isab0: at device 20.3 on pci0 isa0: on isab0 pcib5: at device 20.4 on pci0 pci5: on pcib5 ohci2: mem 0xfe402000-0xfe402fff irq 18 at device 20.5 on pci0 ohci2: [ITHREAD] usbus4: on ohci2 ohci3: mem 0xfe401000-0xfe401fff irq 22 at device 22.0 on pci0 ohci3: [ITHREAD] usbus5: on ohci3 ehci2: mem 0xfe400000-0xfe4000ff irq 23 at device 22.2 on pci0 ehci2: [ITHREAD] usbus6: EHCI version 1.0 usbus6: on ehci2 acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 orm0: at iomem 0xc0000-0xcd7ff,0xcd800-0xce7ff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: cannot reserve I/O port range acpi_throttle0: on cpu0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_throttle2: on cpu2 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 acpi_throttle3: on cpu3 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 acpi_throttle4: on cpu4 acpi_throttle4: failed to attach P_CNT device_attach: acpi_throttle4 attach returned 6 acpi_throttle5: on cpu5 acpi_throttle5: failed to attach P_CNT device_attach: acpi_throttle5 attach returned 6 acpi_throttle6: on cpu6 acpi_throttle6: failed to attach P_CNT device_attach: acpi_throttle6 attach returned 6 acpi_throttle7: on cpu7 acpi_throttle7: failed to attach P_CNT device_attach: acpi_throttle7 attach returned 6 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 12Mbps Full Speed USB v1.0 usbus6: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 ada0 at ahcich2 bus 0 scbus2 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada1 at ahcich3 bus 0 scbus3 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) ada2 at ahcich4 bus 0 scbus4 target 0 lun 0 ada2: ATA-8 SATA 2.x device ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada2: Command Queueing enabled ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada3 at ahcich5 bus 0 scbus5 target 0 lun 0 ada3: ATA-8 SATA 2.x device ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada3: Command Queueing enabled ada3: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada4 at ahcich6 bus 0 scbus6 target 0 lun 0 ada4: ATA-8 SATA 2.x device ada4: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada4: Command Queueing enabled ada4: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) ada5 at ahcich7 bus 0 scbus7 target 0 lun 0 ada5: ATA-8 SATA 2.x device ada5: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada5: Command Queueing enabled ada5: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! uhub4: 2 ports with 2 removable, self powered uhub5: 4 ports with 4 removable, self powered uhub2: 5 ports with 5 removable, self powered uhub0: 5 ports with 5 removable, self powered Root mount waiting for: usbus6 usbus3 usbus1 uhub6: 4 ports with 4 removable, self powered uhub3: 5 ports with 5 removable, self powered uhub1: 5 ports with 5 removable, self powered Root mount waiting for: usbus1 Trying to mount root from ufs:/dev/gpt/disk0 ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ums0: on usbus0 ums0: 5 buttons and [XYZT] coordinates ID=26 ums0: 0 buttons and [T] coordinates ID=0 uhid0: on usbus0 ugen0.3: at usbus0 ukbd1: on usbus0 kbd3 at ukbd1 uhid1: on usbus0 ZFS filesystem version 5 ZFS storage pool version 28 ugen0.4: at usbus0 From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 16:15:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C34106564A for ; Sat, 31 Dec 2011 16:15:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id C73F48FC14 for ; Sat, 31 Dec 2011 16:15:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-26-82.dynamic.qsc.de [92.195.26.82]) by mx02.qsc.de (Postfix) with ESMTP id 2BE181DC45; Sat, 31 Dec 2011 17:15:39 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pBVGFc20002008; Sat, 31 Dec 2011 17:15:38 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 31 Dec 2011 17:15:38 +0100 From: Polytropon To: Warren Block Message-Id: <20111231171538.fd1156fb.freebsd@edvax.de> In-Reply-To: References: <211353632.20111231040344@yandex.ru> <20222.32401.326222.536203@jerusalem.litteratus.org> <1112244537.20111231112327@yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: =?UTF-8?Q?=D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2_=D0=95=D0=B2?=, =?UTF-8?Q?=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= , Robert Huff , freebsd-questions@freebsd.org Subject: Re: reduce partition size. HELP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 16:15:41 -0000 On Sat, 31 Dec 2011 08:45:32 -0700 (MST), Warren Block wrote: > On Sat, 31 Dec 2011, ??????? ??????? wrote: > > > ????????????, Robert. > > > > ?? ?????? 31 ??????? 2011 ?., 5:16:33: > > > > > > RH> =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: > > > >>> Is there any way to reduce partition size on live system? > > > > RH> No. > > RH> Basic steps: > > RH> 0) go to single-user; unmount partition > > RH> 1) backup affected partition; test backup > > RH> 2) delete old partition > > RH> 3) create new/smaller partition > > RH> 4) restore from backup > > > > is there a way to goto singe-user through ssh? > > Single-user and unmounted partitions are desirable but not required. > See dump(8) about the -L option. Of course. And in addition, how about that? NOT TESTED! READ *FULLY* BEFORE DOING ANYTHING! For this example, /dev/ad0s1a is the / partition. There are other partitions (such as /var or /home) associated to other device files. Let's also assume /dev/ad0s1e is the /var partition. Onto the /var partition (or /home or any scratch oartition), copy the content from / (primarily because of /sbin, /bin and maybe /etc); maybe use this approach: # cd /var # dump -0 -L -a -u -f - /dev/ad0s1a | restore -r -f - Make sure /var does _not_ contain directory names identical to those found on the / partition! As I said, maybe use /scratch. :-) (Oh, and you can of course shorten the dump parameters to -0Lauf and restore's to -rf, but I chose this representation for making implicitely clear why to use _those_ options.) Then umount / and mount /var (I'll keep this for the example) as the new / (which now has all the things / should have): # umount /var # umount -f / ; mount -t ufs /dev/ad0s1e / Then the device associated to / should be free to be unmounted - a step desirable, but it should be no a "big" problem to operate on the device files associated with a _mounted_ partition. The more I think about it... /var is a really bad choice. Use /scratch, or at least /home. AGAIN: NOT TESTED! MAY BLOWENFUSEN & CORKENPOPPEN! :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 18:57:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7514106564A for ; Sat, 31 Dec 2011 18:57:05 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtp.3dresearch.com (dorabella.3dresearch.com [66.167.251.2]) by mx1.freebsd.org (Postfix) with ESMTP id 919978FC18 for ; Sat, 31 Dec 2011 18:57:05 +0000 (UTC) Received: from fracasso.3dresearch.com (pool-96-236-238-95.pitbpa.east.verizon.net [96.236.238.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vmail.3dresearch.com (Postfix) with ESMTP id 1BB7484A95 for ; Sat, 31 Dec 2011 13:57:04 -0500 (EST) Received: from fracasso.3dresearch.com (localhost [127.0.0.1]) by fracasso.3dresearch.com (Postfix) with SMTP id 5C1F45CB0 for ; Sat, 31 Dec 2011 13:57:03 -0500 (EST) Date: Sat, 31 Dec 2011 13:56:33 -0500 From: Janos Dohanics To: FreeBSD Questions Message-Id: <20111231135633.02c92213.web@3dresearch.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: buildworld error 8.2-STABLE amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 18:57:06 -0000 Buildworld stopped with this error (with updated source): [...] cc "-O3" -DNEED_SOLARIS_BOOLEAN -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas -c /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/output.c cc "-O3" -DNEED_SOLARIS_BOOLEAN -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common -I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt -I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common -DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas -c /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c cc1: warnings being treated as errors /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c: In function 'tdefdecl': /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777: warning: 'width' may be used uninitialized in this function /usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777: note: 'width' was declared here *** Error code 1 Stop in /usr/src/cddl/usr.bin/ctfconvert. *** Error code 1 Stop in /usr/src/cddl/usr.bin. *** Error code 1 Stop in /usr/src/cddl. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have posted the build log at http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld Would you please advise? -- Janos Dohanics From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 19:59:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6525F106564A for ; Sat, 31 Dec 2011 19:59:22 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5C938FC0A for ; Sat, 31 Dec 2011 19:59:21 +0000 (UTC) Received: by eaaf13 with SMTP id f13so18988428eaa.13 for ; Sat, 31 Dec 2011 11:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PaH7oXapTx3lYMDRy0SPKG547kYkjKMoloAMuF9sz9M=; b=bx61VKJI+vC8snvhUuQvrLehA27hLlCYe7GgniqwL5I/aMF5/g3YpuiCGqrp5kkM2+ ZEK031zJ3u6x2yb6jCebDw1o7p729iX3TkguSKcqNc9Fa8mSNYoLETfh91WqOuSvCh64 bbg4cMVfoRa/mJbjAjhMNUFSI0BuRaGTuux5M= MIME-Version: 1.0 Received: by 10.204.133.212 with SMTP id g20mr10447797bkt.82.1325361560441; Sat, 31 Dec 2011 11:59:20 -0800 (PST) Received: by 10.204.130.27 with HTTP; Sat, 31 Dec 2011 11:59:20 -0800 (PST) In-Reply-To: <4EFF19A7.2060800@ose.nl> References: <201112302138.pBULcZfw076474@mail.r-bonomi.com> <4EFF19A7.2060800@ose.nl> Date: Sat, 31 Dec 2011 14:59:20 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 19:59:22 -0000 On Sat, Dec 31, 2011 at 9:18 AM, Bas Smeelen wrote: > On 12/31/2011 01:02 PM, Joe Gain wrote: > >> Writers who rely on ideological positions such as (socialism || fascism || >> jedi-knight == good | bad) really need to go visit a social science >> mailing >> list. It's not like political/ religious mailing lists don't exist. >> >> My positivist take on things: >> >> 1. Nobody is stopping anybody from changing their freebsd kernel. The same >> cannot be said of MS Windows. Documentation is an excuse. >> > FreeBSD is very well documented! > I guess a lot of people can't cope with how structured and professional it > is. They are used to chaos, fear, uncertainty and doubt and feel > comfortable that way. > > My experience is that FreeBSD kernel documentation is spotty and not really sufficient to understand the kernel. Without good documentation, code can take so much time to decipher it might be quicker to just throw it out and start from scratch. Maintainable code requires documentation. >> 2. FreeBsd is a main-stream O/S-- just look at the number of different >> architectures/applications which are supported by FreeBSD. >> > Main stream and top player for web and internet servers > > FreeBSD is far from being mainstream or practical for most users. I tried to use a USB video capture device. For you, what may be "useless" may be indespensible for others. We should improve FreeBSD to make it work for better for more people, experts and non-techies alike. I am really appalled at an attitude that some have against making it better, adding features and functionality that will make for a smoother experience, its as if they dont care about anyone else and want the OS to be useful to no one else. We need to make it better for everyone. >> 3. FreeBSD isn't even hard to use, if you only want to use it like 80% of >> computer users, to run your web browser, watch videos and listen to music. >> People who consider it difficult might like to remember their first >> experiences with learning windows. >> > > Windows is much easier to learn than learning FreeBSD. On windows usually getting hardware to work just involves putting in a driver disk and clicking install.On FreeBSD, it can be difficult to impossible for even expert users. Again, most people want to do more than just watch a video, there are devices such as USB capture devices that people do want to use, and a vast array of hardware such as scanners that do not work on FreeBSD. > 4. Drivers aren't really a limitation. Look at the history of computing, >> that modern O/S support such diverse platforms is an amazing development. >> As far as I'm concerned, FreeBSD supports main stream components, there >> are >> no classes of components that I'm aware of which aren't supported by >> FreeBSD. If you need to use a particular device, for which there is no >> driver, historically it's not unusual to find that on any particular >> platform a particular device is not supported. >> > It supports most things except the things you wouldn't want anyway > > Drivers are a huge limitation, the lack of them, Here I beleive you are just plain wrong. The fact is, people do not want to have to think about whether or not their hardware will work with an OS or fight the OS for days to make it work. Trhe truth is on Windows things really do just work. Ive set up Windows, I know this. Windows has other things however which make it undesirable to use. What I want to use is combine the things Windows has right with an open source, free OS. The way things are now does not make since, you can use Windows, and the hardwarw works, but its a closed platform. You can use FreeBSD, which has bad hardware support, but is an open platform. I want to see an open platforn that has great hardware support, even if we have to use binary drivers. > >> 5. Nobody is making anyone use FreeBSD. It's free. If you don't enjoy it, >> don't use it. Maybe remove yourself from the mailing list-- or don't, if >> you just want to stay informed. >> > If you don't like it, please leave, there are a lot of alternatives > > What you are saying here is that your idea is instead of FreeBSD being responsive to the needs of all users, you basically want to own the project and dont care about anyone else. > >> Normative takes: >> >> 6. Is FreeBSD better than windows? For me it is. For me it's stabler. What >> I remember from using windows, and what I'm aware of, from people around >> me >> who use windows is that over time, the system seems to degrade. This leads >> to really major actions such as re-installation every 6mths or so. And... >> > It is! > > >> 7. The temptation to install illegal software on MS Windows is very high. >> Who wants to pay for every little gimmicky app? Who can afford to pay for >> some major applications, which are needed for studying etc.? This often >> leads to an unstable system and security problems. The ports system in >> comparison is a much preferred "software/ application distribution system" >> because at least you get to look at the source code, if you want to. >> > Most windows users and professionals I know are plane thieves, it is just > easy for hem to get away with it. It's not my cup -o- joe and I refuse to > be like that, no illegal software for me. > > I completely agree here. Especially for people of low incomes and who are not wealthy, the cost of windows software can be a killer.also terrible is the closed source nature of it which means you have no idea what the software is doing on your computer. It all reeks of dishonesty. People who can afford it should make contributions to open source projects to help them proceed, however, I am not for heaping up huge costs on low income people, many of them students stuggling under immense debt. One gets the feeling that low income people are being made to suffer more because the way many software companies are, such as Apple, there is a high profit margin for the executives, even the programmers themselves recieve peanuts compared to what the executives of these companies recieve. >> 8. It's an individual choice. Depends what you use your computer for. >> maths/R is one of my favorite applications and it even runs on windows. >> > It's all about choice and I'd rather learn from history than repeat it > over and over > > >> May the force be with you! >> > Use the force Luke, read the source :) > > Reading the source alone is a poor way to try to understand the system, increased programmer productivity and development cycle can be acheived if source code is used along with documentation of the source code. this saves time. I know, ive tried reading FreeBSD source code. > > From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 20:32:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02F8F106566B for ; Sat, 31 Dec 2011 20:32:19 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 785518FC08 for ; Sat, 31 Dec 2011 20:32:18 +0000 (UTC) Received: by eaaf13 with SMTP id f13so19004223eaa.13 for ; Sat, 31 Dec 2011 12:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/QozcrkY9Sp4sLSItdPMHlnpA3hpSoMqE9Ka+2/bTCY=; b=BxOu42WvgLVTphEMSU9T3JjeFblFMrJA2bnxON7QzZEMc+l2YZfzYf8AEeJtP91QDw arDezau4PF+UZcq71G/K4SGCq8xzcJHySBbYLtxHJ7GjP7PdT495LvqdOyNIFEOOXkSe yvV7Si7F2J/472IhiI3TPVSKebBUgaamBzaCk= MIME-Version: 1.0 Received: by 10.204.153.216 with SMTP id l24mr10469539bkw.64.1325363537289; Sat, 31 Dec 2011 12:32:17 -0800 (PST) Received: by 10.204.130.27 with HTTP; Sat, 31 Dec 2011 12:32:17 -0800 (PST) In-Reply-To: References: <201112302138.pBULcZfw076474@mail.r-bonomi.com> <4EFF19A7.2060800@ose.nl> Date: Sat, 31 Dec 2011 15:32:17 -0500 Message-ID: From: David Jackson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 20:32:19 -0000 An OS should strive to be a better platform for many people, including techies and non-techies. A good software design philosophy is that good software works out of the box without configuration using reasonable defaults, but, that that the software should be flexible, very configurable, the user should be able to configure everything how they need it, but they should not be required to. This allows the user to configure as much or as little as they want. Everything should be able to be accomplished with both GUI and CLI, and API. The entire system should be well understood, well documented and transparent . Its like a car, its better to have a car that has a spacious engine compartment and is very well documented in service manuals so that a car mechanic can easily fix it. While not every user may want to get under the hood, a spacious, well documented and easy to fix space under the hood makes the mechanics job easier of fixing the car. The car being made more reliable and easier to use as well means that the common driver has fewer breakdowns. Windows is a terrible OS because its like a car with the entire engine area sealed in a compartment that can only be opened with the car manufacturer with a key, so mechanics cannot even repair it. There is no dount that UNIX is a better design system, due to the fact it is open and the underlying systems are well understood, well defined and well known, including due to the Unix philosophy of modularisation of components. I am in full agreement with Unix design philosophies and unix conventions. I definitely oppose any effort to re-invent Unix or break with unix conventionsand philosophies. It has been said that people who try to reinvent Unix will do so poorly. I agree. I am very much in favour of respecting Unix traditions, backwards compatability and conventions. For instance, supporting the X11 Window System i think is something that we should always commit to, it is important for compatability and for the flexibility it provides. I think tis okay to build additions to the system, but in addition, to the existing components, not to overthrow existing parts of the system. Backwards compatability is very important which is why it is important to respect conventions such as POSIX. I think that we can create a GUI front end built on top of the Unix system that helps manage and configure the underlying Unix system for non-techie users. This is layered design that gives us both the techie friendliness and controllability of Unix and a GUI front end over that for non-techies. No one should be required to use a GUI front end and should be able to directly edit configuration files if they want and use the rich CLI that FreeBSD has. This is a philosophy i like of allowing users to exercise as much or as little fine control over the system as they want. An OS can be both techie and non-techie friendly by create GUI layer that is built over the underlying Unix system where more common features are put up front in the GUI, and advanced configuration in advanced screens, and layering the GUI on top of other layers which can be directly accesssed by techie users if they need to do so. This is the layered design where the GUI can serve as a front end layer to the underlying Unix system components. The techie users can directly access these underlying components if needed. GUIs as well can serve and be useful to both techie and non techie users, advanced configuration settings can be placed in advanced screens and so forth. A good GUI does not come from having few features, good, useable software has lots of features and is very flexible. Features should never be withheld because users are viewed to be too stupid. Good GUI design comes from good layout and putting more advanced features deeper in the UI, so they are there if needed. I think that we should be pragmatic about binary drivers and that it better to accept and welcome binary drivers from hardware companies. Open source drivers should of course be developed, then users can use the open source drivers as they become available, but, until then, they can use the binary driver, or use a binary driver for more rare and unusual hardware. I do think that, hardware driver backwards compatability should be provided perhaps through a compatability layer that can be loaded into the kernel as a module, and perhaps could be a porting of the IOKit driver system from Darwin, perhaps even allowing Darwin drivers to be used on FreeBSD. All of this can go into a kernel module so that if all one uses is native FreeBSD drivers made for FreeBSDs normal driver API, they won't need to load this subsystem. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 21:45:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84DB71065670 for ; Sat, 31 Dec 2011 21:45:58 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from rc1.surewest.net (rc1.surewest.net [66.60.130.50]) by mx1.freebsd.org (Postfix) with ESMTP id 549A28FC08 for ; Sat, 31 Dec 2011 21:45:57 +0000 (UTC) Received: from smtp2.surewest.net ([66.60.130.145]) by rc1.surewest.net ({dfaaa318-551d-4a0a-8038-7c31cf31c4f6}) via TCP (outbound) with ESMTP id 20111231214107313 for ; Sat, 31 Dec 2011 21:41:07 +0000 X-RC-FROM: X-RC-RCPT: Received: from smtpauth.surewest.net (smtpauth.surewest.net [66.60.130.153]) by smtp2.surewest.net (Postfix) with ESMTP id F08B789724 for ; Sat, 31 Dec 2011 13:41:06 -0800 (PST) Received: from blacklamb.mykitchentable.net (unknown [69.62.230.77]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtpauth.surewest.net (Postfix) with ESMTPSA id 836FD8E53F for ; Sat, 31 Dec 2011 13:41:06 -0800 (PST) Received: from [127.0.0.1] (unknown [192.168.1.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTPSA id 59AF6165418 for ; Sat, 31 Dec 2011 13:41:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1325367666; bh=F5gYDXUzcMyuC3ZpcxWdyf97zMAi16wqB9ouEMLk6hA=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=pkNwtQLEcS0QupmB2HJOLkIYCxxjfgRNQw5ZW2Hh19Md4EdrRqNYJDSEAf5JKy3+g QZPep/iUpi9UMX4vRsTOqYL2s25XUlHOH1EnImiehJxR9hDVrMcv5SYVtlaQA3wJB+ B69Bjl/MfPr2vjPbdEwdFKxeTSeJaRrHzknquHkk= Message-ID: <4EFF816B.60705@mykitchentable.net> Date: Sat, 31 Dec 2011 13:40:59 -0800 From: Drew Tomlinson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 111231-1, 12/31/2011), Outbound message X-Antivirus-Status: Clean Subject: Help Recovering FBSD 8 ZFS System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 21:45:58 -0000 I have a FBSD 8 system that won't boot. Console messages suggest I lost my ad6 drive. When I created the system, built root on a zfs mirror and a raidz1 pool for data. I've managed to boot into an 8.2 Fixit shell and been able to mount root on /mnt/root. However my raidz1 pool (data) can't be imported. I'm *really* hoping there is some way to fix this. From the fixit shell, here is what I get when I run 'zpool import': # zpool import pool: data id: 10923029512613632741 state: UNAVAIL status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. see: http://www.sun.com/msg/ZFS-8000-EY config: data UNAVAIL insufficient replicas raidz1 UNAVAIL insufficient replicas gptid/1be11998-6c47-11de-ae82-001b21361de7 ONLINE ad6p4 UNAVAIL cannot open gptid/fc514567-6c46-11de-ae82-001b21361de7 ONLINE gptid/0f45dd02-6c47-11de-ae82-001b21361de7 UNAVAIL cannot open However I'm not exactly sure what this is telling me other than something "bad". I did capture this information when I upgraded to version 15: # 11/26/2010 - DLT # http://www.freebsddiary.org/zfs-upgrade.php # # After upgrading to zpool v 15 and learning about upgrading zfs file systems, # I decided to take a snapshot of disks. It's interesting in the zpool history # commands, it shows different physical disks than what are currently shown. # I don't know why. ad6: 715404MB at ata3-master UDMA100 SATA 3Gb/s ad10: 476940MB at ata5-master UDMA100 SATA 3Gb/s acd0: DVDR at ata6-master UDMA100 SATA 1.5Gb/s ad14: 476940MB at ata7-master UDMA100 SATA 3Gb/s ad16: 476940MB at ata8-master UDMA100 SATA 3Gb/s vm# zpool history data History for 'data': 2009-07-12.08:56:22 zpool create data raidz1 ad8p4 ad6p4 ad12p2 ad14p2 2009-07-12.08:57:37 zfs create data/usr 2009-07-12.08:57:41 zfs create data/var 2009-07-12.08:57:59 zfs create data/home 2009-07-12.09:00:46 zfs set mountpoint=none data 2009-07-12.09:19:27 zfs set mountpoint=/usr data/usr 2009-07-12.09:19:37 zfs set mountpoint=/home data/home 2009-07-12.09:19:46 zfs set mountpoint=/var data/var 2009-07-12.10:00:29 zpool import -f data 2009-07-12.10:19:52 zpool import -f data 2009-07-12.10:35:33 zpool import -f data 2009-07-12.11:34:30 zpool import -f data 2009-07-15.13:02:10 zpool import -f data 2009-07-15.13:24:10 zpool import -f data 2009-07-17.12:48:39 zpool import -f data 2009-07-17.12:49:49 zpool upgrade data 2009-07-17.13:17:44 zpool import -f data 2009-07-17.13:48:19 zpool export data 2009-07-17.13:48:24 zpool import data 2009-07-22.16:05:37 zfs create data/archive 2009-07-22.16:07:15 zfs set mountpoint=/archive data/archive 2009-07-24.23:18:18 zfs create -V 9G data/test 2009-07-24.23:35:54 zfs destroy data/test 2010-06-05.16:39:26 zpool upgrade data 2010-07-05.06:20:09 zpool import -f data 2010-07-05.06:27:09 zfs set mountpoint=/mnt data 2010-11-28.07:39:01 zpool upgrade -a From dmesg output, these are the drives as seen after booting to Fixit: ad6: 715404MB at ata3-master UDMA100 SATA 3Gb/s ad10: 476940MB at ata5-master UDMA100 SATA 3Gb/s ad14: 476940MB at ata7-master UDMA100 SATA 3Gb/s Thus it appears I am missing ad16 that I used to have. My data zpool was the bulk of my system with over 600 gig of files and things I'd like to have back. I thought that by creating a raidz1 I could avoid having to back up the huge drive and avoid this grief. However it appears I have lost 2 disks at the same time. :( Any thoughts before I just give up on recovering my data pool? And regarding my root pool, my system can't mount root and start. What do I need to do to boot from my degraded root pool. Here's the current status: # zpool status pool: root state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://www.sun.com/msg/ZFS-8000-2Q scrub: none requested config: NAME STATE READ WRITE CKSUM root DEGRADED 0 0 0 mirror DEGRADED 0 0 0 gptid/5b623854-6c46-11de-ae82-001b21361de7 ONLINE 0 0 0 12032653780322685599 UNAVAIL 0 0 0 was /dev/ad6p3 Do I just need to do a 'zpool detach root /dev/ad6p3' to remove it from the pool and get it to boot? And then once I replace the disk a 'zpool attach root ' to fix? Thanks for your time. Cheers, Drew -- Like card tricks? Visit The Alchemist's Warehouse to learn card magic secrets for free! http://alchemistswarehouse.com From owner-freebsd-questions@FreeBSD.ORG Sat Dec 31 23:07:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF4A2106564A for ; Sat, 31 Dec 2011 23:07:00 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 390A58FC0C for ; Sat, 31 Dec 2011 23:07:00 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id D3EA55C24 for ; Sun, 1 Jan 2012 09:19:26 +1000 (EST) Message-ID: <4EFF94CA.3050304@herveybayaustralia.com.au> Date: Sun, 01 Jan 2012 09:03:38 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201112302138.pBULcZfw076474@mail.r-bonomi.com> <4EFF19A7.2060800@ose.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Kernel Internals Documentation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 23:07:01 -0000 On 01/01/12 06:32, David Jackson wrote: > An OS should strive to be a better platform for many people, including > techies and non-techies. > > A good software design philosophy is that good software works out of the > box without configuration using reasonable defaults, but, that that the > software should be flexible, very configurable, the user should be able to > configure everything how they need it, but they should not be required to. > This allows the user to configure as much or as little as they want. > > Everything should be able to be accomplished with both GUI and CLI, and API. > > The entire system should be well understood, well documented and > transparent . Its like a car, its better to have a car that has a spacious > engine compartment and is very well documented in service manuals so that a > car mechanic can easily fix it. While not every user may want to get under > the hood, a spacious, well documented and easy to fix space under the hood > makes the mechanics job easier of fixing the car. The car being made more > reliable and easier to use as well means that the common driver has fewer > breakdowns. Windows is a terrible OS because its like a car with the entire > engine area sealed in a compartment that can only be opened with the car > manufacturer with a key, so mechanics cannot even repair it. > > There is no dount that UNIX is a better design system, due to the fact it > is open and the underlying systems are well understood, well defined and > well known, including due to the Unix philosophy of modularisation of > components. > > > I am in full agreement with Unix design philosophies and unix conventions. > I definitely oppose any effort to re-invent Unix or break with unix > conventionsand philosophies. It has been said that people who try to > reinvent Unix will do so poorly. I agree. I am very much in favour of > respecting Unix traditions, backwards compatability and conventions. For > instance, supporting the X11 Window System i think is something that we > should always commit to, it is important for compatability and for the > flexibility it provides. > > I think tis okay to build additions to the system, but in addition, to the > existing components, not to overthrow existing parts of the system. > > Backwards compatability is very important which is why it is important to > respect conventions such as POSIX. > > I think that we can create a GUI front end built on top of the Unix system > that helps manage and configure the underlying Unix system for non-techie > users. This is layered design that gives us both the techie friendliness > and controllability of Unix and a GUI front end over that for non-techies. > No one should be required to use a GUI front end and should be able to > directly edit configuration files if they want and use the rich CLI that > FreeBSD has. This is a philosophy i like of allowing users to exercise as > much or as little fine control over the system as they want. > > An OS can be both techie and non-techie friendly by create GUI layer that > is built over the underlying Unix system where more common features are put > up front in the GUI, and advanced configuration in advanced screens, and > layering the GUI on top of other layers which can be directly accesssed by > techie users if they need to do so. This is the layered design where the > GUI can serve as a front end layer to the underlying Unix system > components. The techie users can directly access these underlying > components if needed. > > GUIs as well can serve and be useful to both techie and non techie users, > advanced configuration settings can be placed in advanced screens and so > forth. > > A good GUI does not come from having few features, good, useable software > has lots of features and is very flexible. Features should never be > withheld because users are viewed to be too stupid. Good GUI design comes > from good layout and putting more advanced features deeper in the UI, so > they are there if needed. Ok. Stop there... have you ever _really_ considered what a gui should look like or how it should work? I agree with you that a gui should be available to use, but after considering _all_ the options available its near impossible, not to mention how many different systems you'd have to provide for. I've been trying to work this out for years, so believe me- I know. Also, talking about simplicity and working "out of the box", a lot of the software has been set by the great people maintaining the ports system, so when you install the software and set "service_enable='YES'" in the rc.conf it usually works, and you can then tweak as necessary. The closest "gui" I've seen would be web app under www/ in ports, supposedly used for ISP's to maintain servers simply in a CPanel-like interface. It looks good , but I'm not 100% happy with it as it relies a lot on database systems now owned by a rather greedy Corp intent on world domination it seems :). > I think that we should be pragmatic about binary drivers and that it better > to accept and welcome binary drivers from hardware companies. Open source > drivers should of course be developed, then users can use the open source > drivers as they become available, but, until then, they can use the binary > driver, or use a binary driver for more rare and unusual hardware. > > I do think that, hardware driver backwards compatability should be provided > perhaps through a compatability layer that can be loaded into the kernel as > a module, and perhaps could be a porting of the IOKit driver system from > Darwin, perhaps even allowing Darwin drivers to be used on FreeBSD. All of > this can go into a kernel module so that if all one uses is native FreeBSD > drivers made for FreeBSDs normal driver API, they won't need to load this > subsystem. Mac doesn't support all hardware from what I understand, and the only system with 100% hardware support is Winblows. Given the design philosophy of Winblows, how well written do you think the hardware drivers are coded? For that matter, how well do you think the hardware is made? From my meanderings on this list and others a lot of hardware needs software compensation for it to work as well as it does on FreeBSD and even linux. Been down that track too, and came up wanting as well. Sorry, but thats the fact. A better idea would be to donate hardware? help with testing, coding, docs (whatever you can do)? donate money to the foundation to help pay for the developers to write the code necessary to get your hardware working. And if you aren't satisfied that the money is going to where you need it, then hunt down a programmer and pay them to write the driver for you, and submit it to the FreeBSD Team to commit or put in ports. Not exactly what you're hoping for I know, but thats the facts, and I can sympathise with you as I'm in the same boat. I'm still trying to crack driver building myself :)