From owner-freebsd-stable@FreeBSD.ORG Sun Nov 18 09:49:33 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1275559 for ; Sun, 18 Nov 2012 09:49:33 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-5.eutelia.it [62.94.10.165]) by mx1.freebsd.org (Postfix) with ESMTP id 81C928FC08 for ; Sun, 18 Nov 2012 09:49:32 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id AF3EB14A554 for ; Sun, 18 Nov 2012 10:49:30 +0100 (CET) Received: from soth.ventu (adsl-ull-234-152.41-151.net24.it [151.41.152.234]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qAI9nQHS009013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sun, 18 Nov 2012 10:49:27 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.5) with ESMTP id qAI9nHqU073328; Sun, 18 Nov 2012 10:49:17 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50A8AF1D.7080008@netfence.it> Date: Sun, 18 Nov 2012 10:49:17 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: confirm that csup is still usable fos the new 9.1 References: <50A7DEE7.8090802@netfence.it> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Sun, 18 Nov 2012 10:49:27 +0100 (CET) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 09:49:33 -0000 On 11/17/12 21:04, Kevin Oberman wrote: >> Looks like everything is back up again. >> Thanks for the good work. > > Yes, but don't bet that csup and cvs will be around long. I'm aware of this and I'm (adimttedly slowly) moving away from csup. > The outage > was the result of an intrusion into core FreeBSD systems. Please read > the posting at http://www.freebsd.org/news/2012-compromise.html. Read that. > It's > really time to get away from CVS and I suspect it will be going away > sooner than had been planned. I notice that no response has confirmed > whether it will be available for 9.1, probably because the security > team is still evaluating the situation. Simply out of curiosity, I wonder why csup/cvsup/cvs are less secure than alternatives, say SVN. Why would this compromise be impossible without cvs? Any link on this? bye & Thanks av. From owner-freebsd-stable@FreeBSD.ORG Sun Nov 18 13:38:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57CBD7AB for ; Sun, 18 Nov 2012 13:38:15 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D028D8FC17 for ; Sun, 18 Nov 2012 13:38:14 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so849002bkc.13 for ; Sun, 18 Nov 2012 05:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3Cao/RFi/Uo+YrJvwMyMXoNNrdsr5XIF/hv2CxNXShY=; b=r5f+5gdh6xUUBpPe5qTq+OsQmzxGVQloBegbPE8AVr6kfrxKP/OzDBK91fBlTM/2Bz 3asnBDulUDGGlpLU4gWwSNRgLAnWf2V5uprgkYxm/WCxG8Ckkl5M2moSp+Zvqt5NeTUp LCIFAhA8DhWspf2tLH/kHcGuBAvLggLw6sWGD2aCOccEs3iGEUR3RjTBXin//s1kF+Sm rxUQ+ffY+GStBq24aW2MgtAbz4kRSrtxlUqjcDbK2g264yzckjFPL4tZf5eLlxh/bRpH PQhQA7T+pILGEChE/+Widaa2vj4M7AjQFpm6pWff93ricG65OWeFTzic9pPlhp682//R +/dg== MIME-Version: 1.0 Received: by 10.204.147.212 with SMTP id m20mr3839113bkv.103.1353245893253; Sun, 18 Nov 2012 05:38:13 -0800 (PST) Received: by 10.204.50.197 with HTTP; Sun, 18 Nov 2012 05:38:13 -0800 (PST) Received: by 10.204.50.197 with HTTP; Sun, 18 Nov 2012 05:38:13 -0800 (PST) In-Reply-To: <50A8AF1D.7080008@netfence.it> References: <50A7DEE7.8090802@netfence.it> <50A8AF1D.7080008@netfence.it> Date: Sun, 18 Nov 2012 13:38:13 +0000 Message-ID: Subject: Re: confirm that csup is still usable fos the new 9.1 From: Chris Rees To: Andrea Venturoli Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 13:38:15 -0000 On 18 Nov 2012 09:49, "Andrea Venturoli" wrote: > > On 11/17/12 21:04, Kevin Oberman wrote: > >>> Looks like everything is back up again. >>> Thanks for the good work. >> >> >> Yes, but don't bet that csup and cvs will be around long. > > > I'm aware of this and I'm (adimttedly slowly) moving away from csup. > > > > >> The outage >> was the result of an intrusion into core FreeBSD systems. Please read >> the posting at http://www.freebsd.org/news/2012-compromise.html. > > > Read that. > > > > >> It's >> really time to get away from CVS and I suspect it will be going away >> sooner than had been planned. I notice that no response has confirmed >> whether it will be available for 9.1, probably because the security >> team is still evaluating the situation. > > > Simply out of curiosity, I wonder why csup/cvsup/cvs are less secure than alternatives, say SVN. > Why would this compromise be impossible without cvs? > Any link on this? Not impossible, but because of the way cvs mirrors are propagated any tampering is also synced. Subversion propagation only pulls commits, which is why it's faster and also tampering in the history is not propagated. Chris From owner-freebsd-stable@FreeBSD.ORG Sun Nov 18 19:43:07 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E03EA2A5 for ; Sun, 18 Nov 2012 19:43:07 +0000 (UTC) (envelope-from anonymous@iworx2.pusula.net.tr) Received: from iworx2.pusula.net.tr (iworx2.pusula.net.tr [77.79.81.240]) by mx1.freebsd.org (Postfix) with ESMTP id 5F3E98FC15 for ; Sun, 18 Nov 2012 19:43:06 +0000 (UTC) Received: (qmail 5687 invoked by uid 545); 18 Nov 2012 21:43:00 +0200 Date: 18 Nov 2012 21:43:00 +0200 Message-ID: <20121118194300.5685.qmail@iworx2.pusula.net.tr> To: stable@freebsd.org Subject: online statement From: ANZ Bank MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 19:43:07 -0000 A new statement is available. To view, click on the [1]"ACCOUNTS" tab and then click on [2]"Statements" to verify your transaction. References 1. http://mmcl.com.kh/images/bavet/www.anz.com/nz/inetbanking/bankmain.html 2. http://www.meridiangroup.kz/language/www.anz.com/nz/inetbanking/bankmain.html From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 13:26:02 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 883403FB for ; Mon, 19 Nov 2012 13:26:02 +0000 (UTC) (envelope-from peter@pean.org) Received: from lyra.its.uu.se (lyra.its.uu.se [130.238.7.73]) by mx1.freebsd.org (Postfix) with ESMTP id 157938FC08 for ; Mon, 19 Nov 2012 13:26:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at uu.se Received: from nyx.uppmax.uu.se (nyx.uppmax.uu.se [130.238.137.40]) by lyra.its.uu.se (Postfix) with ESMTP id BAFA7393B1 for ; Mon, 19 Nov 2012 14:17:01 +0100 (CET) Message-ID: <50AA314E.2090806@pean.org> Date: Mon, 19 Nov 2012 14:17:02 +0100 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121030 Thunderbird/10.0.10 MIME-Version: 1.0 To: freebsd-stable@FreeBSD.org Subject: Poor iSCSI performance with istgt. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 13:26:02 -0000 Hi! Im using two FreeBSD machines trying to get iSCSI to work and it works allright, but extremley slow. It peaks at about 50MB/s if I have multiple dd's runningt against the target. I have two separate networks but I get no difference in speed whichever I use. One regular 1G network connected to the same switch with Intel cards. I get close to maximum performance with both ftp and iperf. The other network is a IPoverIB network where I get 560MB/s with iperf and 250MB/s with ftp.. (hmm). Both machines run FreeBSD 9.1-PRE with OFED enabled: FreeBSD zfs1 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Tue Oct 16 16:07:39 CEST 2012 peter@zfs1:/usr/obj/usr/src/sys/OFED amd64 Im only fiddeling with writes right now and like I said I get about 50MB/s with multiple dds running, around 30 with a single thread. (dd if=/dev/zero of=/dev/daX bs=1M count=n) Writing to local disk at the target gives me like 300MB/s I have also been experimenting with different burst lengths, queue depths and so no with no noticeable difference. I have also tried iozone and dd on both ZFS and UFS, similar results, 40MB/s and peaks at 50MB/s. So I figure it has to have something to do with my iscsi setup. istgt.conf: ------------------------------------------------ [Global] Comment "Global section" NodeBase "dc3" PidFile /var/run/istgt.pid AuthFile /usr/local/etc/istgt/auth.conf LogFacility "local7" Timeout 30 NopInInterval 20 DiscoveryAuthGroup AuthGroup9999 MaxSessions 16 MaxConnections 4 FirstBurstLength 262144 MaxBurstLength 1048576 MaxRecvDataSegmentLength 262144 [UnitControl] Comment "Internal Logical Unit Controller" AuthMethod CHAP Mutual AuthGroup AuthGroup10000 Portal UC1 127.0.0.1:3261 Netmask 127.0.0.1 [PortalGroup1] Comment "T1 portal" Portal DA1 ip:3260 [InitiatorGroup1] Comment "V1 group" InitiatorName "dc1" Netmask ip/24 [LogicalUnit1] TargetName V1 Mapping PortalGroup1 InitiatorGroup1 AuthGroup AuthGroup1 UseDigest Auto UnitType Disk QueueDepth 64 LUN0 Storage /dev/zvol/store/v1 Auto ------------------------------------------------ iscsi.conf ------------------------------------------------ dc3 { authmethod = CHAP chapIName = id chapSecret = pass Initiatorname = dc1 TargetName = dc3:V1 TargetAddress = ip:3260,1 MaxConnections = 4 } ------------------------------------------------ From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 14:26:26 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98329CDB for ; Mon, 19 Nov 2012 14:26:26 +0000 (UTC) (envelope-from peter@pean.org) Received: from velox.its.uu.se (velox.its.uu.se [130.238.7.74]) by mx1.freebsd.org (Postfix) with ESMTP id 506F98FC15 for ; Mon, 19 Nov 2012 14:26:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at uu.se Received: from nyx.uppmax.uu.se (nyx.uppmax.uu.se [130.238.137.40]) by velox.its.uu.se (Postfix) with ESMTP id 75B2234FAD; Mon, 19 Nov 2012 15:18:52 +0100 (CET) Message-ID: <50AA3FCD.7030808@pean.org> Date: Mon, 19 Nov 2012 15:18:53 +0100 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121030 Thunderbird/10.0.10 MIME-Version: 1.0 To: Daniel Braniss , freebsd-stable@FreeBSD.org Subject: Re: Poor iSCSI performance with istgt. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 14:26:26 -0000 On 11/19/2012 02:48 PM, Daniel Braniss wrote: > try increasing the tag opening - see camcontrol(8) > > danny > > > I tried camcontrol tags daX -N 32 (and a few different values) but cant see any change in speeds. (pass25:iscsi0:0:0:0): dev_openings 30 (pass25:iscsi0:0:0:0): dev_active 2 (pass25:iscsi0:0:0:0): devq_openings 30 (pass25:iscsi0:0:0:0): devq_queued 0 (pass25:iscsi0:0:0:0): held 0 (pass25:iscsi0:0:0:0): mintags 2 (pass25:iscsi0:0:0:0): maxtags 255 From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 15:05:53 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A95586E6 for ; Mon, 19 Nov 2012 15:05:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 54FF58FC15 for ; Mon, 19 Nov 2012 15:05:53 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1TaSuu-0007V2-TQ; Mon, 19 Nov 2012 17:05:45 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= Subject: Re: Poor iSCSI performance with istgt. In-reply-to: <50AA3FCD.7030808@pean.org> References: <50AA3FCD.7030808@pean.org> Comments: In-reply-to =?ISO-8859-1?Q?Peter_Ankerst=E5l?= message dated "Mon, 19 Nov 2012 15:18:53 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Nov 2012 17:05:44 +0200 From: Daniel Braniss Message-ID: Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 15:05:53 -0000 > > On 11/19/2012 02:48 PM, Daniel Braniss wrote: > > try increasing the tag opening - see camcontrol(8) > > > > danny > > > > > > > I tried camcontrol tags daX -N 32 (and a few different values) but cant > see any change in speeds. > > (pass25:iscsi0:0:0:0): dev_openings 30 > (pass25:iscsi0:0:0:0): dev_active 2 > (pass25:iscsi0:0:0:0): devq_openings 30 > (pass25:iscsi0:0:0:0): devq_queued 0 > (pass25:iscsi0:0:0:0): held 0 > (pass25:iscsi0:0:0:0): mintags 2 > (pass25:iscsi0:0:0:0): maxtags 255 I think there is some magic to allow istgt to do tagging, but at the moment can't find it, sorry. danny From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 16:28:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94BB5AE9 for ; Mon, 19 Nov 2012 16:28:18 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [204.127.217.105]) by mx1.freebsd.org (Postfix) with ESMTP id 7AB2B8FC12 for ; Mon, 19 Nov 2012 16:28:18 +0000 (UTC) Received: from ace.nina.org (adsl-98-70-38-239.gnv.bellsouth.net[98.70.38.239]) by isp.att.net (frfwmhc05) with SMTP id <20121119162811H05008q8jbe>; Mon, 19 Nov 2012 16:28:11 +0000 X-Originating-IP: [98.70.38.239] Date: Mon, 19 Nov 2012 11:28:10 -0500 (EST) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: freebsd-stable@freebsd.org Subject: Node conflicts in SVN 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-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 16:28:18 -0000 I run a nightly ports tree update and I have been getting the following errors the last couple of days. I haven't seen this asked before so is this just me or is anyone else seeing this? Have I fat-fingered something? Updating '/usr/ports': Skipped '/usr/ports/astro' -- Node remains in conflict Skipped '/usr/ports/devel' -- Node remains in conflict Skipped '/usr/ports/sysutils' -- Node remains in conflict Skipped '/usr/ports/audio' -- Node remains in conflict Skipped '/usr/ports/textproc' -- Node remains in conflict Skipped '/usr/ports/x11-fm' -- Node remains in conflict Skipped '/usr/ports/MOVED' -- Node remains in conflict Skipped '/usr/ports/games' -- Node remains in conflict Skipped '/usr/ports/mail' -- Node remains in conflict Skipped '/usr/ports/net' -- Node remains in conflict Skipped '/usr/ports/multimedia' -- Node remains in conflict At revision 307524. Summary of conflicts: Skipped paths: 11 Thanks, Frank From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 17:04:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FB3D6A6 for ; Mon, 19 Nov 2012 17:04:06 +0000 (UTC) (envelope-from markus.gebert@hostpoint.ch) Received: from mail.adm.hostpoint.ch (mail.adm.hostpoint.ch [IPv6:2a00:d70:0:a::e0]) by mx1.freebsd.org (Postfix) with ESMTP id F2D6B8FC0C for ; Mon, 19 Nov 2012 17:04:05 +0000 (UTC) Received: from [2001:1620:2013:1:acf3:9ba1:5b14:72da] (port=59755) by mail.adm.hostpoint.ch with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1TaUkx-0005qB-OW; Mon, 19 Nov 2012 18:03:35 +0100 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: thread taskq / unp_gc() using 100% cpu and stalling unix socket IPC From: Markus Gebert In-Reply-To: <6F156867-5334-489E-AC92-BD385B0DBC2F@hostpoint.ch> Date: Mon, 19 Nov 2012 18:03:28 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <541DECD9-43C7-49EE-BCD2-4FE71753B6F7@hostpoint.ch> References: <6908B498-6978-4995-B081-8D504ECB5C0A@hostpoint.ch> <007F7A73-75F6-48A6-9C01-E7C179CDA48A@hostpoint.ch> <20121114072112.GX73505@kib.kiev.ua> <6F156867-5334-489E-AC92-BD385B0DBC2F@hostpoint.ch> To: Konstantin Belousov X-Mailer: Apple Mail (2.1499) Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 17:04:06 -0000 On 14.11.2012, at 11:50, Markus Gebert = wrote: > On 14.11.2012, at 08:21, Konstantin Belousov = wrote: >=20 >> On Wed, Nov 14, 2012 at 01:41:04AM +0100, Markus Gebert wrote: >>>=20 >>> On 13.11.2012, at 19:30, Markus Gebert = wrote: >>>=20 >>>> To me it looks like the unix socket GC is triggered way too often = and/or running too long, which uses cpu and worse, causes a lot of = contention around the unp_list_lock which in turn causes delays for all = processes relaying on unix sockets for IPC. >>>>=20 >>>> I don't know why the unp_gc() is called so often and what's = triggering this. >>>=20 >>> I have a guess now. Dovecot and relayd both use unix sockets = heavily. According to dtrace uipc_detach() gets called quite often by = dovecot closing unix sockets. Each time uipc_detach() is called = unp_gc_task is taskqueue_enqueue()d if fds are inflight. >>>=20 >>> in uipc_detach(): >>> 682 if (local_unp_rights)=09 >>> 683 taskqueue_enqueue(taskqueue_thread, = &unp_gc_task); >>>=20 >>> We use relayd in a way that keeps the source address of the client = when connecting to the backend server (transparent load balancing). This = requires IP_BINDANY on the socket which cannot be set by unprivileged = processes, so relayd sends the socket fd to the parent process just to = set the socket option and send it back. This means an fd gets = transferred twice for every new backend connection. >>>=20 >>> So we have dovecot calling uipc_detach() often and relayd making it = likely that fds are inflight (unp_rights > 0). With a certain amount of = load this could cause unp_gc_task to be added to the thread taskq too = often, slowing everything unix socket related down by holding global = locks in unp_gc(). >>>=20 >>> I don't know if the slowdown can even cause a negative feedback loop = at some point by inreasing the chance of fds being inflight. This would = explain why sometimes the condition goes away by itself and sometimes = requires intervention (taking load away for a moment). >>>=20 >>> I'll look into a way to (dis)prove all this tomorrow. Ideas still = welcome :-). >>>=20 >>=20 >> If the only issue is indeed too aggressive scheduling of the = taskqueue, >> than the postpone up to the next tick could do it. The patch below >> tries to schedule the taskqueue for gc to the next tick if it is not = yet >> scheduled. Could you try it ? >=20 > Sounds like a good idea, thanks! I'm testing the patch right now. It = could take a few days to know it works for sure. I'll get back to you = soon. We haven't had any problems since I booted the patched kernel. So the = assumption that the gc gets scheduled too often in that situation seems = correct. I realize we're creating an edge case with relayd passing around so many = fds. On the other hand, I think the patch makes the unix socket code = more robust without hurting anyone. So do you see any chance to get it = commited? Markus From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 17:44:51 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09E11114 for ; Mon, 19 Nov 2012 17:44:51 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 680CD8FC0C for ; Mon, 19 Nov 2012 17:44:50 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so4841272lah.13 for ; Mon, 19 Nov 2012 09:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=okxJnoL6aVFSB+57aMhdef/9Oza50f2YclzsU4noqQA=; b=n9xockrRljR91HLr72fuBFiGflBEU0woQO29/HI87teAR+37To411u2+6z9ix6sKix vaDxfAln69hxpCEq5Lc3Fyoa9Pbc6V1mOD+06tRhJtUwm9TZW2xH6x5nod13AwSVmV0v /4yls63eXVaexyHo7mtXud4ti4ZVeQ+2fVK/k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=okxJnoL6aVFSB+57aMhdef/9Oza50f2YclzsU4noqQA=; b=SUNgexWP3v3RMPJGDPIZbEB9AYR4R/R7GntxFpBITJoHI4D0DThCzEozQq7NXW9JuU HVgybS4PBtOXhrPMhHFiguIvRPl/XQSc1zdK8AuUb9uf0pBpCAHq93ytSQAIvOMYfW/P MjSVqGqvHjRA/qIu2CbxU4Ak4POpZicX+JcBdH2oLUn/LPC9QRKYZTSEB5wByvwK6GCX AIC/5EfM3bo8DeAnBd6YFyvoujQQwllSf/o26pem3pWJmi4CgYq/uqGG+luT/ZSCidjb 7gVuIbdc6DP5WIlsoKGWjNh3Yn4VP19Wc5iKrhAphSZoxeWqt3lsf2lDBKiMcNfdFk0K hP3g== Received: by 10.112.10.232 with SMTP id l8mr611910lbb.69.1353347089092; Mon, 19 Nov 2012 09:44:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Mon, 19 Nov 2012 09:44:18 -0800 (PST) From: Eitan Adler Date: Mon, 19 Nov 2012 12:44:18 -0500 Message-ID: Subject: Help review the FAQ To: freebsd-stable Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQn2TMPHCEbEAC6ME+qWkB8VdB+pM+Csq3UUFbv6S7vKD3ROID+yLvqzD+NPv3FjZavmEpIy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 17:44:51 -0000 Hey all, The FAQ for FreeBSD needs a significant amount of updating and changing. The first step in that process is to figure out what needs to be changed. If you can a take a moment and thoroughly review just one question and add your comments and concerns it would be immensely helpful. http://wiki.freebsd.org/ThwackAFAQ -- Eitan Adler From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 18:47:10 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF30ED8A for ; Mon, 19 Nov 2012 18:47:10 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 52B438FC14 for ; Mon, 19 Nov 2012 18:47:10 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so707807eaa.13 for ; Mon, 19 Nov 2012 10:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YDGxVoFJLRASMX3oLCjSeXQCklGxuovc1oBUEMa4EzY=; b=ObMYNIoLXGMBz5KaD5FNO2GL3MWgPEZ1bx84weoFHWASY/xwtrnG+TMEkoHAPnjfHk SuWIX2noSSHxfYNxDokMfq2iAwuzi+XRNT0dptW2uXo9eIP/59Z/2A4dQLPTI1eFrRGo AtQMVnURrP8hZQ5kj2PyzqGSI8HXGqzJKE7czIiPIfyYAl4xTpkKnn/usJYcQ47UFc+0 WGY/pHmRXTvZvlo8CGE6DYqa3j6MvSctOhj+pUNUNUKPV/gP4AFnqr1gCYJxD4o3cLrm 9Od0+gFg/rhUS23fBq3+O+huPIG0YQY7vOxBKvmjyRBS0hLdqrfXkvzr4ACuJgS10Sli QaUA== MIME-Version: 1.0 Received: by 10.14.176.68 with SMTP id a44mr26738383eem.1.1353350829164; Mon, 19 Nov 2012 10:47:09 -0800 (PST) Received: by 10.223.71.199 with HTTP; Mon, 19 Nov 2012 10:47:09 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Nov 2012 10:47:09 -0800 Message-ID: Subject: Re: Node conflicts in SVN From: Kevin Oberman To: Frank Seltzer Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 18:47:11 -0000 On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer wrote: > I run a nightly ports tree update and I have been getting the following > errors the last couple of days. I haven't seen this asked before so is this > just me or is anyone else seeing this? Have I fat-fingered something? > > Updating '/usr/ports': > Skipped '/usr/ports/astro' -- Node remains in conflict > Skipped '/usr/ports/devel' -- Node remains in conflict > Skipped '/usr/ports/sysutils' -- Node remains in conflict > Skipped '/usr/ports/audio' -- Node remains in conflict > Skipped '/usr/ports/textproc' -- Node remains in conflict > Skipped '/usr/ports/x11-fm' -- Node remains in conflict > Skipped '/usr/ports/MOVED' -- Node remains in conflict > Skipped '/usr/ports/games' -- Node remains in conflict > Skipped '/usr/ports/mail' -- Node remains in conflict > Skipped '/usr/ports/net' -- Node remains in conflict > Skipped '/usr/ports/multimedia' -- Node remains in conflict > At revision 307524. > Summary of conflicts: > Skipped paths: 11 This usually indicates non-SVN updates to these items. If you have not modified them intentionally, just 'rm -r' them and 'snv up /usr/ports' again. I hit this after switch to svn when a cron job did a csup of ports. Oops! -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 18:52:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE71EFB6 for ; Mon, 19 Nov 2012 18:52:15 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 972678FC15 for ; Mon, 19 Nov 2012 18:52:15 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo13so7101524vcb.13 for ; Mon, 19 Nov 2012 10:52:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zkX4pdlNZSigT0qVRrZqVPBs4SoCEIeuRONlylqSMJo=; b=ldx3A5NdBQs1gKzkqVQO32NyciPMt1V3ub0myONcicTH5aT3MP26OIq5NUyu2zkcNe cxqH38d6+hff/V12uzUhZ88fdUFfTtE9RGimCVXHAg/TIMPa/ZN0XI5lkXpb11+bQ5C/ c3B5uTsD98b5Z2ET0NjdBn4EY2LPfyIqvohFUCOI9PdcN0pAvH4j2m+aLENN/gz0SWS5 SIfMPvCeY2Oxh40rpQBGCTJx5uUM6Hde5aUqx+LHs+5zy4D2+gwMmtZPcV9XXztsAq84 7O9SrYO9YOxYMLy4Hmkx44jf8spxFJjugzvAAFe1EOOKk0PsRZmvpVYCwDGtGwrPKpiC mNOQ== MIME-Version: 1.0 Received: by 10.58.162.130 with SMTP id ya2mr18652064veb.2.1353351134801; Mon, 19 Nov 2012 10:52:14 -0800 (PST) Received: by 10.58.218.35 with HTTP; Mon, 19 Nov 2012 10:52:14 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Nov 2012 10:52:14 -0800 Message-ID: Subject: Re: Help review the FAQ From: Mehmet Erol Sanliturk To: Eitan Adler Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 18:52:16 -0000 On Mon, Nov 19, 2012 at 9:44 AM, Eitan Adler wrote: > Hey all, > > The FAQ for FreeBSD needs a significant amount of updating and > changing. The first step in that process is to figure out what needs > to be changed. > > If you can a take a moment and thoroughly review just one > question and add your comments and concerns it > would be immensely helpful. > > http://wiki.freebsd.org/ThwackAFAQ > > -- > Eitan Adler > The following points may be inspected : 4.4.1. What kind of hard drives does FreeBSD support? Requires complete rewrite . 4.4.5. Which CD-ROM drives are supported by FreeBSD? 4.4.6. Which CD-RW drives are supported by FreeBSD? SATA devices ? DVD RW ? Blue-Ray RW ? burncd is not used any more . 6.3. Where can I get CDE for FreeBSD? CDE become open source ( LGPL ). http://en.wikipedia.org/wiki/Common_Desktop_Environment http://cdesktopenv.org/ http://sourceforge.net/projects/cdesktopenv/ 9.2. How do I move my system over to my huge new disk? 9.3. Will a "dangerously dedicated" disk endanger my health? 9.6. Why can I not edit the disk label on my ccd(4)? Requires some rewrite with respect do bsdinstall , because sysinstall is not used any more in new distributions . 11.7. What is a virtual console and how do I make more? 11.8. How do I access the virtual consoles from X? Application with KMS effects ? Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 19:04:04 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C7064B3 for ; Mon, 19 Nov 2012 19:04:04 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 07EF48FC12 for ; Mon, 19 Nov 2012 19:04:03 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo13so7119677vcb.13 for ; Mon, 19 Nov 2012 11:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mgs5OVP9eed6pDEbbdO4xkMyvFxc/bzYbaYzkojJzIA=; b=P5Gztjyn3elrl+52ayaeCH8d6UQtjUA4cB0FSZXXTB/UIAnNRdLFhAhSDpm/LhB4Gu HpPdZjcEqRzbH6uxIpmAOAaoEqK6Zf8kX/POuhIJ7EqbLwzXUHIxRb3QBfqLTyomsk2d crAPCaHL4Bwm/LEpW7LHxfQE6lQ1F5SW/DNbRmk5YEjOg5rN9GqBA8VYg13EOMW8grMV sjeMvD+7pj2ncFvFtMNtn5oreeOJg00+9QgosLdn4BMDp8o4zSy1heBpR3MBs+bOdtCA o/uTh5qAvyc6FAECjlGHRKWnvKdp1+WrOSAAFDz/BYI1EmimzPJsM9sPgi5+74VtIZOF O9kg== MIME-Version: 1.0 Received: by 10.52.98.196 with SMTP id ek4mr17988474vdb.38.1353351843340; Mon, 19 Nov 2012 11:04:03 -0800 (PST) Received: by 10.58.218.35 with HTTP; Mon, 19 Nov 2012 11:04:03 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Nov 2012 11:04:03 -0800 Message-ID: Subject: Re: Help review the FAQ From: Mehmet Erol Sanliturk To: Eitan Adler Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 19:04:04 -0000 On Mon, Nov 19, 2012 at 9:44 AM, Eitan Adler wrote: > Hey all, > > The FAQ for FreeBSD needs a significant amount of updating and > changing. The first step in that process is to figure out what needs > to be changed. > > If you can a take a moment and thoroughly review just one > question and add your comments and concerns it > would be immensely helpful. > > http://wiki.freebsd.org/ThwackAFAQ > > -- > Eitan Adler > Bibliography http://www.amazon.com/Complete-FreeBSD-Documentation-Source/dp/0596005164/ref=sr_1_1?s=books&ie=UTF8&qid=1353351576&sr=1-1&keywords=The+Complete+FreeBSD The Complete FreeBSD: Documentation from the Source Product Details Paperback: 714 pages Publisher: O'Reilly Media; 4th edition (May 6, 2003) Language: English ISBN-10: 0596005164 ISBN-13: 978-0596005160 Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 19:37:04 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B937DAA for ; Mon, 19 Nov 2012 19:37:04 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost01.isp.att.net (fmailhost01.isp.att.net [207.115.11.51]) by mx1.freebsd.org (Postfix) with ESMTP id 3A1178FC18 for ; Mon, 19 Nov 2012 19:37:03 +0000 (UTC) Received: from ace.nina.org (adsl-98-70-38-239.gnv.bellsouth.net[98.70.38.239]) by isp.att.net (frfwmhc01) with SMTP id <20121119193701H0100irt5oe>; Mon, 19 Nov 2012 19:37:02 +0000 X-Originating-IP: [98.70.38.239] Date: Mon, 19 Nov 2012 14:37:00 -0500 (EST) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: Kevin Oberman Subject: Re: Node conflicts in SVN 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 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 19:37:04 -0000 On Mon, 19 Nov 2012, Kevin Oberman wrote: > On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer wrote: >> I run a nightly ports tree update and I have been getting the following >> errors the last couple of days. I haven't seen this asked before so is this >> just me or is anyone else seeing this? Have I fat-fingered something? >> >> Updating '/usr/ports': >> Skipped '/usr/ports/astro' -- Node remains in conflict >> Skipped '/usr/ports/devel' -- Node remains in conflict >> Skipped '/usr/ports/sysutils' -- Node remains in conflict >> Skipped '/usr/ports/audio' -- Node remains in conflict >> Skipped '/usr/ports/textproc' -- Node remains in conflict >> Skipped '/usr/ports/x11-fm' -- Node remains in conflict >> Skipped '/usr/ports/MOVED' -- Node remains in conflict >> Skipped '/usr/ports/games' -- Node remains in conflict >> Skipped '/usr/ports/mail' -- Node remains in conflict >> Skipped '/usr/ports/net' -- Node remains in conflict >> Skipped '/usr/ports/multimedia' -- Node remains in conflict >> At revision 307524. >> Summary of conflicts: >> Skipped paths: 11 > > This usually indicates non-SVN updates to these items. If you have not > modified them intentionally, just 'rm -r' them and 'snv up /usr/ports' > again. I hit this after switch to svn when a cron job did a csup of > ports. Oops! > -- > R. Kevin Oberman, Network Engineer > E-mail: kob6558@gmail.com Nope, no non-SVN updates or manual changes. I am getting this on 3 separate boxes and have disabled csup in cron on them all. Are you sure about 'rm -r'ing them? IIRC, I reran 'svn co' instead of 'svn up' by mistake on 1 box and it pulled the entire collection again. Not sure about this as my memory ain't what it used to be. You know what they say, The mind is the first thing to go! Thanks, Frank From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 19:55:52 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 720764D3 for ; Mon, 19 Nov 2012 19:55:52 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-5.eutelia.it [62.94.10.165]) by mx1.freebsd.org (Postfix) with ESMTP id 158318FC0C for ; Mon, 19 Nov 2012 19:55:51 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 145D314AC38 for ; Mon, 19 Nov 2012 20:55:44 +0100 (CET) Received: from soth.ventu (adsl-ull-234-152.41-151.net24.it [151.41.152.234]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qAJJtdvp045369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 19 Nov 2012 20:55:40 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.5) with ESMTP id qAJJtVnm018964; Mon, 19 Nov 2012 20:55:31 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50AA8EB3.5050709@netfence.it> Date: Mon, 19 Nov 2012 20:55:31 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Eitan Adler Subject: Re: Help review the FAQ References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Mon, 19 Nov 2012 20:55:41 +0100 (CET) Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 19:55:52 -0000 On 11/19/12 18:44, Eitan Adler wrote: > Hey all, > > The FAQ for FreeBSD needs a significant amount of updating and > changing. The first step in that process is to figure out what needs > to be changed. > > If you can a take a moment and thoroughly review just one > question and add your comments and concerns it > would be immensely helpful. > > http://wiki.freebsd.org/ThwackAFAQ > Under serial-communication: Shouldn't USB to serial converters be mentioned? I believe the most common modems nowadays are GSM/3G, which usually plug in through USB, but in fact show up as a ttyU/cuaU. There are several working mobile modems; few are listed in the hardware compatibility page. bye av. From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 20:03:35 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D4227C7 for ; Mon, 19 Nov 2012 20:03:35 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-2.eutelia.it [62.94.10.162]) by mx1.freebsd.org (Postfix) with ESMTP id A41AF8FC13 for ; Mon, 19 Nov 2012 20:03:34 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id C8FD2C84F6 for ; Mon, 19 Nov 2012 20:46:33 +0100 (CET) Received: from soth.ventu (adsl-ull-234-152.41-151.net24.it [151.41.152.234]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qAJJkPiW043904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 19 Nov 2012 20:46:29 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.5) with ESMTP id qAJJkDd7017144; Mon, 19 Nov 2012 20:46:14 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50AA8C85.2000002@netfence.it> Date: Mon, 19 Nov 2012 20:46:13 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Eitan Adler Subject: Re: Help review the FAQ References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Mon, 19 Nov 2012 20:46:30 +0100 (CET) Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 20:03:35 -0000 On 11/19/12 18:44, Eitan Adler wrote: > Hey all, > > The FAQ for FreeBSD needs a significant amount of updating and > changing. The first step in that process is to figure out what needs > to be changed. > > If you can a take a moment and thoroughly review just one > question and add your comments and concerns it > would be immensely helpful. > > http://wiki.freebsd.org/ThwackAFAQ > Under: removable-drives Would it be worth mentioning no /dev/xxxs1 is created when the device is plugged in after boot? E.G. 1: I have a Zip Drive which is /dev/da1. Everything is fine if a disk is in when I boot, but if I insert the media after boot, /dev/da1s1 is not there. I need to "mount /dev/da1 /mnt": this also fails, but now I have /dev/da1s1 and can mount it. E.G. 2: I connect my Android phone with an USB cable: it will be /dev/da7. Again I have no /dev/da7s1 until I "dd count=0 if=/dev/random of=/dev/da7". Same happens with CompactFlash, MMC, SD, etc... bye av. From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 20:07:36 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 679D7B47 for ; Mon, 19 Nov 2012 20:07:36 +0000 (UTC) (envelope-from graudeejs@yandex.ru) Received: from forward12.mail.yandex.net (forward12.mail.yandex.net [IPv6:2a02:6b8:0:801::2]) by mx1.freebsd.org (Postfix) with ESMTP id D3EA78FC0C for ; Mon, 19 Nov 2012 20:07:35 +0000 (UTC) Received: from web21f.yandex.ru (web21f.yandex.ru [95.108.130.8]) by forward12.mail.yandex.net (Yandex) with ESMTP id 1028CC21DC1; Tue, 20 Nov 2012 00:07:34 +0400 (MSK) Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web21f.yandex.ru (Yandex) with ESMTP id A704A5348081; Tue, 20 Nov 2012 00:07:33 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1353355653; bh=mABOQS5mTi9o8z3Vzxi0EplTi3bf2gMQo1zo/PK3j1o=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=MXYZ5dae7lITkL4PlED4rnarShQQk3ezkYH3VDn7HdArR3S4VX6wXx9xitw2o/6yP F91IOmGAm6VT26qJ1lKt2qC3SsAXUN0l4odd3eQCPXQylZ01aibwbQLbkvOcIgdS/+ DBVFXOxD8EhXYqdtNyLcMKw9qW2vlYUmson8m17s= Received: from mpe-11-155.mpe.lv (mpe-11-155.mpe.lv [83.241.11.155]) by web21f.yandex.ru with HTTP; Tue, 20 Nov 2012 00:07:33 +0400 From: Aldis Berjoza To: Andrea Venturoli ,Eitan Adler In-Reply-To: <50AA8C85.2000002@netfence.it> References: <50AA8C85.2000002@netfence.it> Subject: Re: Help review the FAQ MIME-Version: 1.0 Message-Id: <176051353355653@web21f.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 19 Nov 2012 22:07:33 +0200 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 20:07:36 -0000 19.11.2012, 22:04, "Andrea Venturoli" : > On 11/19/12 18:44, Eitan Adler wrote: > >> šHey all, >> >> šThe FAQ for FreeBSD needs a significant amount of updating and >> šchanging. šThe first step in that process is to figure out what needs >> što be changed. >> >> šIf you can a take a moment and thoroughly review just one >> šquestion and add your comments and concerns it >> šwould be immensely helpful. >> >> šhttp://wiki.freebsd.org/ThwackAFAQ > > Under: removable-drives > > Would it be worth mentioning no /dev/xxxs1 is created when the device is > plugged in after boot? > > E.G. 1: > I have a Zip Drive which is /dev/da1. > Everything is fine if a disk is in when I boot, but if I insert the > media after boot, /dev/da1s1 is not there. > I need to "mount /dev/da1 /mnt": this also fails, but now I have > /dev/da1s1 and can mount it. > > E.G. 2: > I connect my Android phone with an USB cable: it will be /dev/da7. > Again I have no /dev/da7s1 until I "dd count=0 if=/dev/random of=/dev/da7". > > Same happens with CompactFlash, MMC, SD, etc... That doesn't sound normal. I only had similar problems with Klingston DataTraveler flash (it had some crap firmware) -- Aldis Berjoza FreeBSD addict From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 22:38:29 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6937EF80 for ; Mon, 19 Nov 2012 22:38:29 +0000 (UTC) (envelope-from prvs=166363deca=greg.robinson@dsto.defence.gov.au) Received: from defence.gov.au (actmail.defence.gov.au [203.6.68.1]) by mx1.freebsd.org (Postfix) with ESMTP id C34018FC14 for ; Mon, 19 Nov 2012 22:38:28 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 x-titus-version: 3.0.65 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Protective-Marking: VER=2005.6, NS=gov.au, SEC=UNCLASSIFIED, ORIGIN=greg.robinson@dsto.defence.gov.au x-tituslabs-classifications-30: Classification=UNCLASSIFIED; Precedence=ROUTINE; Privacy= ; Content-class: urn:content-classes:message Subject: RE: Node conflicts in SVN [SEC=UNCLASSIFIED] Date: Tue, 20 Nov 2012 09:05:11 +1030 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Node conflicts in SVN [SEC=UNCLASSIFIED] Thread-Index: Ac3GpiMtDzKr7kCMSsCj7R3YT9h9uw== From: "Robinson, Greg" To: "Frank Seltzer" , "Kevin Oberman" X-OriginalArrivalTime: 19 Nov 2012 22:35:12.0815 (UTC) FILETIME=[239FABF0:01CDC6A6] X-TM-AS-Product-Ver: SMEX-10.0.0.1412-6.800.1017-19378.002 X-TM-AS-Result: No--27.601600-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 22:38:29 -0000 UNCLASSIFIED Hi, Could this be an indication of the recent security incident: http://www.freebsd.org/news/2012-compromise.html ie, non-svn modifications to a svn repository have occurred? Greg. -----Original Message----- From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Frank Seltzer Sent: Tuesday, 20 November 2012 6:07 AM To: Kevin Oberman Cc: freebsd-stable@freebsd.org Subject: Re: Node conflicts in SVN On Mon, 19 Nov 2012, Kevin Oberman wrote: > On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer wrote: >> I run a nightly ports tree update and I have been getting the=20 >> following errors the last couple of days. I haven't seen this asked=20 >> before so is this just me or is anyone else seeing this? Have I fat-fingered something? >> >> Updating '/usr/ports': >> Skipped '/usr/ports/astro' -- Node remains in conflict Skipped=20 >> '/usr/ports/devel' -- Node remains in conflict Skipped=20 >> '/usr/ports/sysutils' -- Node remains in conflict Skipped=20 >> '/usr/ports/audio' -- Node remains in conflict Skipped=20 >> '/usr/ports/textproc' -- Node remains in conflict Skipped=20 >> '/usr/ports/x11-fm' -- Node remains in conflict Skipped=20 >> '/usr/ports/MOVED' -- Node remains in conflict Skipped=20 >> '/usr/ports/games' -- Node remains in conflict Skipped=20 >> '/usr/ports/mail' -- Node remains in conflict Skipped=20 >> '/usr/ports/net' -- Node remains in conflict Skipped=20 >> '/usr/ports/multimedia' -- Node remains in conflict At revision=20 >> 307524. >> Summary of conflicts: >> Skipped paths: 11 > > This usually indicates non-SVN updates to these items. If you have not > modified them intentionally, just 'rm -r' them and 'snv up /usr/ports' > again. I hit this after switch to svn when a cron job did a csup of=20 > ports. Oops! > -- > R. Kevin Oberman, Network Engineer > E-mail: kob6558@gmail.com Nope, no non-SVN updates or manual changes. I am getting this on 3 separate boxes and have disabled csup in cron on them all. Are you sure about 'rm -r'ing them? IIRC, I reran 'svn co' instead of 'svn up' by mistake on 1 box and it pulled the entire collection again.=20 Not sure about this as my memory ain't what it used to be. You know what they say, The mind is the first thing to go! Thanks, Frank _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" IMPORTANT: This email remains the property of the Department of Defence and is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 22:55:04 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F6C77C9 for ; Mon, 19 Nov 2012 22:55:04 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from cpsmtpb-ews06.kpnxchange.com (cpsmtpb-ews06.kpnxchange.com [213.75.39.9]) by mx1.freebsd.org (Postfix) with ESMTP id B4C4A8FC0C for ; Mon, 19 Nov 2012 22:55:03 +0000 (UTC) Received: from cpsps-ews22.kpnxchange.com ([10.94.84.188]) by cpsmtpb-ews06.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 19 Nov 2012 23:53:19 +0100 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews22.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 19 Nov 2012 23:53:19 +0100 Received: from sjakie.klop.ws ([212.182.167.131]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Mon, 19 Nov 2012 23:53:54 +0100 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id D581C153; Mon, 19 Nov 2012 23:53:53 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Frank Seltzer" , "Kevin Oberman" , "Robinson, Greg" Subject: Re: Node conflicts in SVN [SEC=UNCLASSIFIED] References: Date: Mon, 19 Nov 2012 23:53:53 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.10 (FreeBSD) X-OriginalArrivalTime: 19 Nov 2012 22:53:54.0349 (UTC) FILETIME=[C01C2DD0:01CDC6A8] X-RcptDomain: freebsd.org Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 22:55:04 -0000 Svn says it sees conflicts. Best thing is to view what the conflicts are using 'svn status' and 'svn diff'. That might shine some more light on this case. Ronald. On Mon, 19 Nov 2012 23:35:11 +0100, Robinson, Greg wrote: > UNCLASSIFIED > > Hi, > > Could this be an indication of the recent security incident: > > http://www.freebsd.org/news/2012-compromise.html > > ie, non-svn modifications to a svn repository have occurred? > > Greg. > > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Frank Seltzer > Sent: Tuesday, 20 November 2012 6:07 AM > To: Kevin Oberman > Cc: freebsd-stable@freebsd.org > Subject: Re: Node conflicts in SVN > > > > On Mon, 19 Nov 2012, Kevin Oberman wrote: > >> On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer > wrote: >>> I run a nightly ports tree update and I have been getting the >>> following errors the last couple of days. I haven't seen this asked >>> before so is this just me or is anyone else seeing this? Have I > fat-fingered something? >>> >>> Updating '/usr/ports': >>> Skipped '/usr/ports/astro' -- Node remains in conflict Skipped >>> '/usr/ports/devel' -- Node remains in conflict Skipped >>> '/usr/ports/sysutils' -- Node remains in conflict Skipped >>> '/usr/ports/audio' -- Node remains in conflict Skipped >>> '/usr/ports/textproc' -- Node remains in conflict Skipped >>> '/usr/ports/x11-fm' -- Node remains in conflict Skipped >>> '/usr/ports/MOVED' -- Node remains in conflict Skipped >>> '/usr/ports/games' -- Node remains in conflict Skipped >>> '/usr/ports/mail' -- Node remains in conflict Skipped >>> '/usr/ports/net' -- Node remains in conflict Skipped >>> '/usr/ports/multimedia' -- Node remains in conflict At revision >>> 307524. >>> Summary of conflicts: >>> Skipped paths: 11 >> >> This usually indicates non-SVN updates to these items. If you have not > >> modified them intentionally, just 'rm -r' them and 'snv up /usr/ports' >> again. I hit this after switch to svn when a cron job did a csup of >> ports. Oops! >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6558@gmail.com > > Nope, no non-SVN updates or manual changes. I am getting this on 3 > separate boxes and have disabled csup in cron on them all. > > Are you sure about 'rm -r'ing them? IIRC, I reran 'svn co' instead of > 'svn up' by mistake on 1 box and it pulled the entire collection again. > Not sure about this as my memory ain't what it used to be. You know > what they say, The mind is the first thing to go! > > Thanks, > Frank > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" > > IMPORTANT: This email remains the property of the Department of Defence > and is subject to the jurisdiction of section 70 of the Crimes Act 1914. > If you have received this email in error, you are requested to contact > the sender and delete the email. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Mon Nov 19 23:26:09 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90633384 for ; Mon, 19 Nov 2012 23:26:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1C8FB8FC13 for ; Mon, 19 Nov 2012 23:26:08 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so813626eaa.13 for ; Mon, 19 Nov 2012 15:26:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Y6UnFq7ynibbk1UeWo0IPT/n41n0pjSIRACFgZAEPS4=; b=Za5Zz8zK9SC+qt4SuqQP8NGe7p2La/waX9vjMXO6nUsbQUmsZGIQ73RcXrd+F8vZHN Obgcqu/C0oqOYDhBm/Q0z0UIG812Re3T8tQiZgcyik7lPfRVlgLr0IJo1oAJWNqJvUcT C+h1i7vJbh05TlMEesOigaOmaIa2A7013aNsntMVaoc1RSr2/bSh6KHK+PoaaoxDG4qU LH0BHe94bBq6FxTqdHHUjnb1Ni2cyfJitLMSbBsHxhOCA6tD2a2SJygsOE9M0OTXZKzS u19MSjOQf+qDxYz8+Pb3O6VxGnxmE5HVTy4p3OViOYsoFDSkfY4zpECej8VNX4GjS6h/ /5IA== MIME-Version: 1.0 Received: by 10.14.194.71 with SMTP id l47mr28104548een.6.1353367567792; Mon, 19 Nov 2012 15:26:07 -0800 (PST) Received: by 10.223.71.199 with HTTP; Mon, 19 Nov 2012 15:26:07 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Nov 2012 15:26:07 -0800 Message-ID: Subject: Re: Node conflicts in SVN From: Kevin Oberman To: Frank Seltzer Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 23:26:09 -0000 On Mon, Nov 19, 2012 at 11:37 AM, Frank Seltzer wrote: > > > On Mon, 19 Nov 2012, Kevin Oberman wrote: > >> On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer >> wrote: >>> >>> I run a nightly ports tree update and I have been getting the following >>> errors the last couple of days. I haven't seen this asked before so is >>> this >>> just me or is anyone else seeing this? Have I fat-fingered something? >>> >>> Updating '/usr/ports': >>> Skipped '/usr/ports/astro' -- Node remains in conflict >>> Skipped '/usr/ports/devel' -- Node remains in conflict >>> Skipped '/usr/ports/sysutils' -- Node remains in conflict >>> Skipped '/usr/ports/audio' -- Node remains in conflict >>> Skipped '/usr/ports/textproc' -- Node remains in conflict >>> Skipped '/usr/ports/x11-fm' -- Node remains in conflict >>> Skipped '/usr/ports/MOVED' -- Node remains in conflict >>> Skipped '/usr/ports/games' -- Node remains in conflict >>> Skipped '/usr/ports/mail' -- Node remains in conflict >>> Skipped '/usr/ports/net' -- Node remains in conflict >>> Skipped '/usr/ports/multimedia' -- Node remains in conflict >>> At revision 307524. >>> Summary of conflicts: >>> Skipped paths: 11 >> >> >> This usually indicates non-SVN updates to these items. If you have not >> modified them intentionally, just 'rm -r' them and 'snv up /usr/ports' >> again. I hit this after switch to svn when a cron job did a csup of >> ports. Oops! >> -- >> R. Kevin Oberman, Network Engineer >> E-mail: kob6558@gmail.com > > > Nope, no non-SVN updates or manual changes. I am getting this on 3 separate > boxes and have disabled csup in cron on them all. > > Are you sure about 'rm -r'ing them? IIRC, I reran 'svn co' instead of 'svn > up' by mistake on 1 box and it pulled the entire collection again. Not sure > about this as my memory ain't what it used to be. You know what they say, > The mind is the first thing to go! > > Thanks, > Frank In svn, "conflict" simply means that hte file on disk does not match the one in the SVN repository. This is usually because a file has been locally modified and svn won't blow away edits you have made in your sandbox. I mmean, htat is normally what a sandbox is for. Of course, if you are not a committer, this probably not the case, though you might have made local changes to a port, in which case you just were saved from foot-shooting. On any case, "rm -r /usr/ports/x11-fm /usr/ports/MOVED /usr/local/games /usr/local/mail /usr/local/net /usr/local/multimedia' is safe as an update will simply pull down new copies of those files from the repo. Or you can do them per-directory with 'svn up /usr/ports/MOVED', etc. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 02:43:23 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7A7EFBD for ; Tue, 20 Nov 2012 02:43:23 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [207.115.11.54]) by mx1.freebsd.org (Postfix) with ESMTP id 88F858FC15 for ; Tue, 20 Nov 2012 02:43:23 +0000 (UTC) Received: from ace.nina.org (adsl-98-70-38-239.gnv.bellsouth.net[98.70.38.239]) by isp.att.net (frfwmhc04) with SMTP id <20121120024316H0400aoqtce>; Tue, 20 Nov 2012 02:43:17 +0000 X-Originating-IP: [98.70.38.239] Date: Mon, 19 Nov 2012 21:43:15 -0500 (EST) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: Kevin Oberman Subject: Re: Node conflicts in SVN 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 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 02:43:23 -0000 On Mon, 19 Nov 2012, Kevin Oberman wrote: > On Mon, Nov 19, 2012 at 11:37 AM, Frank Seltzer wrote: >> >> >> On Mon, 19 Nov 2012, Kevin Oberman wrote: >> >>> On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer >>> wrote: >>>> >>>> I run a nightly ports tree update and I have been getting the following >>>> errors the last couple of days. I haven't seen this asked before so is >>>> this >>>> just me or is anyone else seeing this? Have I fat-fingered something? >>>> >>>> Updating '/usr/ports': >>>> Skipped '/usr/ports/astro' -- Node remains in conflict >>>> Skipped '/usr/ports/devel' -- Node remains in conflict >>>> Skipped '/usr/ports/sysutils' -- Node remains in conflict >>>> Skipped '/usr/ports/audio' -- Node remains in conflict >>>> Skipped '/usr/ports/textproc' -- Node remains in conflict >>>> Skipped '/usr/ports/x11-fm' -- Node remains in conflict >>>> Skipped '/usr/ports/MOVED' -- Node remains in conflict >>>> Skipped '/usr/ports/games' -- Node remains in conflict >>>> Skipped '/usr/ports/mail' -- Node remains in conflict >>>> Skipped '/usr/ports/net' -- Node remains in conflict >>>> Skipped '/usr/ports/multimedia' -- Node remains in conflict >>>> At revision 307524. >>>> Summary of conflicts: >>>> Skipped paths: 11 It's now up to 24. Updating '/usr/ports': Skipped '/usr/ports/mail' -- Node remains in conflict Skipped '/usr/ports/net' -- Node remains in conflict Skipped '/usr/ports/multimedia' -- Node remains in conflict Skipped '/usr/ports/dns' -- Node remains in conflict Skipped '/usr/ports/www' -- Node remains in conflict Skipped '/usr/ports/astro' -- Node remains in conflict Skipped '/usr/ports/sysutils' -- Node remains in conflict Skipped '/usr/ports/devel' -- Node remains in conflict Skipped '/usr/ports/audio' -- Node remains in conflict Skipped '/usr/ports/textproc' -- Node remains in conflict Skipped '/usr/ports/japanese' -- Node remains in conflict Skipped '/usr/ports/graphics' -- Node remains in conflict Skipped '/usr/ports/security' -- Node remains in conflict Skipped '/usr/ports/x11-fm' -- Node remains in conflict Skipped '/usr/ports/MOVED' -- Node remains in conflict Skipped '/usr/ports/irc' -- Node remains in conflict Skipped '/usr/ports/math' -- Node remains in conflict Skipped '/usr/ports/games' -- Node remains in conflict Skipped '/usr/ports/archivers' -- Node remains in conflict Skipped '/usr/ports/deskutils' -- Node remains in conflict Skipped '/usr/ports/net-p2p' -- Node remains in conflict Skipped '/usr/ports/databases' -- Node remains in conflict Skipped '/usr/ports/net-mgmt' -- Node remains in conflict Skipped '/usr/ports/net-im' -- Node remains in conflict At revision 307575. Summary of conflicts: Skipped paths: 24 Frank From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 02:47:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE734247 for ; Tue, 20 Nov 2012 02:47:08 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 420478FC0C for ; Tue, 20 Nov 2012 02:47:07 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so5218578lah.13 for ; Mon, 19 Nov 2012 18:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qETGDbbvvZALdge4ZSEubCLQ5Jv5o24Te22hEKDamwU=; b=kSNKtBP/Kf5GfjrdMu8bjEY8PFcHN8OPIfPsoJCfDqKO2E79J0JQie567ekyVNAr2W wiMLeVzjrHLld2uQgPM+ggHqd6N+IgtLenoAjoeWCDK5q0cLM/jEJ/hiATE7GSDstf55 ibNKxjBkoRr3sOtAOkr5Uif0IT/CtcLnlV7UA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=qETGDbbvvZALdge4ZSEubCLQ5Jv5o24Te22hEKDamwU=; b=kVLgSGGQdpZXu+H/4FVRNS82PZtbbbzKKGUaNeBuEpyIcwZarLRCNrI5wd8QNEuEJm 4J9izJZuZW+sAnjnuC4NHv1oeADnqXSkyeJqMedMceOso7z/wN8a8O+634jPINkziHVN xROE9wgVoOkU5pJLbStIS1ahThv9h/rt2DVzqfIdaOKOcNPyoOkAOweysnAglekLW4Fs hTXvPbyso+GaAtGHsizHf0t0pJWVjAc2hBaqsNEKg6Kt3qbihbadQ2SYqPcGLoKbaMOQ nnROlK9JKNthAxbzlAZebTNeZS1zk3g/o+2NRj2BxvmGNF6uVsPTfux2rakE91QlTadm +Pbg== Received: by 10.112.103.136 with SMTP id fw8mr5993567lbb.18.1353379626807; Mon, 19 Nov 2012 18:47:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Mon, 19 Nov 2012 18:46:36 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Mon, 19 Nov 2012 21:46:36 -0500 Message-ID: Subject: Re: Node conflicts in SVN To: Frank Seltzer Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQl3SZuIV9VJZRtwBy6ZDCetYkqMDfGdZNluRtSjPOGcb0WpB8n9cNm1tFGWcJ+FBYqRzHfK Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 02:47:09 -0000 On 19 November 2012 21:43, Frank Seltzer wrote: > > > On Mon, 19 Nov 2012, Kevin Oberman wrote: > >> On Mon, Nov 19, 2012 at 11:37 AM, Frank Seltzer >> wrote: >>> >>> >>> >>> On Mon, 19 Nov 2012, Kevin Oberman wrote: >>> >>>> On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer >>>> wrote: >>>>> >>>>> >>>>> I run a nightly ports tree update and I have been getting the following >>>>> errors the last couple of days. I haven't seen this asked before so is >>>>> this >>>>> just me or is anyone else seeing this? Have I fat-fingered something? >>>>> >>>>> Updating '/usr/ports': >>>>> Skipped '/usr/ports/astro' -- Node remains in conflict >>>>> Skipped '/usr/ports/devel' -- Node remains in conflict >>>>> Skipped '/usr/ports/sysutils' -- Node remains in conflict >>>>> Skipped '/usr/ports/audio' -- Node remains in conflict >>>>> Skipped '/usr/ports/textproc' -- Node remains in conflict >>>>> Skipped '/usr/ports/x11-fm' -- Node remains in conflict >>>>> Skipped '/usr/ports/MOVED' -- Node remains in conflict >>>>> Skipped '/usr/ports/games' -- Node remains in conflict >>>>> Skipped '/usr/ports/mail' -- Node remains in conflict >>>>> Skipped '/usr/ports/net' -- Node remains in conflict >>>>> Skipped '/usr/ports/multimedia' -- Node remains in conflict >>>>> At revision 307524. >>>>> Summary of conflicts: >>>>> Skipped paths: 11 > > > It's now up to 24. > > Updating '/usr/ports': > > Skipped '/usr/ports/mail' -- Node remains in conflict > Skipped '/usr/ports/net' -- Node remains in conflict > Skipped '/usr/ports/multimedia' -- Node remains in conflict > Skipped '/usr/ports/dns' -- Node remains in conflict > Skipped '/usr/ports/www' -- Node remains in conflict > > Skipped '/usr/ports/astro' -- Node remains in conflict > Skipped '/usr/ports/sysutils' -- Node remains in conflict > Skipped '/usr/ports/devel' -- Node remains in conflict > Skipped '/usr/ports/audio' -- Node remains in conflict > Skipped '/usr/ports/textproc' -- Node remains in conflict > Skipped '/usr/ports/japanese' -- Node remains in conflict > Skipped '/usr/ports/graphics' -- Node remains in conflict > Skipped '/usr/ports/security' -- Node remains in conflict > > Skipped '/usr/ports/x11-fm' -- Node remains in conflict > Skipped '/usr/ports/MOVED' -- Node remains in conflict > Skipped '/usr/ports/irc' -- Node remains in conflict > Skipped '/usr/ports/math' -- Node remains in conflict > > Skipped '/usr/ports/games' -- Node remains in conflict > Skipped '/usr/ports/archivers' -- Node remains in conflict > Skipped '/usr/ports/deskutils' -- Node remains in conflict > Skipped '/usr/ports/net-p2p' -- Node remains in conflict > Skipped '/usr/ports/databases' -- Node remains in conflict > Skipped '/usr/ports/net-mgmt' -- Node remains in conflict > Skipped '/usr/ports/net-im' -- Node remains in conflict > At revision 307575. > Summary of conflicts: > Skipped paths: 24 did you run svn checkout on a directory which wasn't controlled by svn (with stuff in it?). If so you need to remove those directories and run "svn up". -- Eitan Adler From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 04:12:40 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB87F86C for ; Tue, 20 Nov 2012 04:12:40 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost05.isp.att.net (fmailhost05.isp.att.net [207.115.11.55]) by mx1.freebsd.org (Postfix) with ESMTP id 882528FC08 for ; Tue, 20 Nov 2012 04:12:40 +0000 (UTC) Received: from ace.nina.org (adsl-98-70-38-239.gnv.bellsouth.net[98.70.38.239]) by isp.att.net (frfwmhc05) with SMTP id <20121120041234H05008ql9he>; Tue, 20 Nov 2012 04:12:34 +0000 X-Originating-IP: [98.70.38.239] Date: Mon, 19 Nov 2012 23:12:33 -0500 (EST) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: Eitan Adler Subject: Re: Node conflicts in SVN 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 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 04:12:40 -0000 On Mon, 19 Nov 2012, Eitan Adler wrote: >> It's now up to 24. >> >> Updating '/usr/ports': >> >> Skipped '/usr/ports/mail' -- Node remains in conflict >> Skipped '/usr/ports/net' -- Node remains in conflict >> Skipped '/usr/ports/multimedia' -- Node remains in conflict >> Skipped '/usr/ports/dns' -- Node remains in conflict >> Skipped '/usr/ports/www' -- Node remains in conflict >> >> Skipped '/usr/ports/astro' -- Node remains in conflict >> Skipped '/usr/ports/sysutils' -- Node remains in conflict >> Skipped '/usr/ports/devel' -- Node remains in conflict >> Skipped '/usr/ports/audio' -- Node remains in conflict >> Skipped '/usr/ports/textproc' -- Node remains in conflict >> Skipped '/usr/ports/japanese' -- Node remains in conflict >> Skipped '/usr/ports/graphics' -- Node remains in conflict >> Skipped '/usr/ports/security' -- Node remains in conflict >> >> Skipped '/usr/ports/x11-fm' -- Node remains in conflict >> Skipped '/usr/ports/MOVED' -- Node remains in conflict >> Skipped '/usr/ports/irc' -- Node remains in conflict >> Skipped '/usr/ports/math' -- Node remains in conflict >> >> Skipped '/usr/ports/games' -- Node remains in conflict >> Skipped '/usr/ports/archivers' -- Node remains in conflict >> Skipped '/usr/ports/deskutils' -- Node remains in conflict >> Skipped '/usr/ports/net-p2p' -- Node remains in conflict >> Skipped '/usr/ports/databases' -- Node remains in conflict >> Skipped '/usr/ports/net-mgmt' -- Node remains in conflict >> Skipped '/usr/ports/net-im' -- Node remains in conflict >> At revision 307575. >> Summary of conflicts: >> Skipped paths: 24 > > did you run svn checkout on a directory which wasn't controlled by svn > (with stuff in it?). If so you need to remove those directories and > run "svn up". No, svn created the directory. I moved /usr/ports out of the way and ran 'svn co'. > -- > Eitan Adler From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 04:26:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60D06AED for ; Tue, 20 Nov 2012 04:26:53 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id DA7F48FC08 for ; Tue, 20 Nov 2012 04:26:51 +0000 (UTC) Received: from server.rulingia.com (c220-239-241-202.belrs5.nsw.optusnet.com.au [220.239.241.202]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id qAK4Qm6P010621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Nov 2012 15:26:48 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id qAK4Qglb087381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Nov 2012 15:26:42 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id qAK4QgJc087380; Tue, 20 Nov 2012 15:26:42 +1100 (EST) (envelope-from peter) Date: Tue, 20 Nov 2012 15:26:42 +1100 From: Peter Jeremy To: Frank Seltzer Subject: Re: Node conflicts in SVN Message-ID: <20121120042642.GK38823@server.rulingia.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nhYGnrYv1PEJ5gA2" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 04:26:53 -0000 --nhYGnrYv1PEJ5gA2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Nov-19 23:12:33 -0500, Frank Seltzer wrote: >On Mon, 19 Nov 2012, Eitan Adler wrote: >> did you run svn checkout on a directory which wasn't controlled by svn >> (with stuff in it?). If so you need to remove those directories and >> run "svn up". > >No, svn created the directory. I moved /usr/ports out of the way and ran= =20 >'svn co'. Can you give the exact steps (including commands) you performed? --=20 Peter Jeremy --nhYGnrYv1PEJ5gA2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCrBoIACgkQ/opHv/APuIe38gCeNVXRs4cuooiaY+B8gYqIR8Xz Gd8An0TsutipZXCWD9Pk1/fXcAL4zSyk =+g34 -----END PGP SIGNATURE----- --nhYGnrYv1PEJ5gA2-- From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 06:25:30 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3780D04 for ; Tue, 20 Nov 2012 06:25:30 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5ADE88FC08 for ; Tue, 20 Nov 2012 06:25:29 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so2719685lbb.13 for ; Mon, 19 Nov 2012 22:25:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=Fe7w3VjKBxh+7YfPh47O6PEz7w2WDAGdJPVQHMiaTrs=; b=hHH5dNFGTt484KcDa7m6jD9Zfy9xKPZx9uc3J9j3txq9lm5mCgZOmg8rC98DqPVGc2 /IJbDztYWppUFr+hEAJ31RS8mRIfbBlps3+qtZ4roQykRxytO3usbFh/LMI2H6mbkr1/ XiXSD0vDI6r2H3iIBh1h9VeSKaGfb/kaXD/c/Qn8bkfY3+EOV8OREixwffUxK5gCxKs7 65I1aC6Kib1a5b3Yth3gQ5XjrZyiIo2SsyjKRlR7P4+mTtt/W7CZoNXQ11mXqcIdS3Sq aRRBN4xWrN2d5zMTPuSsH6WnxU55V9zsnoZBXJBo8awFagWITecFx1t8Mid00JZ3O03g l5Ew== Received: by 10.112.40.42 with SMTP id u10mr5944000lbk.124.1353392728799; Mon, 19 Nov 2012 22:25:28 -0800 (PST) Received: from laptop (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPS id t5sm4422711lbf.6.2012.11.19.22.25.27 (version=SSLv3 cipher=OTHER); Mon, 19 Nov 2012 22:25:27 -0800 (PST) Date: Tue, 20 Nov 2012 09:27:08 +0300 From: "Sergey V. Dyatko" To: freebsd-stable@freebsd.org Subject: Re: Node conflicts in SVN Message-ID: <20121120092708.501e3f3a@laptop> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 06:25:31 -0000 On Mon, 19 Nov 2012 14:37:00 -0500 (EST) Frank Seltzer wrote: > > > On Mon, 19 Nov 2012, Kevin Oberman wrote: > > > On Mon, Nov 19, 2012 at 8:28 AM, Frank Seltzer > > wrote: > >> I run a nightly ports tree update and I have been getting the > >> following errors the last couple of days. I haven't seen this > >> asked before so is this just me or is anyone else seeing this? > >> Have I fat-fingered something? > >> > >> Updating '/usr/ports': > >> Skipped '/usr/ports/astro' -- Node remains in conflict > >> Skipped '/usr/ports/devel' -- Node remains in conflict > >> Skipped '/usr/ports/sysutils' -- Node remains in conflict > >> Skipped '/usr/ports/audio' -- Node remains in conflict > >> Skipped '/usr/ports/textproc' -- Node remains in conflict > >> Skipped '/usr/ports/x11-fm' -- Node remains in conflict > >> Skipped '/usr/ports/MOVED' -- Node remains in conflict > >> Skipped '/usr/ports/games' -- Node remains in conflict > >> Skipped '/usr/ports/mail' -- Node remains in conflict > >> Skipped '/usr/ports/net' -- Node remains in conflict > >> Skipped '/usr/ports/multimedia' -- Node remains in conflict > >> At revision 307524. > >> Summary of conflicts: > >> Skipped paths: 11 > > > > This usually indicates non-SVN updates to these items. If you have > > not modified them intentionally, just 'rm -r' them and 'snv > > up /usr/ports' again. I hit this after switch to svn when a cron > > job did a csup of ports. Oops! > > -- > > R. Kevin Oberman, Network Engineer > > E-mail: kob6558@gmail.com > > Nope, no non-SVN updates or manual changes. I am getting this on 3 > separate boxes and have disabled csup in cron on them all. > Can you run `svn status`? What does it show ? > Are you sure about 'rm -r'ing them? IIRC, I reran 'svn co' instead > of 'svn up' by mistake on 1 box and it pulled the entire collection > again. Not sure about this as my memory ain't what it used to be. > You know what they say, The mind is the first thing to go! > > Thanks, > Frank -- wbr, tiger From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 08:52:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7A484D9 for ; Tue, 20 Nov 2012 08:52:15 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 720678FC13 for ; Tue, 20 Nov 2012 08:52:15 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id n2so446059dad.13 for ; Tue, 20 Nov 2012 00:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=WYc19umUf1FdUL6aMY5Rt71NaTiKGNkqALS9z4kzxtQ=; b=VbaLs2YVrFcN6AdF5oCoC2XNYpikNBEhr81d8v0mgtFyUiHC5sWvkThK/tbXMgI2Fw oiAsSghLx+Y7zfg3BhC+HwYuMusaUAOTHsFx1x14zjmBDQpwSdebtw1e2v3SrkSWVK1h jeVOWa9CZk5NkwyhBkq+NzqhicOrhCjsUqVKWQINJcnTJ/gYP/okFBntaaWdFaBTUlzJ C7u8c5hbHLbMdQoYy4mZ/Np3F507hVvD/Pl0Sj3lw3SgFCr9LNf6x0edJSzOw2wMfpsB RfnU4sKx+X8mqi1Mqx6UaON2mzsZBvZU4RKwjUVlHJq0QRW9LCn/FZCcMupb4PNIhbeP aClA== Received: by 10.68.204.103 with SMTP id kx7mr41346201pbc.33.1353401528962; Tue, 20 Nov 2012 00:52:08 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id c5sm1656339pav.33.2012.11.20.00.52.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Nov 2012 00:52:07 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 20 Nov 2012 17:52:00 +0900 From: YongHyeon PYUN Date: Tue, 20 Nov 2012 17:52:00 +0900 To: Richard Kuhns Subject: Re: bge on the new Mac Mini Message-ID: <20121120085200.GB1778@michelle.cdnetworks.com> References: <50A65BFC.7030406@wintek.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <50A65BFC.7030406@wintek.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 08:52:15 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 16, 2012 at 10:30:04AM -0500, Richard Kuhns wrote: > Hi all, > > Over the last month or so I've installed FreeBSD 9 (-stable) on several Mac > Minis via the memstick image; they seem to be pretty good little boxes for > things like offsite secondary nameservers, for example, and they're easily > replaced in case of problems. > > However, the newest minis have slightly different hardware, and FreeBSD can't > find the built-in NIC. pciconf -lv on the new mini shows it as > > none3@pci0:1:0:0: class=0x020000 card=0x168614e4 chip=0x168614e4 rev=0x01 It seems this controller is BCM57766. > hdr=0x00 > vendor = 'Broadcom Corporation' > class = network > subclass = ethernet > > The previous edition mini (that works) reports > > bge0@pci0:2:0:0: class=0x020000 card=0x16b414e4 chip=0x16b414e4 rev=0x10 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme BCM57765 Gigabit Ethernet PCIe' > class = network > subclass = ethernet > > Is there a chance that adding the new card/chip info to the current driver would > allow it to work? I'll be happy to test and report back. I'm afraid I'm not > familiar enough with hardware at that level to figure out the patch myself. > Try attached patch and let me know whether the patch works or not. If the patch works please share dmesg output(bge(4) and brgphy(4) output only). Note, the patch was generated against CURRENT. --6c2NcOVqGQ03X4Wi Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="bge.57766.diff" Index: sys/dev/bge/if_bgereg.h =================================================================== --- sys/dev/bge/if_bgereg.h (revision 243255) +++ sys/dev/bge/if_bgereg.h (working copy) @@ -360,6 +360,7 @@ #define BGE_ASICREV_BCM5784 0x5784 #define BGE_ASICREV_BCM5785 0x5785 #define BGE_ASICREV_BCM57765 0x57785 +#define BGE_ASICREV_BCM57766 0x57766 #define BGE_ASICREV_BCM57780 0x57780 /* chip revisions */ @@ -2484,6 +2485,7 @@ struct bge_status_block { #define BCOM_DEVICEID_BCM57760 0x1690 #define BCOM_DEVICEID_BCM57761 0x16B0 #define BCOM_DEVICEID_BCM57765 0x16B4 +#define BCOM_DEVICEID_BCM57766 0x1682 #define BCOM_DEVICEID_BCM57780 0x1692 #define BCOM_DEVICEID_BCM57781 0x16B1 #define BCOM_DEVICEID_BCM57785 0x16B5 @@ -2961,6 +2963,7 @@ struct bge_softc { #define BGE_FLAG_5755_PLUS 0x00100000 #define BGE_FLAG_5788 0x00200000 #define BGE_FLAG_5717_PLUS 0x00400000 +#define BGE_FLAG_57765_PLUS 0x00800000 #define BGE_FLAG_40BIT_BUG 0x01000000 #define BGE_FLAG_4G_BNDRY_BUG 0x02000000 #define BGE_FLAG_RX_ALIGNBUG 0x04000000 Index: sys/dev/bge/if_bge.c =================================================================== --- sys/dev/bge/if_bge.c (revision 243255) +++ sys/dev/bge/if_bge.c (working copy) @@ -217,6 +217,7 @@ static const struct bge_type { { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, @@ -362,6 +363,7 @@ static const struct bge_revision bge_majorrevs[] = #define BGE_IS_575X_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_575X_PLUS) #define BGE_IS_5755_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5755_PLUS) #define BGE_IS_5717_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5717_PLUS) +#define BGE_IS_57765_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_57765_PLUS) const struct bge_revision * bge_lookup_rev(uint32_t); const struct bge_vendor * bge_lookup_vendor(uint16_t); @@ -2243,7 +2245,7 @@ bge_blockinit(struct bge_softc *sc) } else if (!BGE_IS_5705_PLUS(sc)) limit = BGE_RX_RINGS_MAX; else if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || - sc->bge_asicrev == BGE_ASICREV_BCM57765) + BGE_IS_57765_PLUS(sc)) limit = 4; else limit = 1; @@ -2658,6 +2660,7 @@ bge_probe(device_t dev) break; case BCOM_DEVICEID_BCM57761: case BCOM_DEVICEID_BCM57765: + case BCOM_DEVICEID_BCM57766: case BCOM_DEVICEID_BCM57781: case BCOM_DEVICEID_BCM57785: case BCOM_DEVICEID_BCM57791: @@ -3321,10 +3324,13 @@ bge_attach(device_t dev) /* Save chipset family. */ switch (sc->bge_asicrev) { + case BGE_ASICREV_BCM57765: + case BGE_ASICREV_BCM57766: + sc->bge_flags |= BGE_FLAG_57765_PLUS; + /* FALLTHROUGH */ case BGE_ASICREV_BCM5717: case BGE_ASICREV_BCM5719: case BGE_ASICREV_BCM5720: - case BGE_ASICREV_BCM57765: sc->bge_flags |= BGE_FLAG_5717_PLUS | BGE_FLAG_5755_PLUS | BGE_FLAG_575X_PLUS | BGE_FLAG_5705_PLUS | BGE_FLAG_JUMBO | BGE_FLAG_JUMBO_FRAME; @@ -3738,12 +3744,9 @@ bge_attach(device_t dev) sc->bge_phy_flags |= BGE_PHY_NO_3LED; if ((BGE_IS_5705_PLUS(sc)) && sc->bge_asicrev != BGE_ASICREV_BCM5906 && - sc->bge_asicrev != BGE_ASICREV_BCM5717 && - sc->bge_asicrev != BGE_ASICREV_BCM5719 && - sc->bge_asicrev != BGE_ASICREV_BCM5720 && sc->bge_asicrev != BGE_ASICREV_BCM5785 && - sc->bge_asicrev != BGE_ASICREV_BCM57765 && - sc->bge_asicrev != BGE_ASICREV_BCM57780) { + sc->bge_asicrev != BGE_ASICREV_BCM57780 && + !BGE_IS_5717_PLUS(sc)) { if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || sc->bge_asicrev == BGE_ASICREV_BCM5761 || sc->bge_asicrev == BGE_ASICREV_BCM5784 || --6c2NcOVqGQ03X4Wi-- From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 09:25:14 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0AF715D for ; Tue, 20 Nov 2012 09:25:14 +0000 (UTC) (envelope-from peter@pean.org) Received: from system.jails.se (system.jails.se [IPv6:2001:16d8:cc1e:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA698FC12 for ; Tue, 20 Nov 2012 09:25:14 +0000 (UTC) Received: from localhost (system.jails.se [91.205.63.85]) by system.jails.se (Postfix) with SMTP id DFBFB1A951E for ; Tue, 20 Nov 2012 10:24:52 +0100 (CET) Received: from [130.238.181.10] (emp181-10.eduroam.uu.se [130.238.181.10]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by system.jails.se (Postfix) with ESMTPSA id 2D0091A9508 for ; Tue, 20 Nov 2012 10:23:58 +0100 (CET) Subject: Logging of installed packages. From: =?utf-8?Q?Peter_Ankerst=C3=A5l?= X-Mailer: iPad Mail (10A523) Message-Id: Date: Tue, 20 Nov 2012 10:24:05 +0100 To: "stable@freebsd.org" Mime-Version: 1.0 (1.0) X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Nov 20 10:24:52 2012 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 50ab4c6432821090875719 X-DSPAM-Factors: 27, Mime-Version*(1.0), 0.40000, Received*cipher+AES128, 0.40000, Received*Tue, 0.40000, from, 0.40000, of, 0.40000, From*Peter_Ankerst%c3%a5l, 0.40000, Received*2012, 0.40000, Content-Type*ADD3CAA1A1CC, 0.40000, Received*Tue+20, 0.40000, Received*client+certificate, 0.40000, recommend, 0.40000, To*"stable, 0.40000, Message-Id*ED5B87C75928, 0.40000, to+log, 0.40000, Content-Type*A5AB, 0.40000, there+was, 0.40000, Received*[130.238.181.10]+(emp181, 0.40000, freebsd+org/news/2012, 0.40000, nice+if, 0.40000, Received*Nov, 0.40000, Received*Nov+2012, 0.40000, Received*TLSv1+with, 0.40000, what+would, 0.40000, Message-Id*4E4D+BB41, 0.40000, org/news/2012+compromise, 0.40000, would, 0.40000, would, 0.40000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 09:25:14 -0000 In the light of this: http://www.freebsd.org/news/2012-compromise.html It would be nice if there was default way to log all package installations f= rom both pkgs and ports. Is there? If not, what would you recommend for doing this? Thanks.=20= From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 09:42:27 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED9D253D for ; Tue, 20 Nov 2012 09:42:27 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id ACE378FC14 for ; Tue, 20 Nov 2012 09:42:27 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so2120261iec.13 for ; Tue, 20 Nov 2012 01:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=17AKOZFCNZsZus890Y2W3hUgj4cXNP+ZfcSaYv8rBPM=; b=NnGJJXsZZ5jhQ/dxP5JrllvbxP7J4thhoNl1O4zs7m6Bpa5kD1AAaXYCmJM3+PwGnz DwsYNeJ5PGD4XXZAzlamqhbWOAY2OEiY+hWjLxHneKMaE438uTA1TOHiunaHyxIcVlmI PUz18fQXeXoD2TSptcsY0RGd0h4LRn+5Oumd37EPtzIMaPFKAiEP8ojvgnNlk6RIv3SZ x5tZeNf6wqnBiiq2CJNwl53T6/e7s6xFT/Q9mIgwUK0yCQOvA3gyY48pxjfywx31mwbb BMLF47bwDjKHstKPAS1o4Rsw6RDTlnAdV+z3S7o969MJ+EwBOSXVIjBoIgJAbDlueuxW pyNQ== Received: by 10.50.196.133 with SMTP id im5mr9235210igc.61.1353404546966; Tue, 20 Nov 2012 01:42:26 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id rd10sm9148515igb.1.2012.11.20.01.42.24 (version=SSLv3 cipher=OTHER); Tue, 20 Nov 2012 01:42:25 -0800 (PST) Message-ID: <50AB507E.6030101@gmail.com> Date: Tue, 20 Nov 2012 11:42:22 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121116 Thunderbird/16.0.2 MIME-Version: 1.0 To: =?UTF-8?B?UGV0ZXIgQW5rZXJzdMOlbA==?= Subject: Re: Logging of installed packages. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 09:42:28 -0000 20.11.2012 11:24, Peter AnkerstĂĄl wrote: > In the light of this: http://www.freebsd.org/news/2012-compromise.html > > It would be nice if there was default way to log all package installations from both pkgs and ports. > Is there? If not, what would you recommend for doing this? pkgng logs all installations/deinstallations. It's already default for CURRENT and you can switch to using it for other branches. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 12:02:56 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1895A3F0 for ; Tue, 20 Nov 2012 12:02:56 +0000 (UTC) (envelope-from peter@pean.org) Received: from lyra.its.uu.se (lyra.its.uu.se [130.238.7.73]) by mx1.freebsd.org (Postfix) with ESMTP id C40A58FC17 for ; Tue, 20 Nov 2012 12:02:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at uu.se Received: from nyx.uppmax.uu.se (nyx.uppmax.uu.se [130.238.137.40]) by lyra.its.uu.se (Postfix) with ESMTP id DD81B396D5; Tue, 20 Nov 2012 13:02:51 +0100 (CET) Message-ID: <50AB716C.50209@pean.org> Date: Tue, 20 Nov 2012 13:02:52 +0100 From: =?UTF-8?B?UGV0ZXIgQW5rZXJzdMOlbA==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121030 Thunderbird/10.0.10 MIME-Version: 1.0 To: Volodymyr Kostyrko Subject: Re: Logging of installed packages. References: <50AB507E.6030101@gmail.com> In-Reply-To: <50AB507E.6030101@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 12:02:56 -0000 On 11/20/2012 10:42 AM, Volodymyr Kostyrko wrote: > 20.11.2012 11:24, Peter AnkerstĂĄl wrote: >> In the light of this: http://www.freebsd.org/news/2012-compromise.html >> >> It would be nice if there was default way to log all package >> installations from both pkgs and ports. >> Is there? If not, what would you recommend for doing this? > > pkgng logs all installations/deinstallations. It's already default for > CURRENT and you can switch to using it for other branches. > Yes, that seems to work for ports too, thanks! From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 15:46:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3F5F349 for ; Tue, 20 Nov 2012 15:46:07 +0000 (UTC) (envelope-from peter@pean.org) Received: from velox.its.uu.se (velox.its.uu.se [130.238.7.74]) by mx1.freebsd.org (Postfix) with ESMTP id 990D18FC08 for ; Tue, 20 Nov 2012 15:46:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at uu.se Received: from nyx.uppmax.uu.se (nyx.uppmax.uu.se [130.238.137.40]) by velox.its.uu.se (Postfix) with ESMTP id 4413234F0B for ; Tue, 20 Nov 2012 16:45:59 +0100 (CET) Message-ID: <50ABA5B7.80500@pean.org> Date: Tue, 20 Nov 2012 16:45:59 +0100 From: =?ISO-8859-1?Q?Peter_Ankerst=E5l?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121030 Thunderbird/10.0.10 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Poor iSCSI performance with istgt. References: <50AA3FCD.7030808@pean.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 15:46:08 -0000 On 11/19/2012 04:05 PM, Daniel Braniss wrote: >> >> On 11/19/2012 02:48 PM, Daniel Braniss wrote: >>> try increasing the tag opening - see camcontrol(8) >>> >>> danny >>> >>> >>> >> I tried camcontrol tags daX -N 32 (and a few different values) but cant >> see any change in speeds. >> >> (pass25:iscsi0:0:0:0): dev_openings 30 >> (pass25:iscsi0:0:0:0): dev_active 2 >> (pass25:iscsi0:0:0:0): devq_openings 30 >> (pass25:iscsi0:0:0:0): devq_queued 0 >> (pass25:iscsi0:0:0:0): held 0 >> (pass25:iscsi0:0:0:0): mintags 2 >> (pass25:iscsi0:0:0:0): maxtags 255 > > I think there is some magic to allow istgt to do tagging, but at the moment > can't find it, sorry. Hm! When increasing the tag openings to 8 (for example) I get extremley good reads. I saturate the network (arount 550MB/s). But writes becomes even more slow (around 1-2MB/s). So it seems the iscsi setup is capable of hadling the speeds I want but for some reason writes are f*ed up. From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 19:26:29 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B005B4B0 for ; Tue, 20 Nov 2012 19:26:29 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1BF8FC0C for ; Tue, 20 Nov 2012 19:26:28 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so3430617lbb.13 for ; Tue, 20 Nov 2012 11:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3qg70Pl9wDb3RsBho1kcu8JIPoq6aOSBKJH2ScL9TJ4=; b=tg/5hRnwSbUFK0/LdHzt7eN2BLsXJdbw7zv23fYbxtJnAB23dK/Z7ZZutp0c4ga/IC p07RfIrWFPWuy2vJgwWEBhF/dQZ+0kPoXkE7zK106pr14u9/juL5cAz/rtRqO/TeZeV7 q1vA4R2YAlSU3suJSaw3LRg3yrIuzqowYlJVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=3qg70Pl9wDb3RsBho1kcu8JIPoq6aOSBKJH2ScL9TJ4=; b=ZGtv/4TF6h1ZYeO4q2r2OlYmNeJKmXnH8KBd7KqDtzCN91DYGMwm0z8JzhLuztW0R3 excL9DXIIQDBRMLfvco8hiEQ9E+Iu9+qIhfNGBf+2hTVVko5KhBfwTphvLF7kkwM2haB DUC5SPDPkNC8XCGZtDi+YS6zsEfKo6pSdSZQJ327kBgY1NEtpuSLt26kM3cgurJwqG1k yh9bf/Mpdpv9fo3I/w6yZoeeyfN7TLUDgSlNG8N33HhKdIFaYfXiTjI/ZRX7UhLdUeAL TEvY9maAg4pbLwx8PPF9ZFmHFkbb26vrmZGw6jhZhngYfUcokvMonVMasvbRO2KMFa7l F9wA== Received: by 10.152.104.115 with SMTP id gd19mr15701720lab.13.1353439581561; Tue, 20 Nov 2012 11:26:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Tue, 20 Nov 2012 11:25:50 -0800 (PST) In-Reply-To: <176051353355653@web21f.yandex.ru> References: <50AA8C85.2000002@netfence.it> <176051353355653@web21f.yandex.ru> From: Eitan Adler Date: Tue, 20 Nov 2012 14:25:50 -0500 Message-ID: Subject: Re: Help review the FAQ To: Aldis Berjoza Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnljumko8rXmEfP24T+J3H5m/QGN0Pe6zlhvmF1Vy+t4o77XyiPg1UZRCU9af2JYW5wbR0Y Cc: freebsd-stable , Andrea Venturoli X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 19:26:29 -0000 On 19 November 2012 15:07, Aldis Berjoza wrote: > > > 19.11.2012, 22:04, "Andrea Venturoli" : >> On 11/19/12 18:44, Eitan Adler wrote: >> >>> Hey all, >>> >>> The FAQ for FreeBSD needs a significant amount of updating and >>> changing. The first step in that process is to figure out what needs >>> to be changed. >>> >>> If you can a take a moment and thoroughly review just one >>> question and add your comments and concerns it >>> would be immensely helpful. >>> >>> http://wiki.freebsd.org/ThwackAFAQ ... I've migrated the comments on the mailing list to the wiki and will working on fixing them shortly. Content patches are appreciated but not required. Ideally every row on the wiki will be either green or red. Fixing the content is a very long term project. -- Eitan Adler From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 20:40:03 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1328C1C8 for ; Tue, 20 Nov 2012 20:40:03 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) by mx1.freebsd.org (Postfix) with ESMTP id 81DF78FC08 for ; Tue, 20 Nov 2012 20:40:02 +0000 (UTC) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id CB2E35CAFE for ; Tue, 20 Nov 2012 21:31:59 +0100 (CET) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id Hd5MDpbXrmO1 for ; Tue, 20 Nov 2012 21:31:57 +0100 (CET) Received: from mail.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id E2F195CAFD for ; Tue, 20 Nov 2012 21:31:57 +0100 (CET) Received: from bsdmhs.longwitz (unknown [192.168.99.6]) by mail.incore (Postfix) with ESMTP id DE94A5083F for ; Tue, 20 Nov 2012 21:31:56 +0100 (CET) Message-ID: <50ABE8BC.1010904@incore.de> Date: Tue, 20 Nov 2012 21:31:56 +0100 From: Andreas Longwitz User-Agent: Thunderbird 2.0.0.19 (X11/20090113) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: page fault on verbose boot Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 20:40:03 -0000 One of my servers goes to page fault (only) on verbose boot. The backtrace looks a little like the one given in lists.freebsd.org/pipermail/freebsd-stable/2010-December/060704.html, therefore I append the information requested there. 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.3-STABLE #3: Mon Sep 24 11:29:54 CEST 2012 root@dsspbx1.incore:/usr/obj/usr/src/sys/SERVER i386 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0c41000. Preloaded elf module "/boot/modules/i4b.ko" at 0xc0c41188. Preloaded elf module "/boot/kernel/sppp.ko" at 0xc0c41234. Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 999721588 Hz CPU: Intel Pentium III (999.72-MHz 686-class CPU) Origin="GenuineIntel" Id=0x68a Family = 6 Model = 8 Stepping = 10 Features=0x387fbff FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR ,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE Instruction TLB: 4 KB pages, 4-way set associative, 32 entries Instruction TLB: 4 MB pages, fully associative, 2 entries Data TLB: 4 KB pages, 4-way set associative, 64 entries 2nd-level cache: 256 KB, 8-way set associative, 32 byte line size 1st-level instruction cache: 16 KB, 4-way set associative, 32 byte line size Data TLB: 4 MB Pages, 4-way set associative, 8 entries 1st-level data cache: 16 KB, 4-way set associative, 32 byte line size real memory = 1074790400 (1025 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages) 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages) 0x0000000001026000 - 0x000000003eda5fff, 1037565952 bytes (253312 pages) avail memory = 1036435456 (988 MB) Table 'FACP' at 0x3ffffafa Table 'APIC' at 0x3ffffb6e APIC: Found table at 0x3ffffb6e MP Configuration Table version 1.4 found at 0xc009f560 APIC: Using the MADT enumerator MADT: Found CPU APIC ID 0 ACPI ID 0: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 3 ACPI ID 1: enabled SMP: Added CPU 3 (AP) ACPI APIC Table: INTR: Adding local APIC 0 as a target FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 3 cpu1 (AP): APIC ID: 0 bios32: Found BIOS32 Service Directory header at 0xc00f6990 bios32: Entry = 0xfd85e (c00fd85e) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xfd7c0+0x397 pnpbios: Found PnP BIOS data at 0xc00f69c0 pnpbios: Entry = f0000:a934 Rev = 1.0 Other BIOS signatures found: x86bios: IVT 0x000000-0x0004ff at 0xc0000000 x86bios: SSEG 0x010000-0x01ffff at 0xc49c4000 x86bios: EBDA 0x09f000-0x09ffff at 0xc009f000 x86bios: ROM 0x0a0000-0x0effff at 0xc00a0000 APIC: CPU 0 has ACPI ID 1 APIC: CPU 1 has ACPI ID 0. ULE: setup cpu 0 ULE: setup cpu 1 ACPI: RSDP 0xf6910 00014 (v00 INTEL ) ACPI: RSDT 0x3fffa25c 00030 (v01 INTEL 024B 00000001 PTL 00000000) ACPI: FACP 0x3ffffafa 00074 (v01 INTEL 024B 00000001 PTL 00000000) ACPI: DSDT 0x3fffa28c 0586E (v01 INTEL 024B 00000001 MSFT 0100000A) ACPI: FACS 0x3fffffc0 00040 ACPI: APIC 0x3ffffb6e 0006A (v01 INTEL 024B 00000001 PTL 00000000) ACPI: BOOT 0x3ffffbd8 00028 (v01 INTEL 024B 00000001 PTL 00000000) MADT: Found IO APIC ID 4, Interrupt 0 at 0xfec00000 ioapic0: Routing external 8259A's -> intpin 0 MADT: Found IO APIC ID 5, Interrupt 16 at 0xfec01000 MADT: Interrupt override: source 9, irq 31 ioapic0: intpin 9 disabled lapic0: Routing NMI -> LINT1 lapic0: LINT1 trigger: edge lapic0: LINT1 polarity: high lapic3: Routing NMI -> LINT1 lapic3: LINT1 trigger: edge lapic3: LINT1 polarity: high ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard cpu0 BSP: ID: 0x03000000 VER: 0x00040011 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000100ef therm: 0x00000000 err: 0x000000f0 pmc: 0x00010400 fslock: pseudo-device null: random: io: mem: Pentium Pro MTRR support enabled netsmb_dev: loaded CPU0: local APIC error 0x80 acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 31 ioapic1: routing intpin 15 (PCI IRQ 31) to lapic 3 vector 48 acpi0: [MPSAFE] acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: wakeup code va 0xc49be000 pa 0x1000 pci_open(1): mode 1 addr port (0x0cf8) is 0x80015864 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=00091166) pcibios: BIOS version 2.10 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x404-0x407 on acpi0 cpu0: on acpi0 cpu0: switching to generic Cx mode cpu1: on acpi0 acpi_ec0: port 0xca6,0xca7 on acpi0 pci_link0: Index IRQ Rtd Ref IRQs Initial Probe 0 255 N 0 5 10 Validation 0 255 N 0 5 10 After Disable 0 255 N 0 5 10 pci_link1: Index IRQ Rtd Ref IRQs Initial Probe 0 14 N 0 14 Validation 0 14 N 0 14 After Disable 0 255 N 0 14 ... ioapic1: routing intpin 2 (PCI IRQ 18) to lapic 3 vector 49 ioapic1: routing intpin 2 (PCI IRQ 18) to lapic 3 vector 49 ioapic1: routing intpin 7 (PCI IRQ 23) to lapic 3 vector 51 ioapic1: routing intpin 8 (PCI IRQ 24) to lapic 3 vector 52 ioapic1: routing intpin 9 (PCI IRQ 25) to lapic 3 vector 53 ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 3 vector 54 ioapic1: routing intpin 4 (PCI IRQ 20) to lapic 3 vector 55 ioapic1: routing intpin 5 (PCI IRQ 21) to lapic 3 vector 56 ioapic0: Changing trigger for pin 8 to level ioapic0: Changing polarity for pin 8 to low ioapic0: routing intpin 4 (ISA IRQ 4) to lapic 3 vector 57 ioapic0: routing intpin 3 (ISA IRQ 3) to lapic 3 vector 58 ioapic0: routing intpin 6 (ISA IRQ 6) to lapic 3 vector 59 ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 3 vector 60 ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 3 vector 61 lapic: Divisor 2, Frequency 66648108 Hz Timecounter "TSC" frequency 999721588 Hz quality -100 Timecounters tick every 1.000 msec ... SMP: AP CPU #1 Launched! cpu1 AP: ID: 0x00000000 VER: 0x00040011 LDR: 0x00000000 DFR: 0xffffffff lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff timer: 0x000200ef therm: 0x00000000 err: 0x000000f0 pmc: 0x00010400 ioapic0: routing intpin 3 ( ISA IRQ 3) to lapic 0 vector 48 CPU1: local APIC error 0x80 flowtable cleaner started ioapic0: routing intpin 6 (ISA IRQ 6) to lapic 0 vector 49 ioapic0: routing intpin 14 (ISA IRQ 14) to lapic 0 vector 50 ioapic1: routing intpin 4 (PCI IRQ 20) to lapic 0 vector 51 ioapic1: routing intpin 7 (PCI IRQ 23) to lapic 0 vector 52 ioapic1: routing intpin 9 (PCI IRQ 25) to lapic 0 vector 53 ioapic1: routing intpin 15 (PCI IRQ 31) to lapic 0 vector 54 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 03 fault virtual address = 0xf000e2c3 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08e8e15 stack pointer = 0x28:0xc1020c78 frame pointer = 0x28:0xc1020c90 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (swapper) [thread pid 0 tid 100000 ] Stopped at intr_execute_handlers+0x15: addl $0x1,0(%eax) db> call doadump Cannot dump. Device not defined or unavailable. db> panic panic: from debugger cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper(c0984233,c04e4943,1,c098203e,c1020980,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c09a2e37,0,c0958ccd,c10209cc,0,...) at kdb_backtrace+0x2a panic(c0958ccd,c1020a90,c04e3881,c08e8e15,0,...) at panic+0x15c db_panic(c08e8e15,0,ffffffff,c1020a08,1,...) at db_panic+0x17 db_command(c0958d7c,c1020af0,c04e592d,c09a132b,c08f2ee3,...) at db_command+0x381 db_command_loop(c09a132b,c08f2ee3,fb,0,0,...) at db_command_loop+0x5a db_trap(c,0,1,246,2,...) at db_trap+0xdd kdb_trap(c,0,c1020c38,1,1,...) at kdb_trap+0xa8 trap_fatal(c17dc000,f000e000,2,0,c,...) at trap_fatal+0x2df trap_pfault(c09a3805,c,c1020bb8,c08ee8e0,c0a350a0,...) at trap_pfault+0x2de trap(c1020c38) at trap+0x3f3 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc08e8e15, esp = 0xc1020c78, ebp = 0xc1020c90 --- intr_execute_handlers(0,c1020cb4,3,c1020cf8,c08e4625,...) at intr_execute_handlers+0x15 lapic_handle_intr(36,c1020cb4) at lapic_handle_intr+0x4c Xapic_isr1() at Xapic_isr1+0x35 --- interrupt, eip = 0xc08ee8fb, esp = 0xc1020cf4, ebp = 0xc1020cf8 --- spinlock_exit(c09a1e2e,0,36,3,c1020d38,...) at spinlock_exit+0x2b ioapic_assign_cpu(c4d1565c,0,0,0,c08f3d29,...) at ioapic_assign_cpu+0x2b0 intr_shuffle_irqs(0,101ec00,101ec00,101e000,1025000,...) at intr_shuffle_irqs+0xba mi_startup() at mi_startup+0xac begin() at begin+0x2c --------------------- >From running kernel (normal boot) using kgdb: (kgdb) l *intr_execute_handlers+0x15 0xc08e8e15 is in intr_execute_handlers (/usr/src/sys/i386/i386/intr_machdep.c:234). 229 * We count software interrupts when we process them. The 230 * code here follows previous practice, but there's an 231 * argument for counting hardware interrupts when they're 232 * processed too. 233 */ 234 (*isrc->is_count)++; 235 PCPU_INC(cnt.v_intr); 236 237 ie = isrc->is_event; 238 (kgdb) l *ioapic_assign_cpu+0x2b0 0xc08ea3f0 is in ioapic_assign_cpu (/usr/src/sys/i386/i386/io_apic.c:385). 380 381 /* 382 * Free the old vector after the new one is established. This is done 383 * to prevent races where we could miss an interrupt. 384 */ 385 if (old_vector) { 386 if (isrc->is_handlers > 0) 387 apic_disable_vector(old_id, old_vector); 388 apic_free_vector(old_id, old_vector, intpin->io_irq); 389 } (kgdb) quit Maybe there is an interrupt problem with this server, because $PIR is broken (has size 0): PIRTOOL (c) 2002-2006 Bruce M. Simpson --------------------------------------------- PCI Interrupt Routing Table at 0x000FDF10 ----------------------------------------- 0x00: Signature: $PIR 0x04: Version: 1.0 0x06: Size: 0 bytes (268435454 entries) 0x08: Device: 255:31:7 0x0a: PCI Exclusive IRQs: none 0x0c: Compatible with: 0x00000000 unknown chipset 0x10: Miniport Data: 0x00000000 0x1f: Checksum: 0x00 Entry Location Bus Device Pin Link IRQs Otherwise the (shortened) output of mptable looks good: =============================================== MPTable ----------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000f6900 signature: '_MP_' length: 16 bytes version: 1.4 checksum: 0x42 mode: Virtual Wire ------------------------------------------------ MP Config Table Header: physical address: 0x0009f560 signature: 'PCMP' base table length: 292 version: 1.4 checksum: 0xbf OEM ID: 'INTEL ' Product ID: 'STL2 ' OEM table pointer: 0x00000000 OEM table size: 0 entry count: 28 local APIC address: 0xfee00000 extended table length: 260 extended table checksum: 251 -------------------------------------------------- MP Config Base Table Entries: -- Processors: APIC ID Version State Family Model Step Flags 3 0x11 BSP, usable 6 8 10 0x387fbff 0 0x11 AP, usable 6 8 10 0x387fbff -- Bus: Bus ID Type 0 PCI 1 PCI 2 ISA -- I/O APICs: APIC ID Version State Address 4 0x11 usable 0xfec00000 5 0x11 usable 0xfec01000 -- I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 4 0 INT active-hi edge 2 1 4 1 INT active-hi edge 2 3 4 3 INT active-hi edge 2 4 4 4 INT active-lo level 0 6:A 5 10 INT active-hi edge 2 6 4 6 INT active-hi edge 2 7 4 7 INT active-hi edge 2 8 4 8 INT active-lo level 0 7:A 5 7 INT active-lo level 0 3:A 5 2 INT active-lo level 0 2:A 5 3 INT active-hi edge 2 12 4 12 INT active-hi edge 2 13 4 13 INT active-hi edge 2 14 4 14 INT active-hi edge 2 15 4 15 INT active-lo level 0 8:A 5 8 INT active-lo level 0 9:A 5 9 INT active-lo level 1 10:A 5 4 INT active-lo level 1 11:A 5 5 -- Local Ints:Type Polarity Trigger Bus ID IRQ APIC ID PIN# ExtINT active-hi edge 2 0 255 0 NMI active-hi edge 0 0:A 255 1 I can easy reproduce this problem, hints for ddb commands suitable for debugging are welcome. -- Andreas Longwitz From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 08:44:29 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 83E52645 for ; Wed, 21 Nov 2012 08:44:29 +0000 (UTC) (envelope-from frank_s@bellsouth.net) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [204.127.217.104]) by mx1.freebsd.org (Postfix) with ESMTP id 6384D8FC0C for ; Wed, 21 Nov 2012 08:44:29 +0000 (UTC) Received: from ace.nina.org (adsl-98-70-38-239.gnv.bellsouth.net[98.70.38.239]) by isp.att.net (frfwmhc04) with SMTP id <20121121084423H0400apfmje>; Wed, 21 Nov 2012 08:44:23 +0000 X-Originating-IP: [98.70.38.239] Date: Wed, 21 Nov 2012 03:44:22 -0500 (EST) From: Frank Seltzer X-X-Sender: frank_s@Ace.nina.org To: "Sergey V. Dyatko" Subject: Re: Node conflicts in SVN In-Reply-To: <20121120092708.501e3f3a@laptop> Message-ID: References: <20121120092708.501e3f3a@laptop> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 08:44:29 -0000 On Tue, 20 Nov 2012, Sergey V. Dyatko wrote: > Can you run `svn status`? What does it show ? > > -- > wbr, tiger 'svn status > stat' creates a 5.5 meg file mostly consisting of lines like: D Mk/bsd.apache.mk D Mk/bsd.autotools.mk D Mk/bsd.cmake.mk D Mk/bsd.commands.mk D Mk/bsd.cran.mk D Mk/bsd.database.mk D Mk/bsd.destdir.mk D Mk/bsd.drupal.mk D Mk/bsd.efl.mk etc. I can forward this file to you if you would like to take a look at it. Following that with 'grep -A1 C\ stat' shows 217 lines similar to these: D C accessibility > local unversioned, incoming add upon update -- D C arabic > local unversioned, incoming add upon update -- D C archivers > local unversioned, incoming add upon update -- D C astro > local unversioned, incoming add upon update -- D C audio > local unversioned, incoming add upon update It's up to 27 now (see below). Again, this is on 3 separate boxes, none running csup, cvsup or anything else but 'svn co'. Updating '.': Skipped 'MOVED' -- Node remains in conflict Skipped 'irc' -- Node remains in conflict Skipped 'net-p2p' -- Node remains in conflict Skipped 'games' -- Node remains in conflict Skipped 'sysutils' -- Node remains in conflict Skipped 'textproc' -- Node remains in conflict Skipped 'net' -- Node remains in conflict Skipped 'japanese' -- Node remains in conflict Skipped 'databases' -- Node remains in conflict Skipped 'graphics' -- Node remains in conflict Skipped 'security' -- Node remains in conflict Skipped 'x11-fm' -- Node remains in conflict Skipped 'dns' -- Node remains in conflict Skipped 'www' -- Node remains in conflict Skipped 'archivers' -- Node remains in conflict Skipped 'astro' -- Node remains in conflict Skipped 'math' -- Node remains in conflict Skipped 'devel' -- Node remains in conflict Skipped 'audio' -- Node remains in conflict Skipped 'Mk' -- Node remains in conflict Skipped 'deskutils' -- Node remains in conflict Skipped 'mail' -- Node remains in conflict Skipped 'net-mgmt' -- Node remains in conflict Skipped 'net-im' -- Node remains in conflict Skipped 'multimedia' -- Node remains in conflict Skipped 'finance' -- Node remains in conflict Skipped 'ftp' -- Node remains in conflict At revision 307611. Summary of conflicts: Skipped paths: 27 Frank From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 09:57:57 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61682EB1 for ; Wed, 21 Nov 2012 09:57:57 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 152B88FC0C for ; Wed, 21 Nov 2012 09:57:56 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id A4A2B15343E for ; Wed, 21 Nov 2012 10:57:54 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TGybanZjexi6 for ; Wed, 21 Nov 2012 10:57:54 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 43EC615343B for ; Wed, 21 Nov 2012 10:57:54 +0100 (CET) Message-ID: <50ACA59D.3080809@digiware.nl> Date: Wed, 21 Nov 2012 10:57:49 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: "stable@freebsd.org" Subject: Increasing the DMESG buffer.... X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 09:57:57 -0000 Hi, As a next question to my building this server. I'm nogt able to get a full verbose dmesg. Probably because the kernelbuffer for it is too small. I know there used to be a kernel option to increase it. But I can not find it with the setting in NOTES or any other place I looked.... Is it still there? Thanx, --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 10:04:50 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B30BA0 for ; Wed, 21 Nov 2012 10:04:50 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 037C78FC14 for ; Wed, 21 Nov 2012 10:04:49 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 65CE3153445 for ; Wed, 21 Nov 2012 10:55:41 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ytdktJHg-pw8 for ; Wed, 21 Nov 2012 10:55:40 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id D5E86153442 for ; Wed, 21 Nov 2012 10:55:40 +0100 (CET) Message-ID: <50ACA518.4050309@digiware.nl> Date: Wed, 21 Nov 2012 10:55:36 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: "stable@freebsd.org" Subject: Some new hardware with 9.1 does not reboot easily X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 10:04:50 -0000 Hoi, I'm building some new hardware for a customer, and given that 9.1 is about to be around the corner, I installed 9.1-stable. svn from last night.... Trouble is that a reboot takes for ever... Same with shutdown -r now... What happens is: services get killed we end with all buffers synced. Then the systems is idle for like 30 secs (or more) And then after a while I go CTRL-ALT-DEL to see what happens..... Which gets me: shared obj libpcre.so.1 not found, required by postfix Writing entropy file Terminated. Init some proccess would not die; ps axl advised And the I get the std shutdown kernel messages again, but then with time-outs. Waiting (max 60 sec) for system process 'vnlru' to stop ... timed out Waiting (max 60 sec) for system process 'bufdeamon' to stop ... timed out Waiting (max 60 sec) for system process 'syncer' to stop ... timed out And then it reboots.... Now why is that? Rebooting it on the 9.0-RELEASE memory stick seems to work just fine. Thanx, --WjW The hardware: Supermicro motherboard: X9SRi-3F (Sandy bridge) AMI bios 1.0a E5-1260 XEON 64Gb EEC memory LSI diskcontroller mps0@pci0:8:0:0: class=0x010700 card=0x30201000 chip=0x00721000 rev=0x03 hdr=0x00 vendor = 'LSI Logic / Symbios Logic' device = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]' class = mass storage subclass = SAS 4* Seagata ATA (2 on LSI, 2 on motherboard) 4* Seagate SAS (ALL on LSI) 2* Intel SSD (connected to ATA on motherboard) The system is completely ZFS, with a 4-way mirror on the ATA seagates as zfsboot From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 10:14:32 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A467E243 for ; Wed, 21 Nov 2012 10:14:32 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 3166B8FC13 for ; Wed, 21 Nov 2012 10:14:31 +0000 (UTC) Received: from server.rulingia.com (c220-239-241-202.belrs5.nsw.optusnet.com.au [220.239.241.202]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id qALAEHRB016510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 21 Nov 2012 21:14:18 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id qALAEBGF060440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Nov 2012 21:14:11 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id qALAEBVp060439; Wed, 21 Nov 2012 21:14:11 +1100 (EST) (envelope-from peter) Date: Wed, 21 Nov 2012 21:14:11 +1100 From: Peter Jeremy To: Willem Jan Withagen Subject: Re: Increasing the DMESG buffer.... Message-ID: <20121121101411.GG4535@server.rulingia.com> References: <50ACA59D.3080809@digiware.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8TaQrIeukR7mmbKf" Content-Disposition: inline In-Reply-To: <50ACA59D.3080809@digiware.nl> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 10:14:32 -0000 --8TaQrIeukR7mmbKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Nov-21 10:57:49 +0100, Willem Jan Withagen wrote: >Probably because the kernelbuffer for it is too small. >I know there used to be a kernel option to increase it. >But I can not find it with the setting in NOTES or any other place I >looked.... # Size of the kernel message buffer. Should be N * pagesize. options MSGBUF_SIZE=3D40960 --=20 Peter Jeremy --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCsqXMACgkQ/opHv/APuId7bwCeIkZoTFtJ2KwhlaLh9J+YPAun wnYAn1tBcIzQoaZUcE9XpcpAcu19gXu6 =ST0u -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf-- From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 10:42:16 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 599C5B3E for ; Wed, 21 Nov 2012 10:42:16 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id CDD9F8FC13 for ; Wed, 21 Nov 2012 10:42:15 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Tb7ky-00079A-CT; Wed, 21 Nov 2012 11:42:13 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Tb7kx-0004I8-W0; Wed, 21 Nov 2012 11:42:11 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "Sergey V. Dyatko" , "Frank Seltzer" Subject: Re: Node conflicts in SVN References: <20121120092708.501e3f3a@laptop> Date: Wed, 21 Nov 2012 11:42:13 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.11 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.0 X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=disabled version=3.2.5 X-Scan-Signature: 6c56b5a68734eff3bb82063186e8a5cf Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 10:42:16 -0000 On Wed, 21 Nov 2012 09:44:22 +0100, Frank Seltzer wrote: > > > On Tue, 20 Nov 2012, Sergey V. Dyatko wrote: > >> Can you run `svn status`? What does it show ? >> >> -- wbr, tiger > > 'svn status > stat' creates a 5.5 meg file mostly consisting of lines > like: > > D Mk/bsd.apache.mk > D Mk/bsd.autotools.mk > D Mk/bsd.cmake.mk > D Mk/bsd.commands.mk > D Mk/bsd.cran.mk > D Mk/bsd.database.mk > D Mk/bsd.destdir.mk > D Mk/bsd.drupal.mk > D Mk/bsd.efl.mk > > etc. I can forward this file to you if you would like to take a look at > it. > > Following that with 'grep -A1 C\ stat' shows 217 lines similar to these: > > D C accessibility > > local unversioned, incoming add upon update > -- > D C arabic > > local unversioned, incoming add upon update > -- > D C archivers > > local unversioned, incoming add upon update > -- > D C astro > > local unversioned, incoming add upon update > -- > D C audio > > local unversioned, incoming add upon update > > It's up to 27 now (see below). Again, this is on 3 separate boxes, none > running csup, cvsup or anything else but 'svn co'. > > Updating '.': > Skipped 'MOVED' -- Node remains in conflict > Skipped 'irc' -- Node remains in conflict > Skipped 'net-p2p' -- Node remains in conflict > Skipped 'games' -- Node remains in conflict > Skipped 'sysutils' -- Node remains in conflict > Skipped 'textproc' -- Node remains in conflict > Skipped 'net' -- Node remains in conflict > Skipped 'japanese' -- Node remains in conflict > Skipped 'databases' -- Node remains in conflict > Skipped 'graphics' -- Node remains in conflict > Skipped 'security' -- Node remains in conflict > Skipped 'x11-fm' -- Node remains in conflict > Skipped 'dns' -- Node remains in conflict > Skipped 'www' -- Node remains in conflict > Skipped 'archivers' -- Node remains in conflict > Skipped 'astro' -- Node remains in conflict > Skipped 'math' -- Node remains in conflict > Skipped 'devel' -- Node remains in conflict > Skipped 'audio' -- Node remains in conflict > Skipped 'Mk' -- Node remains in conflict > Skipped 'deskutils' -- Node remains in conflict > Skipped 'mail' -- Node remains in conflict > Skipped 'net-mgmt' -- Node remains in conflict > Skipped 'net-im' -- Node remains in conflict > Skipped 'multimedia' -- Node remains in conflict > Skipped 'finance' -- Node remains in conflict > Skipped 'ftp' -- Node remains in conflict > At revision 307611. > Summary of conflicts: > Skipped paths: 27 > > Frank http://svnbook.red-bean.com/en/1.2/svn.ref.svn.c.status.html 'D' Item is scheduled for Deletion. Your files are marked deleted at your host. And it complains that it gets an update from the server for a file which is deleted locally. Something f*cked up your ports tree. The solution for you is to remove /usr/ports and do a new checkout. Ronald. From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 11:04:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE7511F8 for ; Wed, 21 Nov 2012 11:04:41 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 670F38FC0C for ; Wed, 21 Nov 2012 11:04:40 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so5907109qcs.13 for ; Wed, 21 Nov 2012 03:04:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ldluro+RLO46FJXWxe9x1BcJyF2cdSwPlcYBv3txRdA=; b=v97GDtYcbphior2yfJPHLk3N9FsjS46rO5lmYLPPn+m2Dxi2EvHtbdKbD1AryKYFm7 oof3Uzm8KmLUm6+K2WJxRLJl4TMNJPm/iAcuHzBmLhceJ2UzEIQvP6vi471x116AN0uI k9961oWddolAB68FZZhV/DJ8NxowFlWFi3b9M+jrXsRlZS5+AkT+TEzMX68R80IZFMWt GO/aDuPXEx6d39QtqPPB61SohMrSLYD8uzrNebhVx919GIkA9KsbWEMAxLyRHdy61gQp jIwoLTjiHKKCOMhSBMjchTY/ycF+syli/gMrXVeq5E56se3N+/BWlvqGBzrF/9PsOnwo /7eA== MIME-Version: 1.0 Received: by 10.224.188.13 with SMTP id cy13mr17630250qab.42.1353495873669; Wed, 21 Nov 2012 03:04:33 -0800 (PST) Received: by 10.49.127.49 with HTTP; Wed, 21 Nov 2012 03:04:33 -0800 (PST) In-Reply-To: References: <20121120092708.501e3f3a@laptop> Date: Wed, 21 Nov 2012 11:04:33 +0000 Message-ID: Subject: Re: Node conflicts in SVN From: Tom Evans To: Frank Seltzer Content-Type: text/plain; charset=UTF-8 Cc: "Sergey V. Dyatko" , freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 11:04:42 -0000 On Wed, Nov 21, 2012 at 8:44 AM, Frank Seltzer wrote: > Following that with 'grep -A1 C\ stat' shows 217 lines similar to these: > > D C accessibility > > local unversioned, incoming add upon update This says that svn has an entry for a file/directory named 'accessibility', but that a file/directory named 'accessibility' already exists on disk, and did not come from a svn checkout - ie, 'accessibility' is in /usr/ports/.svn/entries, but there is no /usr/ports/accessibility/.svn . When you do an 'svn up' now, there is a conflict - an unversioned resource is in the way of checking out a versioned resource, and the unversioned one should be deleted, so this is why it says "D" and "C". Something has trashed your ports tree, re-check it out. You were pretty adamant that you didn't check out ports over an existing tree, which would explain this, I wonder what else it could be. Do you (or did you) run portsnap? I wonder if that could trash a working copy like this. Cheers Tom From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 12:10:09 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0639421 for ; Wed, 21 Nov 2012 12:10:08 +0000 (UTC) (envelope-from nonesuch@longcount.org) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 98F438FC14 for ; Wed, 21 Nov 2012 12:10:08 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id t11so1609288qaa.13 for ; Wed, 21 Nov 2012 04:10:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=WrwjPlah3fDkuwnHTJE6nHpztkc6p97GhPBC2AM8jrc=; b=GeT0/69K/D6JNStgT8TNB76orGD03xm4gYd/FjlMGmpZaFrD7AusslOOzT3RW/EH54 k94WmSg2yo6AptO0BTjjToLhFtKz+I8hPkkQ48fxz+rnDzEYkC83mqNQX+8EG1wvxUxn d5RwZyry4yKhuAO1C5/J5aHzNNAHP1XRMg+es26hu0qJE6oOsCBlGc4LVqYwanLaC9zx Vo1gAbfpB8A0O56yJOlZIzJcaPW5BC6PvL6uARPmbNxc75qE+xPpheVT7R02/U6O2XF6 NXfoKzCzFIRRyCI8P3NV0eMJjZhwD3P8WRfNEWPbjk796xYbirfQM0FzQWFbOEd6ED4l DjVg== Received: by 10.49.1.194 with SMTP id 2mr20512954qeo.56.1353499807655; Wed, 21 Nov 2012 04:10:07 -0800 (PST) Received: from [192.168.11.110] (ool-4a58bea2.dyn.optonline.net. [74.88.190.162]) by mx.google.com with ESMTPS id fl1sm130774qab.14.2012.11.21.04.10.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 04:10:06 -0800 (PST) References: <50A372EC.5080002@freebsd.org> In-Reply-To: <50A372EC.5080002@freebsd.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <2068A84F-0B1F-43B3-AAE8-5A8442C0B327@longcount.org> X-Mailer: iPhone Mail (9B206) From: Mark Saad Subject: Re: Looking for bge(4) , bce(4) and igb(4) cards Date: Wed, 21 Nov 2012 07:10:04 -0500 To: "andre@freebsd.org" X-Gm-Message-State: ALoCoQnmCJOf1iRLTZ1169IJ2k6Qq98ekwUsNGMe5C5enTpPYm++A0ZS61YgV/6FlOesto5vZHb7 Cc: "freebsd-net@freebsd.org" , "freebsd-current@freebsd.org" , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 12:10:09 -0000 Andre I'll try to do it today or next monday when I get back from vacation . The= y are all hp branded nic's . I ordered them with in the last few years to us= e in place of bce nic's on the main boards of hp servers .=20 --- On Nov 14, 2012, at 5:31 AM, Andre Oppermann wrote: > Hello >=20 > I currently working on a number of drivers for popular network > cards and extend them with automatic hybrid interrupt/polling > ithread processing with life-lock prevention (so that the driver > can't consume all CPU when under heavy load or attack). >=20 > To properly test this I need the proper hardware as PCIe network > cards: >=20 > bge(4) Broadcom BCM57xx/BCM590x > bce(4) Broadcom NetXtreme II (BCM5706/5708/5709/5716) > igb(4) Intel PRO/1000 i82575, i82576, i82580, i210, i350 >=20 > If you have one of these and can spare it I'd be very glad if > you could send it to me. I'm located in Switzerland/Europe. > I can reply to you privately to give you my shipping address. >=20 >=20 > Of course if you have any other PCIe Gigabit Ethernet cards > with a driver in FreeBSD I'm interested in receiving one as > well. Of particular interest are: >=20 > em(4) Intel i82571 to i82573 > lem(4) Intel i82540 to i82546 > age(4) Atheros L1 GigE > ??? anything else 1GigE with PCIe >=20 >=20 > The same goes for 10 Gigabit Ethernet but the setup is a bit > more involved and I haven't done that yet, but will do soon > (the issue being expensive SPF+ optics): >=20 > bxe(4) Broadcom BCM5771x 10GigE > cxbge(4) Chelsio T4 10GigE > ixgbe(4) Intel i82598 and i82599 10GigE > mxge(4) Myricom Myri10G > qlxgb(4) QLogic 3200 and 8200 10GigE > sfxge(4) Solarflare >=20 > Many thanks for your support! >=20 > --=20 > Andre > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 13:20:43 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53C604D3 for ; Wed, 21 Nov 2012 13:20:43 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 080D78FC08 for ; Wed, 21 Nov 2012 13:20:42 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id CB39115343E; Wed, 21 Nov 2012 14:20:39 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GiUJMglfjPlO; Wed, 21 Nov 2012 14:20:39 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 3A39815343B; Wed, 21 Nov 2012 14:20:39 +0100 (CET) Message-ID: <50ACD522.7000706@digiware.nl> Date: Wed, 21 Nov 2012 14:20:34 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Peter Jeremy Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> In-Reply-To: <20121121101411.GG4535@server.rulingia.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 13:20:43 -0000 On 2012-11-21 11:14, Peter Jeremy wrote: > On 2012-Nov-21 10:57:49 +0100, Willem Jan Withagen wrote: >> Probably because the kernelbuffer for it is too small. >> I know there used to be a kernel option to increase it. >> But I can not find it with the setting in NOTES or any other place I >> looked.... > > # Size of the kernel message buffer. Should be N * pagesize. > options MSGBUF_SIZE=40960 > Right, That was the one.... Thanx Peter --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 15:08:36 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31A2CF3C for ; Wed, 21 Nov 2012 15:08:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6BF8FC0C for ; Wed, 21 Nov 2012 15:08:34 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA11880; Wed, 21 Nov 2012 17:08:11 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50ACEE5B.8000901@FreeBSD.org> Date: Wed, 21 Nov 2012 17:08:11 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> In-Reply-To: <50ACD522.7000706@digiware.nl> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Peter Jeremy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 15:08:36 -0000 on 21/11/2012 15:20 Willem Jan Withagen said the following: > On 2012-11-21 11:14, Peter Jeremy wrote: >> On 2012-Nov-21 10:57:49 +0100, Willem Jan Withagen wrote: >>> Probably because the kernelbuffer for it is too small. >>> I know there used to be a kernel option to increase it. >>> But I can not find it with the setting in NOTES or any other place I >>> looked.... >> >> # Size of the kernel message buffer. Should be N * pagesize. >> options MSGBUF_SIZE=40960 >> > > Right, > > That was the one.... Alternatively you could set kern.msgbufsize tunable. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 15:10:59 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05DF7EC for ; Wed, 21 Nov 2012 15:10:59 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC358FC16 for ; Wed, 21 Nov 2012 15:10:57 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA11938; Wed, 21 Nov 2012 17:10:56 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50ACEEFF.8010001@FreeBSD.org> Date: Wed, 21 Nov 2012 17:10:55 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> In-Reply-To: <50ACA518.4050309@digiware.nl> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 15:10:59 -0000 on 21/11/2012 11:55 Willem Jan Withagen said the following: > Hoi, > > I'm building some new hardware for a customer, and given that 9.1 is > about to be around the corner, I installed 9.1-stable. > > svn from last night.... > > Trouble is that a reboot takes for ever... > Same with shutdown -r now... > > What happens is: > services get killed > we end with all buffers synced. > > Then the systems is idle for like 30 secs (or more) At this stage try to enter ddb and run ps in it. Maybe you could spot something interesting / obvious. > And then after a while I go CTRL-ALT-DEL to see what happens..... > Which gets me: > > shared obj libpcre.so.1 not found, required by postfix > Writing entropy file > Terminated. > Init some proccess would not die; ps axl advised > > And the I get the std shutdown kernel messages again, but then with > time-outs. > Waiting (max 60 sec) for system process 'vnlru' to stop ... timed out > Waiting (max 60 sec) for system process 'bufdeamon' to stop ... timed out > Waiting (max 60 sec) for system process 'syncer' to stop ... timed out > > And then it reboots.... > > Now why is that? > Rebooting it on the 9.0-RELEASE memory stick seems to work just fine. > > Thanx, > --WjW > > The hardware: > Supermicro motherboard: X9SRi-3F > (Sandy bridge) > AMI bios 1.0a > E5-1260 XEON > 64Gb EEC memory > LSI diskcontroller > mps0@pci0:8:0:0: class=0x010700 card=0x30201000 chip=0x00721000 > rev=0x03 hdr=0x00 > vendor = 'LSI Logic / Symbios Logic' > device = 'SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon]' > class = mass storage > subclass = SAS > > 4* Seagata ATA (2 on LSI, 2 on motherboard) > 4* Seagate SAS (ALL on LSI) > 2* Intel SSD (connected to ATA on motherboard) > > The system is completely ZFS, with a 4-way mirror on the ATA seagates as > zfsboot > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 15:46:45 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AED90A9B; Wed, 21 Nov 2012 15:46:45 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 604998FC08; Wed, 21 Nov 2012 15:46:44 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id C763415343E; Wed, 21 Nov 2012 16:46:43 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6aJ16f6h1sk7; Wed, 21 Nov 2012 16:46:43 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 4D43B15343B; Wed, 21 Nov 2012 16:46:43 +0100 (CET) Message-ID: <50ACF75E.9020503@digiware.nl> Date: Wed, 21 Nov 2012 16:46:38 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> In-Reply-To: <50ACEEFF.8010001@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 15:46:45 -0000 On 2012-11-21 16:10, Andriy Gapon wrote: > on 21/11/2012 11:55 Willem Jan Withagen said the following: >> Hoi, >> >> I'm building some new hardware for a customer, and given that 9.1 is >> about to be around the corner, I installed 9.1-stable. >> >> svn from last night.... >> >> Trouble is that a reboot takes for ever... >> Same with shutdown -r now... >> >> What happens is: >> services get killed >> we end with all buffers synced. >> >> Then the systems is idle for like 30 secs (or more) > > At this stage try to enter ddb and run ps in it. > Maybe you could spot something interesting / obvious. Tried that but probably will need to rebuild the kernel for that to work. Only KDB stuff is build.... Well the fact that postfix gets a reclamation on libpcre sort of indicates that it was still running.... But we'll give it a shot. Compiling a kernel is faster than rebooting. :) --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 15:51:56 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CFB5AD4C; Wed, 21 Nov 2012 15:51:56 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD1D8FC08; Wed, 21 Nov 2012 15:51:55 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id AD09015343E; Wed, 21 Nov 2012 16:51:50 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VyogJB-GqStQ; Wed, 21 Nov 2012 16:51:50 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 12B9315343B; Wed, 21 Nov 2012 16:51:50 +0100 (CET) Message-ID: <50ACF891.4050105@digiware.nl> Date: Wed, 21 Nov 2012 16:51:45 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> In-Reply-To: <50ACEE5B.8000901@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Peter Jeremy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 15:51:57 -0000 On 2012-11-21 16:08, Andriy Gapon wrote: > on 21/11/2012 15:20 Willem Jan Withagen said the following: >> On 2012-11-21 11:14, Peter Jeremy wrote: >>> On 2012-Nov-21 10:57:49 +0100, Willem Jan Withagen wrote: >>>> Probably because the kernelbuffer for it is too small. >>>> I know there used to be a kernel option to increase it. >>>> But I can not find it with the setting in NOTES or any other place I >>>> looked.... >>> >>> # Size of the kernel message buffer. Should be N * pagesize. >>> options MSGBUF_SIZE=40960 >>> >> >> Right, >> >> That was the one.... > > > Alternatively you could set kern.msgbufsize tunable. That is a fresh new one for me. Now you tell me.... :) after I've started compiling a new kernel. Need to set that in loader.conf. Thanx, --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 16:02:03 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1643BE1; Wed, 21 Nov 2012 16:02:03 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 6060F8FC14; Wed, 21 Nov 2012 16:01:37 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qALG1aBt088123; Wed, 21 Nov 2012 09:01:36 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qALG1XPY032072; Wed, 21 Nov 2012 09:01:33 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: Increasing the DMESG buffer.... From: Ian Lepore To: Willem Jan Withagen In-Reply-To: <50ACF891.4050105@digiware.nl> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> Content-Type: text/plain; charset="us-ascii" Date: Wed, 21 Nov 2012 09:01:32 -0700 Message-ID: <1353513692.69940.7.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Peter Jeremy , Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 16:02:03 -0000 On Wed, 2012-11-21 at 16:51 +0100, Willem Jan Withagen wrote: > On 2012-11-21 16:08, Andriy Gapon wrote: > > on 21/11/2012 15:20 Willem Jan Withagen said the following: > >> On 2012-11-21 11:14, Peter Jeremy wrote: > >>> On 2012-Nov-21 10:57:49 +0100, Willem Jan Withagen wrote: > >>>> Probably because the kernelbuffer for it is too small. > >>>> I know there used to be a kernel option to increase it. > >>>> But I can not find it with the setting in NOTES or any other place I > >>>> looked.... > >>> > >>> # Size of the kernel message buffer. Should be N * pagesize. > >>> options MSGBUF_SIZE=40960 > >>> > >> > >> Right, > >> > >> That was the one.... > > > > > > Alternatively you could set kern.msgbufsize tunable. > > That is a fresh new one for me. > Now you tell me.... :) after I've started compiling a new kernel. > > Need to set that in loader.conf. > > Thanx, > --WjW You know what would be great? Have this value auto-tune itself upwards if bootverbose is true. The sound drivers now spit out so much stuff with bootverbose true that you need like a 128k buffer to see the early boot messages. -- Ian From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 16:08:21 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 882DB276 for ; Wed, 21 Nov 2012 16:08:21 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D130F8FC16 for ; Wed, 21 Nov 2012 16:08:20 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA12810; Wed, 21 Nov 2012 18:08:13 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50ACFC6C.8070506@FreeBSD.org> Date: Wed, 21 Nov 2012 18:08:12 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Ian Lepore Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> In-Reply-To: <1353513692.69940.7.camel@revolution.hippie.lan> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Willem Jan Withagen , Peter Jeremy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 16:08:21 -0000 on 21/11/2012 18:01 Ian Lepore said the following: > You know what would be great? Have this value auto-tune itself upwards > if bootverbose is true. This sounds /potentially/ neat. > The sound drivers now spit out so much stuff > with bootverbose true that you need like a 128k buffer to see the early > boot messages. I'd argue that snd_hda should not do that. It should use a different knob. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 16:20:52 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DB99650; Wed, 21 Nov 2012 16:20:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 86D2F8FC08; Wed, 21 Nov 2012 16:20:51 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qALGJNNw003603; Wed, 21 Nov 2012 18:19:23 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.1 kib.kiev.ua qALGJNNw003603 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qALGJNk0003602; Wed, 21 Nov 2012 18:19:23 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 21 Nov 2012 18:19:23 +0200 From: Konstantin Belousov To: Andriy Gapon Subject: Re: Increasing the DMESG buffer.... Message-ID: <20121121161923.GF73505@kib.kiev.ua> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6GayvpGiivvsrklA" Content-Disposition: inline In-Reply-To: <50ACFC6C.8070506@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: Ian Lepore , "stable@freebsd.org" , Willem Jan Withagen , Peter Jeremy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 16:20:52 -0000 --6GayvpGiivvsrklA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 21, 2012 at 06:08:12PM +0200, Andriy Gapon wrote: > on 21/11/2012 18:01 Ian Lepore said the following: > > You know what would be great? Have this value auto-tune itself upwards > > if bootverbose is true. >=20 > This sounds /potentially/ neat. I do not want the bootverbose knob suddently change kernel memory layout. >=20 > > The sound drivers now spit out so much stuff > > with bootverbose true that you need like a 128k buffer to see the early > > boot messages. >=20 > I'd argue that snd_hda should not do that. It should use a different kno= b. >=20 > --=20 > Andriy Gapon > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --6GayvpGiivvsrklA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQrP8LAAoJEJDCuSvBvK1BeKoP/AqNG7f4EAdb1CGi7nAq3ehO /WwetT55oWKOcZlGVWEwywtx0EIaiPWdESgoQPCopqE0qd5ckv+idYdF3icKKbzn 0gsrSV0y/g4eoBw+awh1xtdNgnR+urLbU+NByeIOu8P0PWhnK+49JCqRU0UBGJ45 JT+cYqV95YIn71urO6RRjc7BOX0nSL+8l/SzMyUNqLFiZ2y29V0yqs80C3RBob5l XUpjLbJRhTDlpLlk9c1D+xu9xOzwvgQleoCrntFmAdxQsop+52g7yCYPAR4aW3Gg afam29n7eyoGeicNyc0j84rZi4lKLcRQHt/dMbOKgd+nHOJHsg9wTX5pYlLtjsXh sA4C8ywRJFts7VqJPnmmDIDoZRgKBw+X2RpsDuUmoxwk7UrEVfSQfwiPwdtHWq+/ 4rQmLpGvkMlpLdDBV+YdDfPzXI9ar7mf9lhrYhxmqXWX9vbybH4QCrjp+55FYJbA CRJtejJLNhQPXo9dgAaFcyeSP+pHt+AKRVdYN5TY3mPBgQ/gQEA57tbKlplDVAjD 8QvW9Yq2Rc41dSt1gNEcqDIsQmZ8LcMhObeiLBF0xORRWTv6T/viqp3/BuS8/2oX Aoa/+HhNcBgUyAQraQHsbfzHELNpMwWIMJwWTmzoge5tMlLUQg9sL9e7EPSalYja 4AFTJG1GsJycBHkgatFx =Psjm -----END PGP SIGNATURE----- --6GayvpGiivvsrklA-- From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:06:47 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FA7E8FC; Wed, 21 Nov 2012 17:06:47 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 32F438FC08; Wed, 21 Nov 2012 17:06:46 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 2AF8F15343E; Wed, 21 Nov 2012 18:06:45 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JVKno7dtuct4; Wed, 21 Nov 2012 18:06:44 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id AEE8215343B; Wed, 21 Nov 2012 18:06:44 +0100 (CET) Message-ID: <50AD0A20.2070408@digiware.nl> Date: Wed, 21 Nov 2012 18:06:40 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> In-Reply-To: <50ACEEFF.8010001@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:06:47 -0000 On 2012-11-21 16:10, Andriy Gapon wrote: > on 21/11/2012 11:55 Willem Jan Withagen said the following: >> Hoi, >> >> I'm building some new hardware for a customer, and given that 9.1 is >> about to be around the corner, I installed 9.1-stable. >> >> svn from last night.... >> >> Trouble is that a reboot takes for ever... >> Same with shutdown -r now... >> >> What happens is: >> services get killed >> we end with all buffers synced. >> >> Then the systems is idle for like 30 secs (or more) > > At this stage try to enter ddb and run ps in it. > Maybe you could spot something interesting / obvious. Nothing that stands out for me, but then I'm not into FreeBSD kernels. But there is certainly no more userspace processes running other than reboot..... Certainly no postfix, that could complain about missing libpcre.so.1 That seems to be something that should have been flushed from the print_buffer before. What I do see i a huge amount of ZFS threads.... Rebooting from DDB is instantaneously... So I'm not certain what to look for further? --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:09:25 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5AD9AA3 for ; Wed, 21 Nov 2012 17:09:25 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3B0DA8FC0C for ; Wed, 21 Nov 2012 17:09:24 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA13477; Wed, 21 Nov 2012 19:09:22 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AD0AC2.5070804@FreeBSD.org> Date: Wed, 21 Nov 2012 19:09:22 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> In-Reply-To: <50AD0A20.2070408@digiware.nl> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:09:26 -0000 on 21/11/2012 19:06 Willem Jan Withagen said the following: > Nothing that stands out for me, but then I'm not into FreeBSD kernels. > But there is certainly no more userspace processes running other than > reboot..... > > Certainly no postfix, that could complain about missing libpcre.so.1 > That seems to be something that should have been flushed from the > print_buffer before. > > What I do see i a huge amount of ZFS threads.... > > Rebooting from DDB is instantaneously... > > So I'm not certain what to look for further? Perhaps share the output if you are able to capture it... -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:10:15 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C1D7BB3; Wed, 21 Nov 2012 17:10:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id BE92F8FC0C; Wed, 21 Nov 2012 17:10:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qALH9nr5038635; Thu, 22 Nov 2012 04:09:49 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 22 Nov 2012 04:09:49 +1100 (EST) From: Ian Smith To: Andriy Gapon Subject: Re: Increasing the DMESG buffer.... In-Reply-To: <50ACFC6C.8070506@FreeBSD.org> Message-ID: <20121122040251.G21191@sola.nimnet.asn.au> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Ian Lepore , "stable@freebsd.org" , Willem Jan Withagen , Peter Jeremy X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:10:15 -0000 On Wed, 21 Nov 2012 18:08:12 +0200, Andriy Gapon wrote: > on 21/11/2012 18:01 Ian Lepore said the following: > > You know what would be great? Have this value auto-tune itself upwards > > if bootverbose is true. > > This sounds /potentially/ neat. > > > The sound drivers now spit out so much stuff > > with bootverbose true that you need like a 128k buffer to see the early > > boot messages. > > I'd argue that snd_hda should not do that. It should use a different knob. If I had a +1 I'd spend it on this one. Great when you need it, but .. cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:11:08 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD2B7CC9 for ; Wed, 21 Nov 2012 17:11:08 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 363E98FC08 for ; Wed, 21 Nov 2012 17:11:07 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA13499; Wed, 21 Nov 2012 19:11:06 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AD0B29.6060602@FreeBSD.org> Date: Wed, 21 Nov 2012 19:11:05 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> In-Reply-To: <50AD0AC2.5070804@FreeBSD.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:11:08 -0000 on 21/11/2012 19:09 Andriy Gapon said the following: > on 21/11/2012 19:06 Willem Jan Withagen said the following: >> Nothing that stands out for me, but then I'm not into FreeBSD kernels. >> But there is certainly no more userspace processes running other than >> reboot..... >> >> Certainly no postfix, that could complain about missing libpcre.so.1 >> That seems to be something that should have been flushed from the >> print_buffer before. >> >> What I do see i a huge amount of ZFS threads.... >> >> Rebooting from DDB is instantaneously... >> >> So I'm not certain what to look for further? > > Perhaps share the output if you are able to capture it... State of the init process should be more interesting. You can switch to it (using thread ) and capture its stack trace ('bt'). -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:25:28 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDF171AA; Wed, 21 Nov 2012 17:25:28 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABAE8FC08; Wed, 21 Nov 2012 17:25:28 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 82E1215343E; Wed, 21 Nov 2012 18:25:27 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mdJ_FnfSn9W; Wed, 21 Nov 2012 18:25:27 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 0623415343B; Wed, 21 Nov 2012 18:25:27 +0100 (CET) Message-ID: <50AD0E82.3070706@digiware.nl> Date: Wed, 21 Nov 2012 18:25:22 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Ian Smith Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> In-Reply-To: <20121122040251.G21191@sola.nimnet.asn.au> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ian Lepore , "stable@freebsd.org" , Peter Jeremy , Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:25:28 -0000 On 2012-11-21 18:09, Ian Smith wrote: > On Wed, 21 Nov 2012 18:08:12 +0200, Andriy Gapon wrote: > > on 21/11/2012 18:01 Ian Lepore said the following: > > > You know what would be great? Have this value auto-tune itself upwards > > > if bootverbose is true. > > > > This sounds /potentially/ neat. > > > > > The sound drivers now spit out so much stuff > > > with bootverbose true that you need like a 128k buffer to see the early > > > boot messages. > > > > I'd argue that snd_hda should not do that. It should use a different knob. > > If I had a +1 I'd spend it on this one. Great when you need it, but .. Why bother... Memory is so cheap these days. We're talking about 64Kb being "wasted". On average I would assume that there is more than this wasted in odd bits and pieces in the kernel. --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 17:27:34 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0C582E7; Wed, 21 Nov 2012 17:27:34 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 840B68FC08; Wed, 21 Nov 2012 17:27:33 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 4CAB515343E; Wed, 21 Nov 2012 18:27:33 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ESB4UZX-jLMg; Wed, 21 Nov 2012 18:27:32 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id C661C15343B; Wed, 21 Nov 2012 18:27:32 +0100 (CET) Message-ID: <50AD0F00.5020600@digiware.nl> Date: Wed, 21 Nov 2012 18:27:28 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> In-Reply-To: <50AD0B29.6060602@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 17:27:34 -0000 On 2012-11-21 18:11, Andriy Gapon wrote: > on 21/11/2012 19:09 Andriy Gapon said the following: >> on 21/11/2012 19:06 Willem Jan Withagen said the following: >>> Nothing that stands out for me, but then I'm not into FreeBSD kernels. >>> But there is certainly no more userspace processes running other than >>> reboot..... >>> >>> Certainly no postfix, that could complain about missing libpcre.so.1 >>> That seems to be something that should have been flushed from the >>> print_buffer before. >>> >>> What I do see i a huge amount of ZFS threads.... >>> >>> Rebooting from DDB is instantaneously... >>> >>> So I'm not certain what to look for further? >> >> Perhaps share the output if you are able to capture it... > > State of the init process should be more interesting. > You can switch to it (using thread ) and capture its stack trace ('bt'). The box is not on a serial connection. So capturing will be picture with Iphone and retyping it. init process should be 1, right? I'll give it a shot --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 18:08:37 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A952E676; Wed, 21 Nov 2012 18:08:37 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id EC9928FC12; Wed, 21 Nov 2012 18:08:36 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id ACB5515343E; Wed, 21 Nov 2012 19:08:34 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3LCPwhIpqaXL; Wed, 21 Nov 2012 19:08:33 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id CF94415343B; Wed, 21 Nov 2012 19:08:33 +0100 (CET) Message-ID: <50AD189D.4040902@digiware.nl> Date: Wed, 21 Nov 2012 19:08:29 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon , "stable@freebsd.org" Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> In-Reply-To: <50AD17E4.50104@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:08:37 -0000 On 2012-11-21 19:05, Andriy Gapon wrote: > on 21/11/2012 19:48 Willem Jan Withagen said the following: >> On 2012-11-21 18:27, Willem Jan Withagen wrote: >>> On 2012-11-21 18:11, Andriy Gapon wrote: >>>> on 21/11/2012 19:09 Andriy Gapon said the following: >>>>> on 21/11/2012 19:06 Willem Jan Withagen said the following: >>>>>> Nothing that stands out for me, but then I'm not into FreeBSD kernels. >>>>>> But there is certainly no more userspace processes running other than >>>>>> reboot..... >>>>>> >>>>>> Certainly no postfix, that could complain about missing libpcre.so.1 >>>>>> That seems to be something that should have been flushed from the >>>>>> print_buffer before. >>>>>> >>>>>> What I do see i a huge amount of ZFS threads.... >>>>>> >>>>>> Rebooting from DDB is instantaneously... >>>>>> >>>>>> So I'm not certain what to look for further? >>>>> >>>>> Perhaps share the output if you are able to capture it... >>>> >>>> State of the init process should be more interesting. >>>> You can switch to it (using thread ) and capture its stack trace ('bt'). >>> >>> The box is not on a serial connection. >>> So capturing will be picture with Iphone and retyping it. >>> >>> init process should be 1, right? >>> I'll give it a shot >> >> Just private since it include an image of the bt... >> >> Init is there, its state is 'RLs' >> , but it does not have threads and thread 1 does not work. >> but 'bt 1' does the trick. >> >> It seems to to be waiting/working in the ZFS code to get things unmounted. > > Yeah, oops, this is a known ZFS deadlock in zfs_freebsd_reclaim -> zfs_zget path. > I may commit my fix for it to head on the next weekend. > You may share this information with the list. Any change of getting this back into 9.1? Preferably before 9.1-RELEASE, but otherwise real soon after that. I'm the perfect test guinea-pig, it happens every time I reboot. --WjW > >> Disk situation: >> 4* SATA seagate 1T (2 on sandy bridge 2 on LSI 2008) >> 4* SAS seagate 600Gb/15K all on LSI 2008 >> 2* intel SSD 540 200GB both on Sata-3 on sandy bridge >> >> ZFS config >> zfsboot= 50Gb 4way mirror on 4* SATA >> 2*2Gb cache on both SSDs >> sataraid=remainder of SATA disks in raidz >> 2*1Gb log on SSDs >> 2*50Gb cache on SSDs >> sasraid=full disk raidz of sas disks >> 2*1GB log on SSDs >> 2*100GB cache on SSDs >> >> www# zpool status -v >> pool: sasraid >> state: ONLINE >> scan: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> sasraid ONLINE 0 0 0 >> raidz1-0 ONLINE 0 0 0 >> gpt/sasraid0 ONLINE 0 0 0 >> gpt/sasraid1 ONLINE 0 0 0 >> gpt/sasraid2 ONLINE 0 0 0 >> gpt/sasraid3 ONLINE 0 0 0 >> logs >> gpt/log-sasraid0 ONLINE 0 0 0 >> gpt/log-sasraid1 ONLINE 0 0 0 >> cache >> ada0p5 ONLINE 0 0 0 >> ada1p5 ONLINE 0 0 0 >> >> errors: No known data errors >> >> pool: sataraid >> state: ONLINE >> scan: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> sataraid ONLINE 0 0 0 >> raidz1-0 ONLINE 0 0 0 >> gpt/sataraid0 ONLINE 0 0 0 >> gpt/sataraid1 ONLINE 0 0 0 >> gpt/sataraid2 ONLINE 0 0 0 >> gpt/sataraid3 ONLINE 0 0 0 >> logs >> gpt/log-sataraid0 ONLINE 0 0 0 >> gpt/log-sataraid1 ONLINE 0 0 0 >> cache >> ada0p3 ONLINE 0 0 0 >> ada1p3 ONLINE 0 0 0 >> >> errors: No known data errors >> >> pool: zfsboot >> state: ONLINE >> scan: resilvered 513M in 0h0m with 0 errors on Tue Nov 20 13:41:00 2012 >> config: >> >> NAME STATE READ WRITE CKSUM >> zfsboot ONLINE 0 0 0 >> mirror-0 ONLINE 0 0 0 >> ada2p3 ONLINE 0 0 0 >> ada3p3 ONLINE 0 0 0 >> da3p3 ONLINE 0 0 0 >> da2p3 ONLINE 0 0 0 >> cache >> ada0p1 ONLINE 0 0 0 >> ada1p1 ONLINE 0 0 0 >> >> errors: No known data errors >> >> --WjW >> >> >> > > From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 18:11:17 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C90BB7CE for ; Wed, 21 Nov 2012 18:11:17 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 19D738FC15 for ; Wed, 21 Nov 2012 18:11:16 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA14016; Wed, 21 Nov 2012 20:11:13 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AD1941.2020108@FreeBSD.org> Date: Wed, 21 Nov 2012 20:11:13 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> In-Reply-To: <50AD189D.4040902@digiware.nl> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:11:17 -0000 on 21/11/2012 20:08 Willem Jan Withagen said the following: > On 2012-11-21 19:05, Andriy Gapon wrote: >> on 21/11/2012 19:48 Willem Jan Withagen said the following: [snip] >>> It seems to to be waiting/working in the ZFS code to get things unmounted. >> >> Yeah, oops, this is a known ZFS deadlock in zfs_freebsd_reclaim -> zfs_zget path. >> I may commit my fix for it to head on the next weekend. >> You may share this information with the list. > > Any change of getting this back into 9.1? > Preferably before 9.1-RELEASE, but otherwise real soon after that. > > I'm the perfect test guinea-pig, it happens every time I reboot. I will definitely MFC it to stable/9, just not sure if I would be able to do it before New Year. It definitely won't be in 9.1. I'll send you a patch later. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 18:15:19 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8B10C75; Wed, 21 Nov 2012 18:15:19 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 88B558FC14; Wed, 21 Nov 2012 18:15:19 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 9474615343E; Wed, 21 Nov 2012 19:15:18 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K0r62mrIghKc; Wed, 21 Nov 2012 19:15:17 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id D487C15343B; Wed, 21 Nov 2012 19:15:17 +0100 (CET) Message-ID: <50AD1A31.7070106@digiware.nl> Date: Wed, 21 Nov 2012 19:15:13 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> In-Reply-To: <50AD1941.2020108@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:15:19 -0000 On 2012-11-21 19:11, Andriy Gapon wrote: > on 21/11/2012 20:08 Willem Jan Withagen said the following: >> On 2012-11-21 19:05, Andriy Gapon wrote: >>> on 21/11/2012 19:48 Willem Jan Withagen said the following: > [snip] >>>> It seems to to be waiting/working in the ZFS code to get things unmounted. >>> >>> Yeah, oops, this is a known ZFS deadlock in zfs_freebsd_reclaim -> zfs_zget path. >>> I may commit my fix for it to head on the next weekend. >>> You may share this information with the list. >> >> Any change of getting this back into 9.1? >> Preferably before 9.1-RELEASE, but otherwise real soon after that. >> >> I'm the perfect test guinea-pig, it happens every time I reboot. > > I will definitely MFC it to stable/9, just not sure if I would be able to do it > before New Year. It definitely won't be in 9.1. I'll send you a patch later. Right, As long as I can deliver it to the customer with this patch, it be great. It is due to using more than 1 zfs pool? --WjW From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 18:34:01 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 017EA37A for ; Wed, 21 Nov 2012 18:34:00 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 4AB258FC0C for ; Wed, 21 Nov 2012 18:33:59 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA14224; Wed, 21 Nov 2012 20:33:57 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AD1E95.1080704@FreeBSD.org> Date: Wed, 21 Nov 2012 20:33:57 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50AD1A31.7070106@digiware.nl> In-Reply-To: <50AD1A31.7070106@digiware.nl> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:34:01 -0000 on 21/11/2012 20:15 Willem Jan Withagen said the following: > On 2012-11-21 19:11, Andriy Gapon wrote: >> on 21/11/2012 20:08 Willem Jan Withagen said the following: >>> On 2012-11-21 19:05, Andriy Gapon wrote: >>>> on 21/11/2012 19:48 Willem Jan Withagen said the following: >> [snip] >>>>> It seems to to be waiting/working in the ZFS code to get things unmounted. >>>> >>>> Yeah, oops, this is a known ZFS deadlock in zfs_freebsd_reclaim -> zfs_zget path. >>>> I may commit my fix for it to head on the next weekend. >>>> You may share this information with the list. >>> >>> Any change of getting this back into 9.1? >>> Preferably before 9.1-RELEASE, but otherwise real soon after that. >>> >>> I'm the perfect test guinea-pig, it happens every time I reboot. >> >> I will definitely MFC it to stable/9, just not sure if I would be able to do it >> before New Year. It definitely won't be in 9.1. I'll send you a patch later. > > Right, > > As long as I can deliver it to the customer with this patch, it be great. > > It is due to using more than 1 zfs pool? I don't think so. It appears to be dependent on filesystem usage/workload. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 18:41:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0148692E for ; Wed, 21 Nov 2012 18:41:53 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9EAAD8FC14 for ; Wed, 21 Nov 2012 18:41:52 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from get-mta-scan01.get.basefarm.net ([10.5.16.4]) by get-mta-out01.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0MDU0003EP9LBH60@get-mta-out01.get.basefarm.net> for freebsd-stable@freebsd.org; Wed, 21 Nov 2012 19:41:45 +0100 (MET) Received: from get-mta-scan01.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id E24F5179BB94_AD2068B for ; Wed, 21 Nov 2012 18:41:44 +0000 (GMT) Received: from kg-v2.kg4.no (cm-84.215.134.159.getinternet.no [84.215.134.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by get-mta-scan01.get.basefarm.net (Sophos Email Appliance) with ESMTPSA id BDDB817A01AA_AD2068F for ; Wed, 21 Nov 2012 18:41:44 +0000 (GMT) Date: Wed, 21 Nov 2012 19:41:42 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Subject: Re: Increasing the DMESG buffer.... Message-id: <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> In-reply-to: <50AD0E82.3070706@digiware.nl> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 18:41:53 -0000 On Wed, 21 Nov 2012 18:25:22 +0100 Willem Jan Withagen wrote: > > Why bother... Because FreeBSD also runs on hardware with minimal memory? Because FreeBSD is a stable, sane operating system and we want to keep it that way? Because it breaks POLA? Because it make developers act sloppy? I'm sorry (I'm not picking on you in particular, but this comment represents a growing trend in attitude), but more and more people today are becoming careless in the way they think (or not think). I do not want FreeBSD to suffer because of that. If you are a FreeBSD developer or user; be vigilant! Don't let the sloppyness silnently slip into or favorite operating system, or the way we handle it! -- Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 19:24:04 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38B8C9E1; Wed, 21 Nov 2012 19:24:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D8E58FC08; Wed, 21 Nov 2012 19:24:03 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so9990045vba.13 for ; Wed, 21 Nov 2012 11:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=mF9lvuCQ9RFKee2qClJsU/w7Fw6y1VvR/dCzIDvZFAM=; b=NFWPyiklCCUB5omdP08Ric+VTKKqHYwwy8rXxlFKl/5JBY9ND05hZtuUoDCHVQh+Ry yG6QgUNVYr2CquylZlDs7dRJFBo63DnOmdZHzUW9MdzGDo9GCLbOMZgJ5T2SJJTrg4xz kTyKcbzA3xE5HKQzbYTEn7dEYmqeJFbgBCE+sGULVYhT4zyWlGr0y009K+mtZlpbmZ2U ZMAOHyoJr/iU2IFm6vklrmnx77hWE/lKBdzbjg7frzh4wuuISOAiBtb9IWFxgvOsLCPh jFZ1NmvMX7d1SO1mVxnWYtDB8M3oyB+ep2s8HKM/Cfdjs/ZoN1Pf7WK3qLKe3CG424Pk Mkrw== MIME-Version: 1.0 Received: by 10.52.98.135 with SMTP id ei7mr832877vdb.27.1353525842687; Wed, 21 Nov 2012 11:24:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.58.2.5 with HTTP; Wed, 21 Nov 2012 11:24:02 -0800 (PST) In-Reply-To: <50AD0E82.3070706@digiware.nl> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> Date: Wed, 21 Nov 2012 11:24:02 -0800 X-Google-Sender-Auth: hcN7NPshGG8v-QsYkSggFPFtu0k Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Willem Jan Withagen Content-Type: text/plain; charset=ISO-8859-1 Cc: Ian Lepore , "stable@freebsd.org" , Peter Jeremy , Ian Smith , Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 19:24:04 -0000 On 21 November 2012 09:25, Willem Jan Withagen wrote: > Why bother... > Memory is so cheap these days. We're talking about 64Kb being "wasted". > On average I would assume that there is more than this wasted in odd > bits and pieces in the kernel. .. and some of us are actively trying to trim this waste down, as we're trying to get FreeBSD _back_ into devices that have 16MB of RAM. Please, don't assume RAM is free. Adrian From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 19:37:48 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01BB8F0A for ; Wed, 21 Nov 2012 19:37:47 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by mx1.freebsd.org (Postfix) with ESMTP id 779F78FC08 for ; Wed, 21 Nov 2012 19:37:46 +0000 (UTC) Received: from cpsps-ews28.kpnxchange.com ([10.94.84.194]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 21 Nov 2012 20:37:02 +0100 Received: from CPSMTPM-TLF102.kpnxchange.com ([195.121.3.5]) by cpsps-ews28.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 21 Nov 2012 20:37:02 +0100 Received: from sjakie.klop.ws ([212.182.167.131]) by CPSMTPM-TLF102.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Wed, 21 Nov 2012 20:37:39 +0100 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id 546F9493 for ; Wed, 21 Nov 2012 20:37:39 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> Date: Wed, 21 Nov 2012 20:37:38 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> User-Agent: Opera Mail/12.10 (FreeBSD) X-OriginalArrivalTime: 21 Nov 2012 19:37:39.0614 (UTC) FILETIME=[AAA5B3E0:01CDC81F] X-RcptDomain: freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 19:37:48 -0000 On Wed, 21 Nov 2012 19:41:42 +0100, Torfinn Ingolfsen wrote: > On Wed, 21 Nov 2012 18:25:22 +0100 > Willem Jan Withagen wrote: > >> >> Why bother... > > Because FreeBSD also runs on hardware with minimal memory? yes, but defaults should be for the masses and it is tunable for the rest > Because FreeBSD is a stable, sane operating system and we want to keep > it that way? yes, but how does an increased buffer bring instability? You can use your argument for every commit. > Because it breaks POLA? how? > Because it make developers act sloppy? How do you go from increasing a buffer to hold all the data which solves a practical problem to people being sloppy? > > I'm sorry (I'm not picking on you in particular, but this comment > represents a growing trend in attitude), but more and more people today > are becoming careless in the way they think (or not think). > I do not want FreeBSD to suffer because of that. > > If you are a FreeBSD developer or user; be vigilant! Don't let the > sloppyness silnently slip into or favorite operating system, or the way > we handle it! > IMHO these arguments are more about general feelings than actual to the point remarks. From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 19:59:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54F7F71D for ; Wed, 21 Nov 2012 19:59:41 +0000 (UTC) (envelope-from rjk@wintek.com) Received: from local.wintek.com (local.wintek.com [72.12.201.234]) by mx1.freebsd.org (Postfix) with ESMTP id 0DCCC8FC13 for ; Wed, 21 Nov 2012 19:59:40 +0000 (UTC) Received: from rjk.wintek.local (172.28.1.248) by local.wintek.com (172.28.1.234) with Microsoft SMTP Server (TLS) id 8.1.436.0; Wed, 21 Nov 2012 14:59:34 -0500 Message-ID: <50AD32A6.8080209@wintek.com> Date: Wed, 21 Nov 2012 14:59:34 -0500 From: Richard Kuhns Organization: Wintek Corporation User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "pyunyh@gmail.com" Subject: Re: bge on the new Mac Mini References: <50A65BFC.7030406@wintek.com> <20121120085200.GB1778@michelle.cdnetworks.com> In-Reply-To: <20121120085200.GB1778@michelle.cdnetworks.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rjk@wintek.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 19:59:41 -0000 On 11/20/12 03:52, YongHyeon PYUN wrote: > On Fri, Nov 16, 2012 at 10:30:04AM -0500, Richard Kuhns wrote: >> Hi all, >> >> Over the last month or so I've installed FreeBSD 9 (-stable) on several Mac >> Minis via the memstick image; they seem to be pretty good little boxes for >> things like offsite secondary nameservers, for example, and they're easily >> replaced in case of problems. >> >> However, the newest minis have slightly different hardware, and FreeBSD can't >> find the built-in NIC. pciconf -lv on the new mini shows it as >> >> none3@pci0:1:0:0: class=0x020000 card=0x168614e4 chip=0x168614e4 rev=0x01 > > It seems this controller is BCM57766. > >> hdr=0x00 >> vendor = 'Broadcom Corporation' >> class = network >> subclass = ethernet >> >> The previous edition mini (that works) reports >> >> bge0@pci0:2:0:0: class=0x020000 card=0x16b414e4 chip=0x16b414e4 rev=0x10 hdr=0x00 >> vendor = 'Broadcom Corporation' >> device = 'NetXtreme BCM57765 Gigabit Ethernet PCIe' >> class = network >> subclass = ethernet >> >> Is there a chance that adding the new card/chip info to the current driver would >> allow it to work? I'll be happy to test and report back. I'm afraid I'm not >> familiar enough with hardware at that level to figure out the patch myself. >> > > Try attached patch and let me know whether the patch works or not. > If the patch works please share dmesg output(bge(4) and brgphy(4) > output only). > Note, the patch was generated against CURRENT. > I'm afraid it didn't help. I ended up grabbing if_bge.c and if_bgereg.h from HEAD using svnweb.freebsd.org. The patch installed cleanly and there were no errors during the build, but still no NIC. Just to make sure you know, I've made no local modifications at all. This was a fresh install and I've touched nothing except for these 2 files. Thanks! -- Richard Kuhns My Desk: 765-269-8541 Wintek Corporation Internet Support: 765-269-8503 427 N 6th Street Consulting: 765-269-8504 Lafayette, IN 47901-2211 Accounting: 765-269-8502 From owner-freebsd-stable@FreeBSD.ORG Wed Nov 21 20:08:44 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B07BC92A for ; Wed, 21 Nov 2012 20:08:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E7AE8FC13 for ; Wed, 21 Nov 2012 20:08:43 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo13so10261457vcb.13 for ; Wed, 21 Nov 2012 12:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Srx3+sg9nPj4dh+rI35NKtYusOzGHzIhtRzti4Zr2F0=; b=qMxKN60xJvG4TnnVSbebJF7RAuqgqP2lanPNLOgxBnNCURG3Y4jDShRfFepaVcDCb4 pnExUAlCpdEjigxs4p3xt/iA15Y67H05Dm7jfX+u/99X585l8epqJg3wbo96r8zzo2ub 5hYS2yBhHv51hdyIgtxR67Xw52LomTKDKHtxLpFASGS15NoC4PbAOZ9I3dH+qfAQtR7K kNP1YAxT8bWIqdRn3lSus/aeEayO/fo8xcftTaFM7OeF6cNUWUjGEeKLic+mWrOl21P3 Y3M9jL1M/ehRm0YGGvxbXZ6+zcq3m4VU1EEhpfWqBvFtQP+EKaEyVGlZMfyCu3FqTwnv GWCQ== MIME-Version: 1.0 Received: by 10.52.100.5 with SMTP id eu5mr26144297vdb.34.1353528522741; Wed, 21 Nov 2012 12:08:42 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.58.2.5 with HTTP; Wed, 21 Nov 2012 12:08:42 -0800 (PST) In-Reply-To: References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> Date: Wed, 21 Nov 2012 12:08:42 -0800 X-Google-Sender-Auth: E7T7btj4az5gtlCseUEyj2Y11CI Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2012 20:08:44 -0000 .. because some of us like kernel behaviour to be predictable and controllable, rather than 'just be dynamic here, what could possibly go wrong.' Just bump the default kernel buffer size up to 64k and leave it hard-coded like that. Us embedded people can drop that down to something smaller. There. Problem solved, right? adrian From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 00:59:44 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 801BEDE; Thu, 22 Nov 2012 00:59:44 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5258FC08; Thu, 22 Nov 2012 00:59:43 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id A7B0A15343E; Thu, 22 Nov 2012 01:59:41 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iIki4xqVH-As; Thu, 22 Nov 2012 01:59:41 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 2113C15343B; Thu, 22 Nov 2012 01:59:41 +0100 (CET) Message-ID: <50AD78F8.9000006@digiware.nl> Date: Thu, 22 Nov 2012 01:59:36 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 00:59:44 -0000 On 2012-11-21 21:08, Adrian Chadd wrote: > .. because some of us like kernel behaviour to be predictable and > controllable, rather than 'just be dynamic here, what could possibly > go wrong.' > > Just bump the default kernel buffer size up to 64k and leave it > hard-coded like that. Us embedded people can drop that down to > something smaller. > > There. Problem solved, right? My first ever self build system was a Z80 which started at 2Kbyte EPROM and 2K RAM. which was huge at that time. (1980's) Later I made bankswitch to have some 32K ROM and 2* 32K RAM. Boy was that a lot of space. The first ever FreeBSD I/we ran, was 1.0(.2??) on a lowly i486 with 16Mb of memory, with a 16 port serialcard with 14k4 modems. It ran Bnews with a full feed on 2 1.6Gb disks... Was mail server for > 1000 customers. It ran slip for IP access... So sure I understand where we are coming from. And I'm still tinkering in removing bloat that I will not ever use, even though my home server has 35T of storage. :) But hen still I agree with Ronald that we need to cater for the mass, which means we keep in mind what just about most everybody is running. And that is certainly not embedded with 16Mb NOR and 32Mb RAM. But then again I do appreciate you setting me straight on that waste is never a good thing. --WjW From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 01:49:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 040626CD for ; Thu, 22 Nov 2012 01:49:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C1E488FC13 for ; Thu, 22 Nov 2012 01:49:30 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id n2so1299631dad.13 for ; Wed, 21 Nov 2012 17:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=iX5MV1XiO9D5Nid/Kh+1lOH83+5Hf6QHGVSuL2v7WJU=; b=p+d5hE5KgXneQw2SsXHLFF8W8eBgW0r2wPCXLJWRV6nzFcyNqteaWMTRmDdMPHfL9v pi6kfrAXPGoMV5bT6+gNiFVHgWuUCfNblSCAY6JjPk1l5HjmrbNcRowS1SBwn09VmqG1 GdGa5rw0Bm3j0HNS2PFacM14wGILCAiw3AJjhtCyFkmZkyBvh2kj3gw9klDJj4sFm1Nq oqr427EjNQdbz8vErmpr31VdYmjCdME4z44BpzsNQs9LAgdaw/kJnV0oxm9iIHlClJRF Fe2AiqnSEZldkSV/0W6yQcotIfBj7XvXkydF13gn1aZ7lhzBuaOle8pl2B64ByXl+SBt GF4A== Received: by 10.66.87.202 with SMTP id ba10mr22521677pab.72.1353548970385; Wed, 21 Nov 2012 17:49:30 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id a10sm940979paz.35.2012.11.21.17.49.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 17:49:29 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 22 Nov 2012 10:49:21 +0900 From: YongHyeon PYUN Date: Thu, 22 Nov 2012 10:49:21 +0900 To: Richard Kuhns Subject: Re: bge on the new Mac Mini Message-ID: <20121122014921.GA3180@michelle.cdnetworks.com> References: <50A65BFC.7030406@wintek.com> <20121120085200.GB1778@michelle.cdnetworks.com> <50AD32A6.8080209@wintek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50AD32A6.8080209@wintek.com> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 01:49:31 -0000 On Wed, Nov 21, 2012 at 02:59:34PM -0500, Richard Kuhns wrote: > On 11/20/12 03:52, YongHyeon PYUN wrote: > > On Fri, Nov 16, 2012 at 10:30:04AM -0500, Richard Kuhns wrote: > >> Hi all, > >> > >> Over the last month or so I've installed FreeBSD 9 (-stable) on several Mac > >> Minis via the memstick image; they seem to be pretty good little boxes for > >> things like offsite secondary nameservers, for example, and they're easily > >> replaced in case of problems. > >> > >> However, the newest minis have slightly different hardware, and FreeBSD can't > >> find the built-in NIC. pciconf -lv on the new mini shows it as > >> > >> none3@pci0:1:0:0: class=0x020000 card=0x168614e4 chip=0x168614e4 rev=0x01 > > > > It seems this controller is BCM57766. > > > >> hdr=0x00 > >> vendor = 'Broadcom Corporation' > >> class = network > >> subclass = ethernet > >> > >> The previous edition mini (that works) reports > >> > >> bge0@pci0:2:0:0: class=0x020000 card=0x16b414e4 chip=0x16b414e4 rev=0x10 hdr=0x00 > >> vendor = 'Broadcom Corporation' > >> device = 'NetXtreme BCM57765 Gigabit Ethernet PCIe' > >> class = network > >> subclass = ethernet > >> > >> Is there a chance that adding the new card/chip info to the current driver would > >> allow it to work? I'll be happy to test and report back. I'm afraid I'm not > >> familiar enough with hardware at that level to figure out the patch myself. > >> > > > > Try attached patch and let me know whether the patch works or not. > > If the patch works please share dmesg output(bge(4) and brgphy(4) > > output only). > > Note, the patch was generated against CURRENT. > > > > I'm afraid it didn't help. I ended up grabbing if_bge.c and if_bgereg.h from I guess you also need to copy brgphy.c from HEAD to /usr/src/sys/dev/mii directory. > HEAD using svnweb.freebsd.org. The patch installed cleanly and there were no > errors during the build, but still no NIC. Does it mean you're not seeing bge0 interface? Or you can't pass any traffic via bge0? > > Just to make sure you know, I've made no local modifications at all. This was a > fresh install and I've touched nothing except for these 2 files. > > Thanks! > > -- > Richard Kuhns My Desk: 765-269-8541 > Wintek Corporation Internet Support: 765-269-8503 > 427 N 6th Street Consulting: 765-269-8504 > Lafayette, IN 47901-2211 Accounting: 765-269-8502 From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 02:09:07 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 934A3BF4 for ; Thu, 22 Nov 2012 02:09:07 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 581D08FC12 for ; Thu, 22 Nov 2012 02:09:07 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kp6so5704782pab.13 for ; Wed, 21 Nov 2012 18:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=+1dFY7TAjPmi00f5epsexUAmhHEO+dVnFVr3Pc2McZg=; b=M/GRaV1ZsioBPS8moYBvO7QdrHjP90xRzMC4blWaPxlnXxMY0zcUtrv5MdpbHAExzQ jiai3CmAkF/aOLdVKaAeOJcG6aC00BcpgI3XfYq8xOTssIV6MsE1srEoPQgFIQewbIHW 67Y4CpdaGbZM2Q9m19vpD0vG1wV/1KwYLNJSM/62G+o+hIPoJsQG3dUosCUZv0V5kCWt TVbSh/UBTxpdQtYUeplX4b0SHIv+rN6CEWLs0/m1w2lCjFTDA6Dj5LbqvazwZLNi1PKu fgdXOdUv+osfv3HnSEnWXrmVoB/JDttJ+VgAqAHAvVeG2f0cWPmWjA25nCKAqDQTjLHM FXHw== Received: by 10.66.81.42 with SMTP id w10mr22686466pax.66.1353550141045; Wed, 21 Nov 2012 18:09:01 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id i4sm976165pav.20.2012.11.21.18.08.57 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Nov 2012 18:08:59 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 22 Nov 2012 11:08:51 +0900 From: YongHyeon PYUN Date: Thu, 22 Nov 2012 11:08:51 +0900 To: Richard Kuhns Subject: Re: bge on the new Mac Mini Message-ID: <20121122020851.GB3180@michelle.cdnetworks.com> References: <50A65BFC.7030406@wintek.com> <20121120085200.GB1778@michelle.cdnetworks.com> <50AD32A6.8080209@wintek.com> <20121122014921.GA3180@michelle.cdnetworks.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: <20121122014921.GA3180@michelle.cdnetworks.com> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 02:09:07 -0000 --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 22, 2012 at 10:49:21AM +0900, YongHyeon PYUN wrote: > On Wed, Nov 21, 2012 at 02:59:34PM -0500, Richard Kuhns wrote: > > On 11/20/12 03:52, YongHyeon PYUN wrote: > > > On Fri, Nov 16, 2012 at 10:30:04AM -0500, Richard Kuhns wrote: > > >> Hi all, > > >> > > >> Over the last month or so I've installed FreeBSD 9 (-stable) on several Mac > > >> Minis via the memstick image; they seem to be pretty good little boxes for > > >> things like offsite secondary nameservers, for example, and they're easily > > >> replaced in case of problems. > > >> > > >> However, the newest minis have slightly different hardware, and FreeBSD can't > > >> find the built-in NIC. pciconf -lv on the new mini shows it as > > >> > > >> none3@pci0:1:0:0: class=0x020000 card=0x168614e4 chip=0x168614e4 rev=0x01 > > > > > > It seems this controller is BCM57766. > > > > > >> hdr=0x00 > > >> vendor = 'Broadcom Corporation' > > >> class = network > > >> subclass = ethernet > > >> > > >> The previous edition mini (that works) reports > > >> > > >> bge0@pci0:2:0:0: class=0x020000 card=0x16b414e4 chip=0x16b414e4 rev=0x10 hdr=0x00 > > >> vendor = 'Broadcom Corporation' > > >> device = 'NetXtreme BCM57765 Gigabit Ethernet PCIe' > > >> class = network > > >> subclass = ethernet > > >> > > >> Is there a chance that adding the new card/chip info to the current driver would > > >> allow it to work? I'll be happy to test and report back. I'm afraid I'm not > > >> familiar enough with hardware at that level to figure out the patch myself. > > >> > > > > > > Try attached patch and let me know whether the patch works or not. > > > If the patch works please share dmesg output(bge(4) and brgphy(4) > > > output only). > > > Note, the patch was generated against CURRENT. > > > > > > > I'm afraid it didn't help. I ended up grabbing if_bge.c and if_bgereg.h from > > I guess you also need to copy brgphy.c from HEAD to > /usr/src/sys/dev/mii directory. > > > HEAD using svnweb.freebsd.org. The patch installed cleanly and there were no > > errors during the build, but still no NIC. > > Does it mean you're not seeing bge0 interface? Or you can't pass > any traffic via bge0? Oops, it seems I've not included your device ID in the diff. Try attach one instead. Make sure you use brgphy.c from HEAD. --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bge.57766.diff2" Index: sys/dev/bge/if_bgereg.h =================================================================== --- sys/dev/bge/if_bgereg.h (revision 243366) +++ sys/dev/bge/if_bgereg.h (working copy) @@ -360,6 +360,7 @@ #define BGE_ASICREV_BCM5784 0x5784 #define BGE_ASICREV_BCM5785 0x5785 #define BGE_ASICREV_BCM57765 0x57785 +#define BGE_ASICREV_BCM57766 0x57766 #define BGE_ASICREV_BCM57780 0x57780 /* chip revisions */ @@ -2483,7 +2484,9 @@ struct bge_status_block { #define BCOM_DEVICEID_BCM5906M 0x1713 #define BCOM_DEVICEID_BCM57760 0x1690 #define BCOM_DEVICEID_BCM57761 0x16B0 +#define BCOM_DEVICEID_BCM57762 0x1682 #define BCOM_DEVICEID_BCM57765 0x16B4 +#define BCOM_DEVICEID_BCM57766 0x1686 #define BCOM_DEVICEID_BCM57780 0x1692 #define BCOM_DEVICEID_BCM57781 0x16B1 #define BCOM_DEVICEID_BCM57785 0x16B5 @@ -2961,6 +2964,7 @@ struct bge_softc { #define BGE_FLAG_5755_PLUS 0x00100000 #define BGE_FLAG_5788 0x00200000 #define BGE_FLAG_5717_PLUS 0x00400000 +#define BGE_FLAG_57765_PLUS 0x00800000 #define BGE_FLAG_40BIT_BUG 0x01000000 #define BGE_FLAG_4G_BNDRY_BUG 0x02000000 #define BGE_FLAG_RX_ALIGNBUG 0x04000000 Index: sys/dev/bge/if_bge.c =================================================================== --- sys/dev/bge/if_bge.c (revision 243366) +++ sys/dev/bge/if_bge.c (working copy) @@ -216,7 +216,9 @@ static const struct bge_type { { BCOM_VENDORID, BCOM_DEVICEID_BCM5906M }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, @@ -347,6 +349,7 @@ static const struct bge_revision bge_majorrevs[] = { BGE_ASICREV_BCM5787, "unknown BCM5754/5787" }, { BGE_ASICREV_BCM5906, "unknown BCM5906" }, { BGE_ASICREV_BCM57765, "unknown BCM57765" }, + { BGE_ASICREV_BCM57766, "unknown BCM57766" }, { BGE_ASICREV_BCM57780, "unknown BCM57780" }, { BGE_ASICREV_BCM5717, "unknown BCM5717" }, { BGE_ASICREV_BCM5719, "unknown BCM5719" }, @@ -362,6 +365,7 @@ static const struct bge_revision bge_majorrevs[] = #define BGE_IS_575X_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_575X_PLUS) #define BGE_IS_5755_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5755_PLUS) #define BGE_IS_5717_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_5717_PLUS) +#define BGE_IS_57765_PLUS(sc) ((sc)->bge_flags & BGE_FLAG_57765_PLUS) const struct bge_revision * bge_lookup_rev(uint32_t); const struct bge_vendor * bge_lookup_vendor(uint16_t); @@ -2243,7 +2247,7 @@ bge_blockinit(struct bge_softc *sc) } else if (!BGE_IS_5705_PLUS(sc)) limit = BGE_RX_RINGS_MAX; else if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || - sc->bge_asicrev == BGE_ASICREV_BCM57765) + BGE_IS_57765_PLUS(sc)) limit = 4; else limit = 1; @@ -2658,6 +2662,7 @@ bge_probe(device_t dev) break; case BCOM_DEVICEID_BCM57761: case BCOM_DEVICEID_BCM57765: + case BCOM_DEVICEID_BCM57766: case BCOM_DEVICEID_BCM57781: case BCOM_DEVICEID_BCM57785: case BCOM_DEVICEID_BCM57791: @@ -3321,10 +3326,13 @@ bge_attach(device_t dev) /* Save chipset family. */ switch (sc->bge_asicrev) { + case BGE_ASICREV_BCM57765: + case BGE_ASICREV_BCM57766: + sc->bge_flags |= BGE_FLAG_57765_PLUS; + /* FALLTHROUGH */ case BGE_ASICREV_BCM5717: case BGE_ASICREV_BCM5719: case BGE_ASICREV_BCM5720: - case BGE_ASICREV_BCM57765: sc->bge_flags |= BGE_FLAG_5717_PLUS | BGE_FLAG_5755_PLUS | BGE_FLAG_575X_PLUS | BGE_FLAG_5705_PLUS | BGE_FLAG_JUMBO | BGE_FLAG_JUMBO_FRAME; @@ -3738,12 +3746,9 @@ bge_attach(device_t dev) sc->bge_phy_flags |= BGE_PHY_NO_3LED; if ((BGE_IS_5705_PLUS(sc)) && sc->bge_asicrev != BGE_ASICREV_BCM5906 && - sc->bge_asicrev != BGE_ASICREV_BCM5717 && - sc->bge_asicrev != BGE_ASICREV_BCM5719 && - sc->bge_asicrev != BGE_ASICREV_BCM5720 && sc->bge_asicrev != BGE_ASICREV_BCM5785 && - sc->bge_asicrev != BGE_ASICREV_BCM57765 && - sc->bge_asicrev != BGE_ASICREV_BCM57780) { + sc->bge_asicrev != BGE_ASICREV_BCM57780 && + !BGE_IS_5717_PLUS(sc)) { if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || sc->bge_asicrev == BGE_ASICREV_BCM5761 || sc->bge_asicrev == BGE_ASICREV_BCM5784 || --M9NhX3UHpAaciwkO-- From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 02:12:14 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2984EFB; Thu, 22 Nov 2012 02:12:13 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nskntqsrv02p.mx.bigpond.com (nskntqsrv02p.mx.bigpond.com [61.9.168.234]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD0D8FC08; Thu, 22 Nov 2012 02:12:12 +0000 (UTC) Received: from nskntotgx03p.mx.bigpond.com ([58.172.113.247]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20121121232909.VDRH10464.nskntmtas03p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com>; Wed, 21 Nov 2012 23:29:09 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.113.247]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20121121232909.CSTJ27134.nskntotgx03p.mx.bigpond.com@hermes.heuristicsystems.com.au>; Wed, 21 Nov 2012 23:29:09 +0000 Received: from white (white.hs [10.0.5.2]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id qALNPVAs021284 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 22 Nov 2012 10:25:31 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Willem Jan Withagen'" References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> Subject: RE: Increasing the DMESG buffer.... Date: Thu, 22 Nov 2012 10:25:29 +1100 Message-ID: <45E04CBCE376455A949D83B7237014B9@white> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac3IHd9TDUM/No1CRtuFX+hVNOzBDwAGhITg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: stable@freebsd.org, 'Adrian Chadd' X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 02:12:14 -0000 +1 (RAM is neither free nor abundant.) Increasing the default buffers, stack or heap use, should be carefully considered. There was a discussion about providing guidance/examples for loader.conf and sysctl.conf for various anticipated uses: firewall, workstation, servers, routers whether single/dual/multi core; perhaps this is where calls for values other than those necessary to get a basic general purpose machine working, should be? We manage servers providing all of: samba, squid, dovecot, sendmail, ldap, heimdal, apache on low-energy boxes with 1G RAM, and over 8 years FreeBSD has proven that it has "the power to serve". From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 04:00:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F583ECA for ; Thu, 22 Nov 2012 04:00:27 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id CB7248FC08 for ; Thu, 22 Nov 2012 04:00:26 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so6157785iec.13 for ; Wed, 21 Nov 2012 20:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=QOI1MtdHi9+nbTX56eFLQ9yNasSAP1n7m09TkYx03Bk=; b=LQFbs0qbwk2aenCHNJnq11Ax8XlQz8aMIYyXqFW4zxmbenz9A6vtCbSaAL3hglWD5h 2rySFzmVViKuw+FAeqHvJfdgMih8Ylo2H7Kf7LnLEbrT6dVqIq4BMNMjvP7m/vmwEuzM 0w6YXmrp/Y+OlepZodaDvkoqDUg+Hik/JS4w+MSdbDgyVq/ePCgF06JtHPrJ18W1t9zi BXum91OekHAcyrVgQyw/rloSRWYM1hrbY8IO6leVmH3fzUPzCpK49zeuNwOy+gjGT4hU QSO3Sbg77TYxbXKmLW6YPLD1IWTjUO4wAlFjBB9AIVx0sDgs5/QH6irKExd9Ug7dTiUs PJTQ== Received: by 10.50.53.147 with SMTP id b19mr1860510igp.12.1353556825986; Wed, 21 Nov 2012 20:00:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Wed, 21 Nov 2012 20:00:05 -0800 (PST) From: Morgan Reed Date: Thu, 22 Nov 2012 15:00:05 +1100 Message-ID: Subject: natd in a jail To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 04:00:27 -0000 Hi All, I've a bit of an odd query which I hope somebody may be able to assist with. I'm looking to set up several OpenVPN tunnels on a single machine (each residing in its own jail) and route data to different destinations over different tunnels by selectively routing the traffic via a particular jail. I have three jails set up with OpenVPN tunnels terminated in each, they all work as expected from the "local" machine. I can't do a straight forward route over the VPN tunnel as I don't control the other end of the tunnel, I need to treat it as a point-to-point connection as a result, hence I need to use NAT. I've tested this setup with a single tunnel running off a "real" machine with natd providing NAT, it works like a charm, however, when I move the config into a jail I run into issues, natd doesn't seem to be able to see the incoming traffic, nothing shows up in the logs at all. I'm not even sure if this is actually possible, I'm starting to suspect that natd can't hook in low enough from the jails to access the incoming traffic. Traffic gets into the jail by way of an epair interface between the host and the jail, bridged to the ethernet adapter by way of a bridge device, I can see the traffic attempting to route over the tun interface in the jail (but obviously it's not being NATted so nothing comes back) so the traffic is making it in and through the routing engine, just not via natd. Any suggestions here? The host is FreeBSD-8.3. Thanks, Morgan From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 04:16:57 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 384D3514; Thu, 22 Nov 2012 04:16:57 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0CA8FC08; Thu, 22 Nov 2012 04:16:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qAM4GjGp061028; Thu, 22 Nov 2012 15:16:46 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 22 Nov 2012 15:16:45 +1100 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: Increasing the DMESG buffer.... In-Reply-To: Message-ID: <20121122144400.M21191@sola.nimnet.asn.au> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Andriy Gapon , freebsd-stable@freebsd.org, Lars Engels , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 04:16:57 -0000 On Wed, 21 Nov 2012 12:08:42 -0800, Adrian Chadd wrote: > .. because some of us like kernel behaviour to be predictable and > controllable, rather than 'just be dynamic here, what could possibly > go wrong.' > > Just bump the default kernel buffer size up to 64k and leave it > hard-coded like that. Us embedded people can drop that down to > something smaller. > > There. Problem solved, right? Well maybe, but I still tend to take Andriy's point about snd_hda. For example, Lars Engels posted several verbose dmesgs the other day, not to do with sound, one of which was: http://bsd-geek.de/FreeBSD/T61_dmesg.boot.10.works T61_dmesg.boot.10.works (file 1 of 2) lines 1813-1861/1861 byte 82415/82415 Cutting just the hdaa0, pcm0 and pcm1 stuff results in: hda_pcm.verbose (file 2 of 2) lines 712-760/760 byte 28531/28531 Noting that this is way over 64k and not atypical for a 2 core laptop, we see 40.8% of the lines and 34.6% of the bytes are due to sound stuff. Dumping all nodes and channels is incredibly useful for folks needing to rewire something to get various jacks working and such, but I'd argue is way overkill for a 'normal' verbose boot. See acpi(4) for examples of selectively logging ACPI_DEBUG components with debug.acpi.{layer,level} and be very glad all of that doesn't appear in every verbose boot .. cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 05:10:23 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 257D7AA; Thu, 22 Nov 2012 05:10:23 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 427BD8FC0C; Thu, 22 Nov 2012 05:10:20 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.55]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id qAM4iQkg061200 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 22 Nov 2012 15:14:32 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: Increasing the DMESG buffer.... Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4D80BBCB-E168-45F2-B2C5-824558AA9E76"; protocol="application/pkcs7-signature"; micalg=sha1 From: "Daniel O'Connor" In-Reply-To: <20121122144400.M21191@sola.nimnet.asn.au> Date: Thu, 22 Nov 2012 15:14:18 +1030 Message-Id: References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> To: Ian Smith X-Mailer: Apple Mail (2.1499) X-Spam-Score: -3.051 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Adrian Chadd , Ronald Klop , freebsd-stable@freebsd.org, Andriy Gapon , Lars Engels X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 05:10:23 -0000 --Apple-Mail=_4D80BBCB-E168-45F2-B2C5-824558AA9E76 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 22/11/2012, at 14:46, Ian Smith wrote: > Dumping all nodes and channels is incredibly useful for folks needing = to=20 > rewire something to get various jacks working and such, but I'd argue = is=20 > way overkill for a 'normal' verbose boot. See acpi(4) for examples of=20= > selectively logging ACPI_DEBUG components with = debug.acpi.{layer,level}=20 > and be very glad all of that doesn't appear in every verbose boot .. Wouldn't it be better to expose that stuff via a sysctl directly (ie the = sysctl holds the actual data)> -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Apple-Mail=_4D80BBCB-E168-45F2-B2C5-824558AA9E76-- From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 07:11:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1610660C for ; Thu, 22 Nov 2012 07:11:22 +0000 (UTC) (envelope-from adrian.chadd@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 932938FC18 for ; Thu, 22 Nov 2012 07:11:21 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so2610376wey.13 for ; Wed, 21 Nov 2012 23:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ZzuAnyuoNrzbvrwmRs14uKH43F46MafHy+rMRsVimAg=; b=NzRXpwu+sAP1R2TVKgYuXyqO80O/ElwGok1XTiYF/wvVEkfzOv+fkJhIv15bRRCBMh HyFe6bXDYuGs8+v9bKTTeC+C4LtBBH/st7sKRzVSPO+o1g0AsoLWjifvdSrYs2SOGEX1 2Te73Q27iV+RFuMvGr2xRhk2XnQSNJfQj6W4FoGfC4mnJnN2N6rn2CAbHCEnFSR/yxum AHBUdMXSTIdjahd6neXM5ak+swXYTtoWtOcZfVyZFFi8YWghz73kEUdJaVaIcj0IaVQH CzKbyKDlNO8+cXKe3W7TmLcpldZAIsGM7lS3RNg1SUEDlatE6WQPqV2s1EJJV4Kl2+2D cCPw== MIME-Version: 1.0 Received: by 10.180.88.138 with SMTP id bg10mr2819605wib.13.1353568280442; Wed, 21 Nov 2012 23:11:20 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Wed, 21 Nov 2012 23:11:20 -0800 (PST) In-Reply-To: <50AD78F8.9000006@digiware.nl> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <50AD78F8.9000006@digiware.nl> Date: Wed, 21 Nov 2012 23:11:20 -0800 X-Google-Sender-Auth: tKicSCfBcTXMOV2xH3jTvEt5Dx8 Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Willem Jan Withagen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 07:11:22 -0000 Dearest people, I'm trying to get FreeBSD (back) into a couple orders of magnitude more devices than you're thinking about. When we talk about "the masses", let's keep in mind that we have different ideas of what "the masses" are. I'm trying to keep all of them in mind, rather than just the subset that want to run FreeBSD on their desktop or high end servers. Adrian On 21 November 2012 16:59, Willem Jan Withagen wrote: > On 2012-11-21 21:08, Adrian Chadd wrote: >> .. because some of us like kernel behaviour to be predictable and >> controllable, rather than 'just be dynamic here, what could possibly >> go wrong.' >> >> Just bump the default kernel buffer size up to 64k and leave it >> hard-coded like that. Us embedded people can drop that down to >> something smaller. >> >> There. Problem solved, right? > > My first ever self build system was a Z80 which started at 2Kbyte EPROM > and 2K RAM. which was huge at that time. (1980's) > Later I made bankswitch to have some 32K ROM and 2* 32K RAM. Boy was > that a lot of space. > > The first ever FreeBSD I/we ran, was 1.0(.2??) on a lowly i486 with 16Mb > of memory, with a 16 port serialcard with 14k4 modems. > It ran Bnews with a full feed on 2 1.6Gb disks... > Was mail server for > 1000 customers. > It ran slip for IP access... > > So sure I understand where we are coming from. > > And I'm still tinkering in removing bloat that I will not ever use, even > though my home server has 35T of storage. :) > > But hen still I agree with Ronald that we need to cater for the mass, > which means we keep in mind what just about most everybody is running. > And that is certainly not embedded with 16Mb NOR and 32Mb RAM. > > But then again I do appreciate you setting me straight on that waste is > never a good thing. > > --WjW From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 07:12:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0493764 for ; Thu, 22 Nov 2012 07:12:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id 504878FC14 for ; Thu, 22 Nov 2012 07:12:17 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so417439wib.13 for ; Wed, 21 Nov 2012 23:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=bYIrIKtH0JWW9NzIAzkaWz7sdxQ7XRM5LwnD4U78RUI=; b=RKSPRJ+oeMxEmYmQJSr0A3H7eHs20L95/jinkwPuHlMqEW60DK0hoQPulIUg6DcxZI z8wOr1HY551kdwJVRcmdcGf19BotxVB2MGUd/SNf0x1Dlr73J7UUnqrLV4NV+tcjhXjm pKJcMDHmqh2vakKHsMs7xryIG8dsaKveR2T1aa6KN4uNove8J9SkHxBVIQxPFIWYnY5V G15j7hOOYw4Qh8qe5C/1eLbm2Vrl0MkoRJs4DH0SUk4zw8wYF+1vSGW6umF7qjyG0/Dj gyQ9qWV4HpiN0UpIDVAyNhRBmNfql37UrHpRm8H2bYQn5FcCWaCmW6ETYCTKnp3FKnfc HtCw== MIME-Version: 1.0 Received: by 10.216.74.85 with SMTP id w63mr8677992wed.212.1353568337241; Wed, 21 Nov 2012 23:12:17 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Wed, 21 Nov 2012 23:12:17 -0800 (PST) In-Reply-To: <20121122144400.M21191@sola.nimnet.asn.au> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> Date: Wed, 21 Nov 2012 23:12:17 -0800 X-Google-Sender-Auth: um6dP1lPQO2ciFKoNV9lTse9S8g Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: Andriy Gapon , freebsd-stable@freebsd.org, Lars Engels , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 07:12:18 -0000 On 21 November 2012 20:16, Ian Smith wrote: > On Wed, 21 Nov 2012 12:08:42 -0800, Adrian Chadd wrote: > > .. because some of us like kernel behaviour to be predictable and > > controllable, rather than 'just be dynamic here, what could possibly > > go wrong.' > > > > Just bump the default kernel buffer size up to 64k and leave it > > hard-coded like that. Us embedded people can drop that down to > > something smaller. > > > > There. Problem solved, right? > > Well maybe, but I still tend to take Andriy's point about snd_hda. For > example, Lars Engels posted several verbose dmesgs the other day, not to > do with sound, one of which was: > http://bsd-geek.de/FreeBSD/T61_dmesg.boot.10.works > > T61_dmesg.boot.10.works (file 1 of 2) lines 1813-1861/1861 byte 82415/82415 > > Cutting just the hdaa0, pcm0 and pcm1 stuff results in: > > hda_pcm.verbose (file 2 of 2) lines 712-760/760 byte 28531/28531 Is there a way to extract this topology information out of the driver without putting it in the verbose output? Adrian From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 09:22:14 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3EA7A79 for ; Thu, 22 Nov 2012 09:22:14 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC448FC14 for ; Thu, 22 Nov 2012 09:22:13 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TbSz3-0007OB-16 for freebsd-stable@freebsd.org; Thu, 22 Nov 2012 10:22:10 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TbSz2-0001jt-M1 for freebsd-stable@freebsd.org; Thu, 22 Nov 2012 10:22:08 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> Date: Thu, 22 Nov 2012 10:22:10 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.11 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: 9090f8a1960d7f777b94d17b6f36e747 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 09:22:14 -0000 On Thu, 22 Nov 2012 08:12:17 +0100, Adrian Chadd wrote: > On 21 November 2012 20:16, Ian Smith wrote: >> On Wed, 21 Nov 2012 12:08:42 -0800, Adrian Chadd wrote: >> > .. because some of us like kernel behaviour to be predictable and >> > controllable, rather than 'just be dynamic here, what could possibly >> > go wrong.' >> > >> > Just bump the default kernel buffer size up to 64k and leave it >> > hard-coded like that. Us embedded people can drop that down to >> > something smaller. >> > >> > There. Problem solved, right? >> >> Well maybe, but I still tend to take Andriy's point about snd_hda. For >> example, Lars Engels posted several verbose dmesgs the other day, not to >> do with sound, one of which was: >> http://bsd-geek.de/FreeBSD/T61_dmesg.boot.10.works >> >> T61_dmesg.boot.10.works (file 1 of 2) lines 1813-1861/1861 byte >> 82415/82415 >> >> Cutting just the hdaa0, pcm0 and pcm1 stuff results in: >> >> hda_pcm.verbose (file 2 of 2) lines 712-760/760 byte 28531/28531 > > Is there a way to extract this topology information out of the driver > without putting it in the verbose output? > > Adrian Maybe via /dev/sndstat. See hw.snd.verbose in sound(4). An additional level 5 for super verbose information? Ronald. From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 09:41:59 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB7C510E for ; Thu, 22 Nov 2012 09:41:59 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 19E668FC0C for ; Thu, 22 Nov 2012 09:41:58 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA20957; Thu, 22 Nov 2012 11:41:55 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TbTIB-000GkR-IL; Thu, 22 Nov 2012 11:41:55 +0200 Message-ID: <50ADF362.2040803@FreeBSD.org> Date: Thu, 22 Nov 2012 11:41:54 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> In-Reply-To: <50AD1941.2020108@FreeBSD.org> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 09:41:59 -0000 on 21/11/2012 20:11 Andriy Gapon said the following: > on 21/11/2012 20:08 Willem Jan Withagen said the following: >> On 2012-11-21 19:05, Andriy Gapon wrote: >>> on 21/11/2012 19:48 Willem Jan Withagen said the following: > [snip] >>>> It seems to to be waiting/working in the ZFS code to get things unmounted. >>> >>> Yeah, oops, this is a known ZFS deadlock in zfs_freebsd_reclaim -> zfs_zget path. >>> I may commit my fix for it to head on the next weekend. >>> You may share this information with the list. >> >> Any change of getting this back into 9.1? >> Preferably before 9.1-RELEASE, but otherwise real soon after that. >> >> I'm the perfect test guinea-pig, it happens every time I reboot. > > I will definitely MFC it to stable/9, just not sure if I would be able to do it > before New Year. It definitely won't be in 9.1. I'll send you a patch later. > The patch: http://people.freebsd.org/~avg/zfs-vfs.4.diff -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 09:50:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F9A7264 for ; Thu, 22 Nov 2012 09:50:27 +0000 (UTC) (envelope-from 3XPWtUAwHDokwr44BFDDLDDKEJG.p1zs4rro5q-56noyrs4rro5q.14t@photos-server.bounces.google.com) Received: from mail-ie0-f202.google.com (mail-ie0-f202.google.com [209.85.223.202]) by mx1.freebsd.org (Postfix) with ESMTP id 54D688FC16 for ; Thu, 22 Nov 2012 09:50:26 +0000 (UTC) Received: by mail-ie0-f202.google.com with SMTP id s9so361827iec.1 for ; Thu, 22 Nov 2012 01:50:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.132.5 with SMTP id b5mt35658ict.7.1353577820623; Thu, 22 Nov 2012 01:50:20 -0800 (PST) Message-ID: <90e6ba3fced12c957604cf1265dc@google.com> Date: Thu, 22 Nov 2012 09:50:20 +0000 Subject: USB flash diver Introduce for the NEW shared photos with you From: USB flash diver Introduce for the NEW To: freebsd-stable@freebsd.org Content-Type: multipart/mixed; boundary=90e6ba3fced12d636904cf1265f5 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: USB flash diver Introduce for the NEW List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 09:50:27 -0000 --90e6ba3fced12d636904cf1265f5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Dear Manager Have a nice day This is Jerry from Shenzhen of China, writing to you to enter into business relationship with you. We are the professional manufacturer with nearly 6 years of experience oversea business in supplying USB Flash Drives, Tablet PC, Keyboard, Mouse, MP3, Digital Photo frame, Laser Pointer, Sound recording pen. We can supply you the competitive price and best quality, Welcome to visit our website: http://pzz510127.cn.alibaba.com Meanwhile, we will offer positive cooperation and sincere service, also look foward to buliding up long cooperation and double-win situation between us, Do the promise as belows: 1: Samples are arranged only about 2-3 days 2: The goods is at the rate of 100% inspected and tested before delivery 3: Any style of LOGO is no problem for us per as your requirement to publicize your company 4: There is thousand kinds of USB Flash Drive for your choice, also you can select any type you like or open new mould for you 5: Our factory is located in Shenzhen, so our quotation is FOB shenzhen. If any interest or need, Please feel free to contact us without hesitating, we will do everything well for you. Your reply will be highly appreciated Thank you very much Jerry Telephone: 86-0755-83268990-802 Mobilephone : 086 18682315895 MSN:Jerry200808@hotmail.com Skype:jerry200836 Email :Jerry200836@yahoo.cn Company name : T-Jorda Electronics Co.,Ltd Website : http://pzz510127.cn.alibaba.com --90e6ba3fced12d636904cf1265f5-- From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 10:38:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23310ECA for ; Thu, 22 Nov 2012 10:38:12 +0000 (UTC) (envelope-from simond@irrelevant.org) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 86F168FC16 for ; Thu, 22 Nov 2012 10:38:11 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so7691217lah.13 for ; Thu, 22 Nov 2012 02:38:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.org; s=irrelevant; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DpODEJXw6JmloUq6Voy5G58svzNlcTv8JVXw2gz37TA=; b=g7IySdxp3QRbCngvlXBA4imaZDdfKm3GwAuK6sJXxJLV4nIptMZ//LZvoeuLcs+ifZ s4eo1zfXphuhAVAWZgREzeaLAzvdoo4/6BjJReIUBaROfW4R+oJlBC9Ubgq4GtntwfnK QwxjyLfkG96a91T9BaRdavFsfyO/yRHQfUNuk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=DpODEJXw6JmloUq6Voy5G58svzNlcTv8JVXw2gz37TA=; b=hFrHjq0GQUMthYmhbAqABCQszo41W7Rw9+vi2pzKpfnBLdc415gb+13P33nuPB6btD whfgONnnUNxUMvbd+09Sh0E3HK+m+1qCOAYRDA2C4EZeOTan73MCvL9ZK73Ezvbqh1gM ae/rSIt8EbpMJmhtoo3IzQbCY3tww8npIgSwI6pSshzzNS2zp3Nuhp5yAdl2nS1+zRn0 tMqKfQc1vyUs6vEoEeu0xJHlkhv0CImZBTR0NiuwFn9XhieftFrgaVFpnaQzjuTLMCuD dpgr4I+blHnmApbSwPNZxR1i4aixVT1s+PuCUVxLs4e1/PvvjjsYN9dcwWczX12VfSXk PLAQ== MIME-Version: 1.0 Received: by 10.152.103.38 with SMTP id ft6mr57394lab.40.1353580690223; Thu, 22 Nov 2012 02:38:10 -0800 (PST) Received: by 10.114.63.83 with HTTP; Thu, 22 Nov 2012 02:38:10 -0800 (PST) X-Originating-IP: [94.31.26.5] In-Reply-To: References: Date: Thu, 22 Nov 2012 10:38:10 +0000 Message-ID: Subject: Re: natd in a jail From: Simon Dick To: Morgan Reed X-Gm-Message-State: ALoCoQmrfCO5IKPlLcBsdM0b1DwITdPI/qyB/TMTo5aUqNO8mPuAGLXgyn7g7opYldwCDihC7+2g Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 10:38:12 -0000 On 22 November 2012 04:00, Morgan Reed wrote: > Hi All, > > I've a bit of an odd query which I hope somebody may be able to > assist with. > > I'm looking to set up several OpenVPN tunnels on a single machine > (each residing in its own jail) and route data to different > destinations over different tunnels by selectively routing the traffic > via a particular jail. > > I have three jails set up with OpenVPN tunnels terminated in each, > they all work as expected from the "local" machine. > > I can't do a straight forward route over the VPN tunnel as I don't > control the other end of the tunnel, I need to treat it as a > point-to-point connection as a result, hence I need to use NAT. > > I've tested this setup with a single tunnel running off a "real" > machine with natd providing NAT, it works like a charm, however, when > I move the config into a jail I run into issues, natd doesn't seem to > be able to see the incoming traffic, nothing shows up in the logs at > all. > > I'm not even sure if this is actually possible, I'm starting to > suspect that natd can't hook in low enough from the jails to access > the incoming traffic. > > Traffic gets into the jail by way of an epair interface between the > host and the jail, bridged to the ethernet adapter by way of a bridge > device, I can see the traffic attempting to route over the tun > interface in the jail (but obviously it's not being NATted so nothing > comes back) so the traffic is making it in and through the routing > engine, just not via natd. > > Any suggestions here? > > The host is FreeBSD-8.3. > I've not used it myself, but this sound like something VIMAGE may be good for, basically it's a virtual tcp stack per jail, there's some docs at http://wiki.freebsd.org/Image but I seem to remember a more up to date one elsewhere but can't find it at the moment! From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 10:43:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E214C7 for ; Thu, 22 Nov 2012 10:43:32 +0000 (UTC) (envelope-from nickolasbug@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id A30168FC12 for ; Thu, 22 Nov 2012 10:43:30 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so528461wib.13 for ; Thu, 22 Nov 2012 02:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LP0W7yKFnllaD4a+Phh8ar+jqKvN4RXe1TkXv8M86E4=; b=pN6JhSt/F/H8nw6J+ltt+QKCirTeVxG4ph2qOk+gHeXk0uVUliwvO8FhKL7cm3fg0R ++Q3I4YQ2OPrpCAf0Ewpiqc4Z5SUHpdZRzlXQ0rRgIIQlVc6f7ATDii1/pECNqrVkCG5 nfDAogDImukrZYsn1skM53lUDNlATlbhDi82LlsQRTIX9iVgBD5Uw9pDlavmDgCX/34k yFN+z8GmrgrFFXKCs4nz2A1csLLd1pEj1CRK4bnG3iz5yNh2xVhUwT4rUDALc8y7AZmp JGHb0BJmGW+SezHVLA8Sr/C7MIAs34CIQ4n4ue/cwr4MlHUB2iB5l1I3XmlBexd9eXtb 2q0g== MIME-Version: 1.0 Received: by 10.180.109.132 with SMTP id hs4mr349261wib.1.1353581009431; Thu, 22 Nov 2012 02:43:29 -0800 (PST) Received: by 10.194.22.230 with HTTP; Thu, 22 Nov 2012 02:43:29 -0800 (PST) In-Reply-To: References: Date: Thu, 22 Nov 2012 12:43:29 +0200 Message-ID: Subject: Re: natd in a jail From: nickolasbug@gmail.com To: Simon Dick Content-Type: text/plain; charset=ISO-8859-1 Cc: Morgan Reed , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 10:43:32 -0000 > I've not used it myself, but this sound like something VIMAGE may be good > for, basically it's a virtual tcp stack per jail, there's some docs at > http://wiki.freebsd.org/Image but I seem to remember a more up to date one > elsewhere but can't find it at the moment! AFAIK, VIMAGE is still experimental feature. From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 10:53:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 247F534B; Thu, 22 Nov 2012 10:53:58 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1AABC8FC08; Thu, 22 Nov 2012 10:53:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qAMArrum074712; Thu, 22 Nov 2012 21:53:54 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 22 Nov 2012 21:53:53 +1100 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: Increasing the DMESG buffer.... In-Reply-To: Message-ID: <20121122213328.J21191@sola.nimnet.asn.au> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alexander Motin , freebsd-stable@freebsd.org, Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 10:53:58 -0000 On Wed, 21 Nov 2012 23:12:17 -0800, Adrian Chadd wrote: > On 21 November 2012 20:16, Ian Smith wrote: > > On Wed, 21 Nov 2012 12:08:42 -0800, Adrian Chadd wrote: [..] > > T61_dmesg.boot.10.works (file 1 of 2) lines 1813-1861/1861 byte 82415/82415 > > > > Cutting just the hdaa0, pcm0 and pcm1 stuff results in: > > > > hda_pcm.verbose (file 2 of 2) lines 712-760/760 byte 28531/28531 > > Is there a way to extract this topology information out of the driver > without putting it in the verbose output? We should be asking Alexander, cc'd. I only have a snd_ich here, where hw.snd.verbose=3 is as rich as it gets, 105 lines incl. file versions. cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 11:33:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A7984DB for ; Thu, 22 Nov 2012 11:33:01 +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 0AD9B8FC0C for ; Thu, 22 Nov 2012 11:33:00 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id qAMBWxwk029309 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 22 Nov 2012 05:32:59 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Thu, 22 Nov 2012 05:32:59 -0600 From: "Teske, Devin" To: "" Subject: Re: natd in a jail Thread-Topic: natd in a jail Thread-Index: AQHNyKUfLExO1/4+QEWlWSCJfqtptA== Date: Thu, 22 Nov 2012 11:32:58 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201E49842@ltcfiswmsgmb21> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.14.152.61] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185, 1.0.431, 0.0.0000 definitions=2012-11-22_03:2012-11-22,2012-11-22,1970-01-01 signatures=0 Cc: Morgan Reed , "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 11:33:01 -0000 On Nov 22, 2012, at 2:43 AM, wrote: >> I've not used it myself, but this sound like something VIMAGE may be good >> for, basically it's a virtual tcp stack per jail, there's some docs at >> http://wiki.freebsd.org/Image but I seem to remember a more up to date o= ne >> elsewhere but can't find it at the moment! I have created a boot script for managing vimages (downloadable as a FreeBS= D package) and made a little write-up on how to use it... http://druidbsd.sf.net/vimage.shtml Note that I use netgraph for bridging (not if_bridge+epair method which see= ms to be popular in some other setups -- we've benchmarked netgraph and it = scales well). Not to mention that "ngctl dot | dot -Tsvg -o network.svg" ca= n produce nice pretty graphs of your vimage structure when using my setup. > AFAIK, VIMAGE is still experimental feature. Works great, tho, seriously! We're multiplexing hardware 20:1 and could pro= bably push it further (but have conservatively kept things at about 2-3x th= e number of logical CPUs for number-of-vimages (tho, we have benchmarked up= to 65530 nodes on a single bridged network connection before netgraph woul= d refuse to make another (impressive -- but not nearly as impressive as the= ~90 minutes it took ifconfig to list all the interfaces lol?). --=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-stable@FreeBSD.ORG Thu Nov 22 11:33:46 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5A7D5DD for ; Thu, 22 Nov 2012 11:33:46 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id A89178FC19 for ; Thu, 22 Nov 2012 11:33:46 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so6726161iec.13 for ; Thu, 22 Nov 2012 03:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tXqktjgH8qJ8L3y1TXHnh609CjoDS28nVApO6IrUFgQ=; b=F08S3DVo2ih8WdQVLa2e9MZxweV2VAhFHC92QGywGmX+Fx9GiVh7iHs0ShObBaJKH8 SJWYHR12g62z3YKv4tDaho9egUVLnhbW+2TcUgez1KIbMOgeaHkV7kduSYmjN52HZRAT xY09V9rZXF2zcz2PELHUciAeFCkFYbKUxzp2S/JawfLJPt+sB0HcnuPaqvZW6tvBsZIq VtHLUGECRL730SjF12yrvk1h/5UaEizyalRxxQbdDSco7V1B2nmQv/ffWSXfAXKyT0rt o5VjnvniNFOesnXbz1r0320rkxe52YN+NPN/oP0tESgzKL6JK3EKtdh9bI9DRj4SNZs1 oImQ== Received: by 10.50.187.165 with SMTP id ft5mr2915630igc.12.1353584025586; Thu, 22 Nov 2012 03:33:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Thu, 22 Nov 2012 03:33:24 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Thu, 22 Nov 2012 22:33:24 +1100 Message-ID: Subject: Re: natd in a jail To: Simon Dick Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 11:33:47 -0000 On Thu, Nov 22, 2012 at 9:38 PM, Simon Dick wrote: > I've not used it myself, but this sound like something VIMAGE may be good > for, basically it's a virtual tcp stack per jail, there's some docs at > http://wiki.freebsd.org/Image but I seem to remember a more up to date one > elsewhere but can't find it at the moment! These are all VIMAGE jails :) I originally tried to do this without VIMAGE but OpenVPN won't work properly in that environment as if it updated the kernel routing table (which ISTR it couldn't, makes sense given the nature of jail) it would have changed it on the host and all jail images. From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 11:38:35 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B509074C for ; Thu, 22 Nov 2012 11:38:35 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 782498FC13 for ; Thu, 22 Nov 2012 11:38:35 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so6734115iec.13 for ; Thu, 22 Nov 2012 03:38:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=XU2OW6M/+gvP1f6vbRtxKjIpXzLS+MIapMa39bo3AY8=; b=y8WSzKwVXH7hEsLgwkHqaA1L6XODULGjtXNO8GIWFktH4n5XG4B1PpNHuyGbbAWQ2q RPLPtri4l/KGX4NovyL+dJnhGhf+N+JlT8H+m4zNcPYny3gYj4d8BGF7Ak+FLkWUFuSt oiFD72faeY/YYk1b5xbLTbHiTaMci4/46meynIwH1mbwbtUYal9szosRtXBSd79RFzR+ nsRozylpfgRqJlkyzDRJ+oChc08zbUYRNpLOqCJBNSzBlrjF7z0McGLdi2GYsBzYsY1S 5NIRnd0G7Cn5d+wQ5Cw3VrqoP8UgSIs3HcuZEXcKHXAZl+ccpbyogySt6HZ940lh6D4U EMaQ== Received: by 10.50.152.197 with SMTP id va5mr289435igb.12.1353584315127; Thu, 22 Nov 2012 03:38:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Thu, 22 Nov 2012 03:38:14 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Thu, 22 Nov 2012 22:38:14 +1100 Message-ID: Subject: Fwd: natd in a jail To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 11:38:35 -0000 Hmm, list was missing from reply-to on this one. ---------- Forwarded message ---------- From: Morgan Reed Date: Thu, Nov 22, 2012 at 10:36 PM Subject: Re: natd in a jail To: Dewayne Geraghty On Thu, Nov 22, 2012 at 9:33 PM, Dewayne Geraghty wrote: > We run a lot of jails with kernel nat and ipfw (& ipsec but that's not what > you need here). Some of the hosts haven't migrated from natd to kernel nat, > so we're probably similar to your setup. Sounds very similar, just substituting OpenVPN for IPSec. > 90% of our jails have an 192.168/16 that nat via an external interface with > a routable address, and an internal non-routeable address (ie non-RFC1918); > which is probably what you're doing for your VPN stuff. > > Our openvpn's all use tun, I would suggest that your natd isn't doing > exactly like you'd wish - on a good day it can be tricky to get right and > tcpdump is your friend, which should be monitored in both your host > environment and within the jail. You'll need to enable allow.raw_sockets > and you'll probably want to enable bpf to be available in your jail, if you > haven't already done so. BPF is enabled for the jails, and the traffic is getting to where it needs to (but not via natd). I'll try enabling raw_sockets in the jails, it is entirely conceivable that natd requires that functionality. Thanks for your assistance, I'll see how I go and report back. Best Regards, Morgan Reed -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759 From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 11:42:56 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA862883 for ; Thu, 22 Nov 2012 11:42:56 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id A97C58FC0C for ; Thu, 22 Nov 2012 11:42:56 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so6741050iec.13 for ; Thu, 22 Nov 2012 03:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ZzPwBqWdFqoiaZ+12uEnekTnwcRXqhyjM3fhzqCHiGk=; b=FdNAaQGI2Q0kYrNZTXMURmnp+sQtxKZF00b8DQTsqaG8KEOCFUkEhTK3H7s+P0dVCr dw7icZFTcHt0r5dry+L6f7Qex4BiZ7zOdtPFMF/GOHVsUZYrGBL5Bp3XMPPFhQHQtGsP DxKR6IFslBwhNnAmAYhFL/1m9cQP1N+QV+bybBRZml/gPH5LnuKI4WrW1xoSHt+W7PVA BCNA+J4gLWe5pm0JtWUDXuzwc1dncFMJjmUnq7DXi+JCeR9t1iQOMHLfunM37j1/+nOE l8rzyWsk+JDxeqYJR1ghkW17fFfChG8+b19+2TMOo1SQQgqLoY/vBAqGN5rRqzdGU3cY om/g== Received: by 10.50.187.165 with SMTP id ft5mr2941219igc.12.1353584576111; Thu, 22 Nov 2012 03:42:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Thu, 22 Nov 2012 03:42:35 -0800 (PST) In-Reply-To: <13CA24D6AB415D428143D44749F57D7201E49842@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201E49842@ltcfiswmsgmb21> From: Morgan Reed Date: Thu, 22 Nov 2012 22:42:35 +1100 Message-ID: Subject: Re: natd in a jail To: "Teske, Devin" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" , "" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 11:42:57 -0000 On Thu, Nov 22, 2012 at 10:32 PM, Teske, Devin wrote: > I have created a boot script for managing vimages (downloadable as a Free= BSD package) and made a little write-up on how to use it... > http://druidbsd.sf.net/vimage.shtml As noted elsewhere, these are VIMAGE jails, but I'm managing them manually with a spaghetti script at the moment (just proof-of-concept at this point), I'll have a look at the script, might make my life easier. > Note that I use netgraph for bridging (not if_bridge+epair method which s= eems to be popular in some other setups -- we've benchmarked netgraph and i= t scales well). Not to mention that "ngctl dot | dot -Tsvg -o network.svg" = can produce nice pretty graphs of your vimage structure when using my setup= . Hmmm, I've not done anything with netgraph before, I'll have a look into it, if it is an issue of the appropriate interfaces not being exposed to natd from the epair/bridge setup that might be an alternate solution, not hugely concerned about scale, it'll pretty much only be my traffic that gets routed this way, but I am interested in making it as efficient as possible (no sense adding additional latency unnecessarily when one already has the tunnel latency to deal with). Thanks, Morgan From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 13:18:47 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C58A419 for ; Thu, 22 Nov 2012 13:18:47 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.43]) by mx1.freebsd.org (Postfix) with SMTP id 50A0C8FC13 for ; Thu, 22 Nov 2012 13:18:46 +0000 (UTC) Received: (qmail invoked by alias); 22 Nov 2012 11:50:03 -0000 Received: from 77.49.93.72.dsl.dyn.forthnet.gr (EHLO [192.168.1.77]) [77.49.93.72] by mail.gmx.com (mp-eu006) with SMTP; 22 Nov 2012 12:50:03 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX18gxOVyhgwgiOUOrweF7ayLfsCHrgXaxSU3QAIwwP vr0DLouRZ8H65H Message-ID: <50AE1164.4050901@gmx.com> Date: Thu, 22 Nov 2012 13:49:56 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: Morgan Reed Subject: Re: natd in a jail References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 13:18:47 -0000 On 11/22/2012 6:00 AM, Morgan Reed wrote: > Hi All, Hi, [snipped content] > Any suggestions here? A quick one. Could you make a try using "ipfw nat" instead of natd? I am not sure about divert socket and natd per jail, but NATing using ipfw and libalias(which natd uses as well) works. HTH, Nikos From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 14:30:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D868244; Thu, 22 Nov 2012 14:30:27 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CC0818FC17; Thu, 22 Nov 2012 14:30:26 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so11057598vba.13 for ; Thu, 22 Nov 2012 06:30:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rY4nvoNCnEDk/VRINunbq7MG6mdBjH40aHI2ghGJN7k=; b=s1kvi51GXpmNhmuLXxWlCVUkx7BYR+JWy3Gs+PrBV1GcnK6Qq3o6Rbs8PFuQGB5BEc E7tI4rY2XdmTLZhHnimWq1uy58JrfDs3sUt8EpsWIty6bvCWbwOUiteVPod/CoFD3NFi cE0OYEdkt6yQvbBc3Jie0CT0wNCKfEN2ppFEaRSY8m5WYskajitt1C+K6szBFKVlbrC4 09ijS3YrSsD999qNr1QAwyzbWPFKemdKBTa+vtv6xeEYGD8BABoOIeevAYAL8s9PuFGt jsdjhz+FwNy3s0p9x3XCqxGOSWOcM/iPNjnnMRW+mk0kP6RSA4vUdrag3q1YKivAxb8S gCcw== Received: by 10.52.26.176 with SMTP id m16mr928600vdg.64.1353594625777; Thu, 22 Nov 2012 06:30:25 -0800 (PST) Received: from mavbook.mavhome.dp.ua (cpe-67-244-107-195.nyc.res.rr.com. [67.244.107.195]) by mx.google.com with ESMTPS id co1sm1848415vdc.10.2012.11.22.06.30.24 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 06:30:24 -0800 (PST) Sender: Alexander Motin Message-ID: <50AE36FF.7080106@FreeBSD.org> Date: Thu, 22 Nov 2012 16:30:23 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: Ian Smith Subject: Re: Increasing the DMESG buffer.... References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> In-Reply-To: <20121122213328.J21191@sola.nimnet.asn.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-stable@freebsd.org, Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 14:30:27 -0000 On 22.11.2012 12:53, Ian Smith wrote: > On Wed, 21 Nov 2012 23:12:17 -0800, Adrian Chadd wrote: > > On 21 November 2012 20:16, Ian Smith wrote: > > > On Wed, 21 Nov 2012 12:08:42 -0800, Adrian Chadd wrote: > [..] > > > T61_dmesg.boot.10.works (file 1 of 2) lines 1813-1861/1861 byte 82415/82415 > > > > > > Cutting just the hdaa0, pcm0 and pcm1 stuff results in: > > > > > > hda_pcm.verbose (file 2 of 2) lines 712-760/760 byte 28531/28531 > > > > Is there a way to extract this topology information out of the driver > > without putting it in the verbose output? > > We should be asking Alexander, cc'd. I only have a snd_ich here, where > hw.snd.verbose=3 is as rich as it gets, 105 lines incl. file versions. Neither ICH, nor any other driver I know have amount of information comparable to what HDA hardware provides. So the analogy is not good. Respecting that most CODECs have no published datasheets, that information is the only input for debugging. snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver debugging. It also enables a lot of debugging in sound(4), that can be too verbose for HDA debugging. I will recheck again how can it be reorganized, but I think that the real problem is not in HDA. We need some way to structure and filter the output. -- Alexander Motin From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 22:05:35 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 717F0578; Thu, 22 Nov 2012 22:05:35 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id BA29A8FC14; Thu, 22 Nov 2012 22:05:34 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hm6so926679wib.13 for ; Thu, 22 Nov 2012 14:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=AOyeIHXNrdV8Nrb+Pk+O6WnjfnB7WVbB5ee/SsfUwBM=; b=rNmUfIp9HUkb4nD82pVsOp95QnO2QWTgf9cpQALOc5/e8fMF0U4xil9Ne7YPXGCJTY 0W75nu/U+m6ZQEbYPvCQ5aPUff4zIqCoJPauQ2gy9TWUgHIdBgpJXDKhb5jEVrny6mF5 armXQaQ2bgPTYtgGpLzwCnsgB5iefrPssFLUf8C/l0KFluegwlBpt6QBDM2DFJe4Qo0H 1En4ETgxjlxr2BWP7WxOl6JPrC+tcRjjQpX1ZewF/I7cVD6wv+K+NW+azG1hHA3uILww J2+GOAPuIYARI889SYL9wanr2yPJLX2M72hqxDyLqajR1wxbm4b4xhyg7tjbit40+ysh L+TQ== MIME-Version: 1.0 Received: by 10.180.24.4 with SMTP id q4mr6601369wif.19.1353621928598; Thu, 22 Nov 2012 14:05:28 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Thu, 22 Nov 2012 14:05:28 -0800 (PST) In-Reply-To: <50AE36FF.7080106@FreeBSD.org> References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> Date: Thu, 22 Nov 2012 14:05:28 -0800 X-Google-Sender-Auth: 45FznQsbYpCdVZZvJdAKEWVPDJ4 Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: Ronald Klop , freebsd-stable@freebsd.org, Ian Smith , Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 22:05:35 -0000 On 22 November 2012 06:30, Alexander Motin wrote: > Neither ICH, nor any other driver I know have amount of information > comparable to what HDA hardware provides. So the analogy is not good. > Respecting that most CODECs have no published datasheets, that information > is the only input for debugging. > > snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver > debugging. It also enables a lot of debugging in sound(4), that can be too > verbose for HDA debugging. > > I will recheck again how can it be reorganized, but I think that the real > problem is not in HDA. We need some way to structure and filter the output. I honestly would like to just see it spat out using a userland tool, rather than having the kernel print that level of topology data out. It's highly unlikely that a topology problem is going to cause a system to not boot, right? So the kernel itself doesn't need to be able to spit that data out. adrian From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 22:15:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B83F4964; Thu, 22 Nov 2012 22:15:06 +0000 (UTC) (envelope-from kob6558@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 CBB028FC14; Thu, 22 Nov 2012 22:15:05 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so6083142eek.13 for ; Thu, 22 Nov 2012 14:14:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WiN1ft5IXMaiVaU1zeiG6vS7CBJkaDb89/jIY+VHzBU=; b=G5Bfn1CxUgM9LJNHcR0kuCe8JXlczPXleHuSGaWYy/lj7JHL8x7ErBT88CV85kyugW 8AHb4PoYTvaOBTOR4qdC61GEUBy22KlSAYX/bBBkBiOTOTgFLEDonBiDj7+0zWMqPX0H VjMaDmrvGDDH+eIOn4nqRHldX05t1Qm90A8/N1t+Bj4CmBPNVo5my8j8lGCDbzAezsIj k3NpAtDnwxifs0Ayl1evuk7QdlersSBS+VsWp39hjp/6rSBAlClSuKokYDX3aDLuH5Hd qIE+k783whGYQV/T3v/h3XUVgUn7b9pMLTlFQAbcwdY73gBP57TRT2qr9oiXWBa7582h jOog== MIME-Version: 1.0 Received: by 10.14.194.72 with SMTP id l48mr5942466een.9.1353622499337; Thu, 22 Nov 2012 14:14:59 -0800 (PST) Received: by 10.223.71.199 with HTTP; Thu, 22 Nov 2012 14:14:59 -0800 (PST) In-Reply-To: References: <50ACA59D.3080809@digiware.nl> <20121121101411.GG4535@server.rulingia.com> <50ACD522.7000706@digiware.nl> <50ACEE5B.8000901@FreeBSD.org> <50ACF891.4050105@digiware.nl> <1353513692.69940.7.camel@revolution.hippie.lan> <50ACFC6C.8070506@FreeBSD.org> <20121122040251.G21191@sola.nimnet.asn.au> <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> Date: Thu, 22 Nov 2012 14:14:59 -0800 Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: Andriy Gapon , Alexander Motin , freebsd-stable@freebsd.org, Ian Smith , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 22:15:06 -0000 On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd wrote: > On 22 November 2012 06:30, Alexander Motin wrote: > >> Neither ICH, nor any other driver I know have amount of information >> comparable to what HDA hardware provides. So the analogy is not good. >> Respecting that most CODECs have no published datasheets, that information >> is the only input for debugging. >> >> snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver >> debugging. It also enables a lot of debugging in sound(4), that can be too >> verbose for HDA debugging. >> >> I will recheck again how can it be reorganized, but I think that the real >> problem is not in HDA. We need some way to structure and filter the output. > > I honestly would like to just see it spat out using a userland tool, > rather than having the kernel print that level of topology data out. > > It's highly unlikely that a topology problem is going to cause a > system to not boot, right? So the kernel itself doesn't need to be > able to spit that data out. Maybe I'm missing something, but the data needed to adjust HDAC is available from 'sysctl dev.hdaa'. I have not looked at the verbose output in quite a while, but I think it is mstly or entirely hte information in that and 'sysctl dev.hdac'. I never needed to look elsewhere to get mine set up properly. Also, isn't the entire verbose boot captured in /var/run/dmesg? -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-stable@FreeBSD.ORG Thu Nov 22 22:49:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3449DE82; Thu, 22 Nov 2012 22:49:17 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id CFAC88FC08; Thu, 22 Nov 2012 22:49:16 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TbfZy-0007F7-LK; Thu, 22 Nov 2012 17:49:06 -0500 Date: Thu, 22 Nov 2012 17:49:06 -0500 From: Gary Palmer To: Kevin Oberman Subject: Re: Increasing the DMESG buffer.... Message-ID: <20121122224906.GE88593@in-addr.com> References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: Adrian Chadd , freebsd-stable@freebsd.org, Ian Smith , Alexander Motin , Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2012 22:49:17 -0000 On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: > On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd wrote: > > On 22 November 2012 06:30, Alexander Motin wrote: > > > >> Neither ICH, nor any other driver I know have amount of information > >> comparable to what HDA hardware provides. So the analogy is not good. > >> Respecting that most CODECs have no published datasheets, that information > >> is the only input for debugging. > >> > >> snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver > >> debugging. It also enables a lot of debugging in sound(4), that can be too > >> verbose for HDA debugging. > >> > >> I will recheck again how can it be reorganized, but I think that the real > >> problem is not in HDA. We need some way to structure and filter the output. > > > > I honestly would like to just see it spat out using a userland tool, > > rather than having the kernel print that level of topology data out. > > > > It's highly unlikely that a topology problem is going to cause a > > system to not boot, right? So the kernel itself doesn't need to be > > able to spit that data out. > > Maybe I'm missing something, but the data needed to adjust HDAC is > available from 'sysctl dev.hdaa'. I have not looked at the verbose > output in quite a while, but I think it is mstly or entirely hte > information in that and 'sysctl dev.hdac'. I never needed to look > elsewhere to get mine set up properly. > > Also, isn't the entire verbose boot captured in /var/run/dmesg? Only if the message buffer hasn't overflowed before the utility runs to populate the file Gary From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 00:20:54 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8ED9950; Fri, 23 Nov 2012 00:20:54 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01AAB8FC18; Fri, 23 Nov 2012 00:20:53 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so2315136eaa.13 for ; Thu, 22 Nov 2012 16:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vCYyGGCOXKCSqonrMgfsoqVF4Amk1mcXnVsL8Inh7Ps=; b=C45OaToR12waNRwFFpo+iO7mMvS2bcSy1l9KZxxzFfjBuiULVOrXtYMRvArx4tQLLk e3tcqjfwx3Vcw8PUymDPy2XAnainOS03/ojL0wfCMtrrJVUgllJ4fgeKoiJpXPq9lkEK z7+OaDYsmNliDKxFujZ3EiZWOEvVeueftEaprQmgCewU/zCqRFSRltgYz9NP8X9yy5VJ rZfOWaHtRwYICVhsNaxmMguILAZsfokjdlocYsdtBhc8ZIoKu17MIx3UL7/eHrQjjXce krV1EjvTryos+xvT9g8dP2gzN/aFMBjNErdwjJfGowdBoYRAxNOMqPvi1xrXi5WHz71m ulxQ== MIME-Version: 1.0 Received: by 10.14.184.134 with SMTP id s6mr6648455eem.43.1353630052806; Thu, 22 Nov 2012 16:20:52 -0800 (PST) Received: by 10.223.71.199 with HTTP; Thu, 22 Nov 2012 16:20:52 -0800 (PST) In-Reply-To: <20121122224906.GE88593@in-addr.com> References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> Date: Thu, 22 Nov 2012 16:20:52 -0800 Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Kevin Oberman To: Gary Palmer Content-Type: text/plain; charset=UTF-8 Cc: Adrian Chadd , freebsd-stable@freebsd.org, Ian Smith , Alexander Motin , Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 00:20:55 -0000 On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer wrote: > On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: >> On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd wrote: >> > On 22 November 2012 06:30, Alexander Motin wrote: >> > >> >> Neither ICH, nor any other driver I know have amount of information >> >> comparable to what HDA hardware provides. So the analogy is not good. >> >> Respecting that most CODECs have no published datasheets, that information >> >> is the only input for debugging. >> >> >> >> snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver >> >> debugging. It also enables a lot of debugging in sound(4), that can be too >> >> verbose for HDA debugging. >> >> >> >> I will recheck again how can it be reorganized, but I think that the real >> >> problem is not in HDA. We need some way to structure and filter the output. >> > >> > I honestly would like to just see it spat out using a userland tool, >> > rather than having the kernel print that level of topology data out. >> > >> > It's highly unlikely that a topology problem is going to cause a >> > system to not boot, right? So the kernel itself doesn't need to be >> > able to spit that data out. >> >> Maybe I'm missing something, but the data needed to adjust HDAC is >> available from 'sysctl dev.hdaa'. I have not looked at the verbose >> output in quite a while, but I think it is mstly or entirely hte >> information in that and 'sysctl dev.hdac'. I never needed to look >> elsewhere to get mine set up properly. >> >> Also, isn't the entire verbose boot captured in /var/run/dmesg? > > Only if the message buffer hasn't overflowed before the utility runs to > populate the file Ouch! I did miss hte obvious. Thanks for pointing this out. So we need to either expand the default buffer (not something I would want to do) or trim the verbosity of the verbose boot. Am I also missing an obvious reason most of the HDA output could not be eliminated since it is available y sysctl? -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 01:27:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5172F9EC for ; Fri, 23 Nov 2012 01:27:17 +0000 (UTC) (envelope-from denny336956@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 00D918FC13 for ; Fri, 23 Nov 2012 01:27:16 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so285211vba.13 for ; Thu, 22 Nov 2012 17:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2FM1ZN2NOYSx2EXQ4+OU0kF/r2wofMc4PGzTAQ3uasM=; b=RMprIIreg5SNKde/kLcdo7zvOCZU5I8yuEhRORQy6EuzurmXVDfWMvSFcD5mhXXqN3 Hg8/fzbUaRgDL2MAVcNvJkbQyCrAB8uo6W9N18cZ5e/Z/W8LeILbJELTuGM+5xGKoOJ3 e33Gw0bKx6f79601AUzXYncZ1n+I2J/jgCM6lw0DqA0kPk6+qUhALO4vHRMYJxNtfAa7 SNuycZ1x22b+aJaUk9SVq4i9Rm8S+kf2uiv56tp5H+Th9/qBYK1WEYJeRJTNouw1zcIJ QRsy/g75G4zUBh8nK39Ue57WCeY1Nl6ZdYFeoLKAvXoAUjvrnk796QL27/ZlKkbcJbUK W1xA== MIME-Version: 1.0 Received: by 10.220.228.2 with SMTP id jc2mr3538468vcb.32.1353634036210; Thu, 22 Nov 2012 17:27:16 -0800 (PST) Received: by 10.58.24.168 with HTTP; Thu, 22 Nov 2012 17:27:16 -0800 (PST) Date: Fri, 23 Nov 2012 08:27:16 +0700 Message-ID: Subject: Ask freebsd 9 to stabil From: Denny Johannurdin To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 01:27:17 -0000 dear admin how to make freebsd 9.1 prerelease in to stable reagrds From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 02:24:19 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4D7D501 for ; Fri, 23 Nov 2012 02:24:19 +0000 (UTC) (envelope-from erichfreebsdlist@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 52C308FC12 for ; Fri, 23 Nov 2012 02:24:19 +0000 (UTC) Received: from X220.ovitrap.com ([122.129.203.50]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id qAN2NrZm012984; Thu, 22 Nov 2012 19:24:04 -0700 Date: Fri, 23 Nov 2012 09:23:50 +0700 From: Erich Dollansky To: Denny Johannurdin Subject: Re: Ask freebsd 9 to stabil Message-ID: <20121123092350.0db4441d@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 02:24:19 -0000 Hi, On Fri, 23 Nov 2012 08:27:16 +0700 Denny Johannurdin wrote: > dear admin > > how to make freebsd 9.1 prerelease in to stable you just update the system. Erich From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 04:50:23 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB873100; Fri, 23 Nov 2012 04:50:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1779C8FC08; Fri, 23 Nov 2012 04:50:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qAN4oCCY011086; Fri, 23 Nov 2012 15:50:12 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Fri, 23 Nov 2012 15:50:12 +1100 (EST) From: Ian Smith To: Kevin Oberman Subject: Re: Increasing the DMESG buffer.... In-Reply-To: Message-ID: <20121123150719.M21191@sola.nimnet.asn.au> References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Adrian Chadd , freebsd-stable@freebsd.org, Alexander Motin , Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 04:50:23 -0000 On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote: > On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer wrote: > > On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: > >> On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd wrote: > >> > On 22 November 2012 06:30, Alexander Motin wrote: > >> > > >> >> Neither ICH, nor any other driver I know have amount of information > >> >> comparable to what HDA hardware provides. So the analogy is not good. > >> >> Respecting that most CODECs have no published datasheets, that information > >> >> is the only input for debugging. > >> >> > >> >> snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver > >> >> debugging. It also enables a lot of debugging in sound(4), that can be too > >> >> verbose for HDA debugging. > >> >> > >> >> I will recheck again how can it be reorganized, but I think that the real > >> >> problem is not in HDA. We need some way to structure and filter the output. > >> > > >> > I honestly would like to just see it spat out using a userland tool, > >> > rather than having the kernel print that level of topology data out. > >> > > >> > It's highly unlikely that a topology problem is going to cause a > >> > system to not boot, right? So the kernel itself doesn't need to be > >> > able to spit that data out. > >> > >> Maybe I'm missing something, but the data needed to adjust HDAC is > >> available from 'sysctl dev.hdaa'. I have not looked at the verbose > >> output in quite a while, but I think it is mstly or entirely hte > >> information in that and 'sysctl dev.hdac'. I never needed to look > >> elsewhere to get mine set up properly. Kevin, could you check http://bsd-geek.de/FreeBSD/T61_dmesg.boot.10.works - the ~85k example I used - against what the sysctl presents on yours? With the caveat that I don't have a snd_hda, I suspect the initial information from hdacc0 and hdaa0 up to before "DUMPING HDA NODES" is likely useful in verbose boot, assuming all of the nid info is available by sysctl? Also the pcm0 and pcm1 data might be limited to that without "DUMPING PCM Playback/Record Channels", "DUMPING Playback/Record Paths" and "DUMPING Volume Controls", leaving in the mixer info as traditional - again assuming that sysctl access covers it? Clearly basic discovery of the particular wiring, routing etc should remain in verbose dmesg. > >> Also, isn't the entire verbose boot captured in /var/run/dmesg? > > > > Only if the message buffer hasn't overflowed before the utility runs to > > populate the file > > Ouch! I did miss hte obvious. Thanks for pointing this out. I've noticed quite a few truncated verbose dmesgs posted over the last couple of years, sometimes frustratingly starting after important stuff like the CPU info or ACPI tables etc .. Lars presumably had increased his buffer size to capture 85k, which would be well less than Adrian's suggested 64k with more minimal hda + pcm logging. Perhaps a debug.snd. or something tunable could reenable the higher verbosity if/when needed? > So we need to either expand the default buffer (not something I would > want to do) or trim the verbosity of the verbose boot. > > Am I also missing an obvious reason most of the HDA output could not > be eliminated since it is available y sysctl? It would be useful to know just which of it is available that way. cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 06:17:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A410AE97 for ; Fri, 23 Nov 2012 06:17:01 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 63B4A8FC08 for ; Fri, 23 Nov 2012 06:17:01 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8115157iec.13 for ; Thu, 22 Nov 2012 22:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=8PNi/bzJVXcLY6iS3hfuBRyspKePvbgi9MUdfCflkJ0=; b=TUUQltRAisEvkhd6utM/iKV9FeqqAnHsuufs3ukIlU8+ZK8GIs9GtXdbAESPRWX5RE vpbzOlrR3xgwe7yLzDafYjiaKnP4OfduaamzelRG4746J74LQcQe1MuJeeHKnJV2tVbo Ia9y+BCMdgpVVuwkMjOoHVOjejH7HUZon2F3C17gq4XD+7blzjGCrpx6zFFwWwSUS47d aMYQeahXGH0h6ibZMVz9kkX8Alhy0eRlyzcbi0QD4xWRv8tMp5LeJgAQ2bjMm3Vz+zKR +nUew2D9DoI5Y89kJp6h0FFWyYMxMtTnYOEIQumitQCPyKCRoduxX+z1z5sFSqgT9Kh5 hqUg== Received: by 10.50.152.197 with SMTP id va5mr2647504igb.12.1353651420825; Thu, 22 Nov 2012 22:17:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Thu, 22 Nov 2012 22:16:40 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Fri, 23 Nov 2012 17:16:40 +1100 Message-ID: Subject: Re: natd in a jail To: Dewayne Geraghty , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 06:17:01 -0000 On Thu, Nov 22, 2012 at 10:36 PM, Morgan Reed wrote: > BPF is enabled for the jails, and the traffic is getting to where it > needs to (but not via natd). I'll try enabling raw_sockets in the > jails, it is entirely conceivable that natd requires that > functionality. So it turns out I'd not bought bpf into the jails, however even with that and raw_sockets enabled I'm still having no joy with natd. I've been looking at ipfw a bit today but I've run into an issue, loading ipfw_nat causes my kernel to instantly panic, I need to recompile with KDB and DDB turned on so I can actually catch the trace though... Might look at netgraph before going too far down that path. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 06:22:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29016FF8 for ; Fri, 23 Nov 2012 06:22:32 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id DE4B88FC08 for ; Fri, 23 Nov 2012 06:22:31 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so7891393iad.13 for ; Thu, 22 Nov 2012 22:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tL1xY1MvntBqAl0gxXpZuhHl5FN46BYLSgbx6/GzTkM=; b=Nz5tYlNxoeczQgBSMwoNfZb0zIWx5GM1vI6jEjtBBAz+xunhsvUwyTeG6GtDegXANO JKY0G3HU4Riz8T7gi+VYYJLRThL/Lpv0SpqLCbI3lyFyYMyT6VXXnjOUKrFE5U4jujWN iV8wG8gTj6lvX64ILoHbY9fDSCy5Gp2iNWDocH3RE0sTvgtkc6lAuZ4nuNm0/PsARvLD 5eTnCJTncDbW9C6+5m993JgkX10pPxXsoQZQzp58fmOQOFOAKFLUTsZSHy5PNmAgEE8u guFE9yiCTwt+LYE6sPf7UWRiTINYnfQsKVZ0LFknAcZKRnzvRosAxp7wn2E10NwyBUNV gCBw== Received: by 10.50.187.134 with SMTP id fs6mr5181805igc.61.1353651751366; Thu, 22 Nov 2012 22:22:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Thu, 22 Nov 2012 22:22:11 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Fri, 23 Nov 2012 17:22:11 +1100 Message-ID: Subject: Re: natd in a jail To: Dewayne Geraghty , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 06:22:32 -0000 On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed wrote: > So it turns out I'd not bought bpf into the jails, however even with > that and raw_sockets enabled I'm still having no joy with natd. > > I've been looking at ipfw a bit today but I've run into an issue, > loading ipfw_nat causes my kernel to instantly panic, I need to > recompile with KDB and DDB turned on so I can actually catch the trace > though... Might look at netgraph before going too far down that path. Scratch that, netgtaph isn't in the GENERIC kernel, so I'll have to rebuild anyway. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 08:26:21 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E0BA9C2 for ; Fri, 23 Nov 2012 08:26:21 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C46388FC13 for ; Fri, 23 Nov 2012 08:26:20 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so3282050bkc.13 for ; Fri, 23 Nov 2012 00:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6+MNrr2rc5W4ftEzV9EKHbHUraZeeOEeBsyhjIr1NXk=; b=Gvof7E1lq+iYUHkNfC2d/lcqAC02b4hZD6zb3P/9P7K9lN3bwbcMrODv6e40r6m/wU zwvkDI9uE1W7Wf3euy3zgRHb4HUxAtbgsZX6WxxKRhGhjxcgxQekTNbfARCu6OeL9sEs 7ryA0vC26zwWd+z7Rz2Jf1cmLb6jX6KzB9Sa/H8IQQTxuGvoZtcqphb3JmlmVd52jFJD Xkx4oeveal202oWxVEraGJJ03fJK44SCHkplkHbaBMIFB4DsVzMSvuaPIPZQaU+3hKNN YfeJoE2EgeKYJgq58JYkTtz+1PwEQlN/VKDkkASiqfEyaBzujewaJd88KgHGca8xhEQ6 cjPg== Received: by 10.204.11.79 with SMTP id s15mr1017203bks.136.1353659179493; Fri, 23 Nov 2012 00:26:19 -0800 (PST) Received: from [192.168.50.105] (double-l.xs4all.nl. [80.126.205.144]) by mx.google.com with ESMTPS id n27sm3760657bkw.0.2012.11.23.00.26.18 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 00:26:18 -0800 (PST) Message-ID: <50AF3327.50608@gmail.com> Date: Fri, 23 Nov 2012 09:26:15 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Denny Johannurdin Subject: Re: Ask freebsd 9 to stabil References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 08:26:21 -0000 Denny Johannurdin schreef: > dear admin > > how to make freebsd 9.1 prerelease in to stable > > reagrds > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Do you want 9.1 release or do you want Stable. Stable is the ongoing path to the next release. Stable stays flagged prerelease until 9.1 is released. After that the 9 stable brach will be marked as stable again. gr Johan Hendriks Neuteboom Automatisering From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 08:48:35 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35C301FF for ; Fri, 23 Nov 2012 08:48:35 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id D20178FC13 for ; Fri, 23 Nov 2012 08:48:34 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id k19so7922029qcs.13 for ; Fri, 23 Nov 2012 00:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r2tgqW2O7TvwABTAWQoRTCMKTHUcAAqaEdXctWqv7l4=; b=IfUSZ9ED5hJTGqT2FcojlqpLOqxwpzhoUyDPtjRPL4GL2RhaaFedInszRvjuyEKedm u8UAEVdoVLjpqfogzyBzjLf/TWa1db8MDfJexrKbd1lQd8JOoE9Fohu1IapTkyihAL2x a90b6OY7Ki55Okf4wcpPWwxe4k367k4DKu0agT00m1X48H2q7V5BMcWFRqXp4prMJIUX Fxmjj1GB0dTUzsCJhoB4+ppbgz4gco7+zH1JhsHqoghjLN7v/Tw12KqdB6b2OHzzTzfe Po5CWKJVGvZnYTQiCSyBBf4o6pH9SggcE83u2SYmEomK+xaXCT1HOpiBJSxrsfjtw2Tj n14A== MIME-Version: 1.0 Received: by 10.224.31.20 with SMTP id w20mr3656250qac.3.1353660514273; Fri, 23 Nov 2012 00:48:34 -0800 (PST) Received: by 10.229.113.102 with HTTP; Fri, 23 Nov 2012 00:48:34 -0800 (PST) In-Reply-To: References: Date: Fri, 23 Nov 2012 09:48:34 +0100 Message-ID: Subject: Re: natd in a jail From: Andreas Nilsson To: Morgan Reed Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Stable Mailing List , Dewayne Geraghty X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 08:48:35 -0000 On Fri, Nov 23, 2012 at 7:22 AM, Morgan Reed wrote: > On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed > wrote: > > So it turns out I'd not bought bpf into the jails, however even with > > that and raw_sockets enabled I'm still having no joy with natd. > > > > I've been looking at ipfw a bit today but I've run into an issue, > > loading ipfw_nat causes my kernel to instantly panic, I need to > > recompile with KDB and DDB turned on so I can actually catch the trace > > though... Might look at netgraph before going too far down that path. > > Scratch that, netgtaph isn't in the GENERIC kernel, so I'll have to > rebuild anyway. > > Why not just load the module? Best regards Andreas From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 08:59:24 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85289587 for ; Fri, 23 Nov 2012 08:59:24 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 628858FC12 for ; Fri, 23 Nov 2012 08:59:23 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tbp6Z-00083l-H2 for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 00:59:23 -0800 Date: Fri, 23 Nov 2012 00:59:23 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353661163520-5763430.post@n5.nabble.com> Subject: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 08:59:24 -0000 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be functional? I think I read somewhere that buildworld + clang - ccache was working fine now. Any info on date ccache will work with clang and when to try? Also, clang users - do you see any speed advantage for kernel / world / ports built with clang? Thanks. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:03:18 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A053789 for ; Fri, 23 Nov 2012 09:03:18 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id E751D8FC08 for ; Fri, 23 Nov 2012 09:03:17 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8290343iec.13 for ; Fri, 23 Nov 2012 01:03:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=V7Qn1C0vj09SRqWY1WlsewPuFiUjnU8kphq9NQ9J8AU=; b=DMoLyaIiIeyUJ9FQDdALf8pEE6PS0TCijUuU+O7uKc/1Myl0gWjT1eKPk36F5Zhv5c ENPUN6l8rQ08N8ioQVePdhKRnkbqdUcWPGQ7QWl+m6nOsW37yefD444Z22ukvJlzxyU5 krRvUI3N+MEk5TsXgpYWROka/Aao2XoC3mxvt40LGNFkY/VNvbqTGc6X1izVsAxqqmdm SV74q3l8+VzdmPbLVQubSXlWX+Za3QP8kLrkOIHc+YrYcmojpJFPAPKNBtxrnBTMTsWw T0c1qqz5AMDktbj/2IcGZ7qRjjSITxfCrIP/NsRHS3Gb94K4IgGzzHw44yuLm7NLnCRo qE4w== Received: by 10.50.208.99 with SMTP id md3mr2849823igc.67.1353661397503; Fri, 23 Nov 2012 01:03:17 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id as6sm3950337igc.8.2012.11.23.01.03.15 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 01:03:16 -0800 (PST) Message-ID: <50AF3BD1.4040504@gmail.com> Date: Fri, 23 Nov 2012 11:03:13 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: Latest for buildworld + clang + ccache References: <1353661163520-5763430.post@n5.nabble.com> In-Reply-To: <1353661163520-5763430.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:03:18 -0000 23.11.2012 10:59, Beeblebrox: > 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be > functional? > I think I read somewhere that buildworld + clang - ccache was working fine > now. Any info on date ccache will work with clang and when to try? Define CCACHE_CPP2 as otherwise clang will yell at ccache trying to compile precompiled source with extra flags. This breaks libtool and a some other autoconf tests. Care to not specify CCACHE_CPP2 for virtualbox and friends. > Also, clang users - do you see any speed advantage for kernel / world / > ports built with clang? Builds faster. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:05:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B0D38B3 for ; Fri, 23 Nov 2012 09:05:42 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id AEBDC8FC15 for ; Fri, 23 Nov 2012 09:05:41 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so8509797lah.13 for ; Fri, 23 Nov 2012 01:05:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=ZGuBEgttNI8PKJdwh2Yvkc0RaQ/RpgJ5Pb4dEPCWBgE=; b=Qy+PI6x0BpVNpSbNg/fhg41it//e/+ZtRCLvqsjjYBHqp+HM8niw1qjiZ9Ipi2SJsZ 3334VEUZldgcVm/GfFYYhFOyXWYWdw52XOnqVfTSlTCp3QytSiVVjzJb/Se1GXL4bpPs cSvKPxRLwkps//b49hTga7an/U/HaZlkhRN3TY1/ompnFG1mXbTLjTSKVx/RN1bTB8ZD zXwSj5AqSf5wYmzZLn/v4rwUF0Utxf0jC4CDQGTmTGLaJ9oq2MUY1dVHAH16Gh2gzEdz Lzdf4MrsHyH/zbOiaXBWEv+2/2NFqHcJy6fQamZ3zkXVGkEX27nhyYTa0c5Rqg/0i2dz 6olw== MIME-Version: 1.0 Received: by 10.112.29.102 with SMTP id j6mr1505256lbh.21.1353661540214; Fri, 23 Nov 2012 01:05:40 -0800 (PST) Received: by 10.112.24.129 with HTTP; Fri, 23 Nov 2012 01:05:40 -0800 (PST) In-Reply-To: <1353661163520-5763430.post@n5.nabble.com> References: <1353661163520-5763430.post@n5.nabble.com> Date: Fri, 23 Nov 2012 10:05:40 +0100 Message-ID: Subject: Re: Latest for buildworld + clang + ccache From: Olivier Smedts To: Beeblebrox Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnlqtlM7ip9ss5w1MSCTB7ckGkk28EgjgAO5zDsLSyMc0IoqBGzw/QXjcPq7FNAerELC+wS Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:05:42 -0000 Hello, 2012/11/23 Beeblebrox : > 9.1-PRERELEASE #2 r242867: When will buildworld + clang + ccache be > functional? > I think I read somewhere that buildworld + clang - ccache was working fine > now. Any info on date ccache will work with clang and when to try? Can't comment on this. > Also, clang users - do you see any speed advantage for kernel / world / > ports built with clang? It's not really noticeable but some benchmarks were published on the lists (maybe current@ ?) some days / a few weeks ago, and I remember that buildworld is ~= 10% faster with a clang-compiled kernel + world than with a stock (old 4.2) gcc-compiled kernel+world. I'm not speaking of the compiler speed but really the speed of the same build when run under a clang- or a gcc-compiled base system. Cheers -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:20:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FDC9C5A for ; Fri, 23 Nov 2012 09:20:42 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1748FC12 for ; Fri, 23 Nov 2012 09:20:42 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbpRB-00018J-Ua for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 01:20:41 -0800 Date: Fri, 23 Nov 2012 01:20:41 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353662441934-5763438.post@n5.nabble.com> In-Reply-To: <50AF3BD1.4040504@gmail.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:20:42 -0000 Thanks to both. >> Care to not specify CCACHE_CPP2 for virtualbox and friends. Not true for Jails I assume? >> Define CCACHE_CPP2 as otherwise clang will yell at ccache Is this the same reason CMAKE yells at CCACHE? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763438.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:25:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD5CD9C for ; Fri, 23 Nov 2012 09:25:05 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id 3B5C28FC08 for ; Fri, 23 Nov 2012 09:25:04 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id 7AA826A6001 for ; Fri, 23 Nov 2012 10:25:03 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 23 Nov 2012 10:25:03 +0100 From: Lars Engels To: Subject: Re: Help review the FAQ In-Reply-To: <176051353355653@web21f.yandex.ru> References: <50AA8C85.2000002@netfence.it> <176051353355653@web21f.yandex.ru> Message-ID: <12a03b9ad538106c0710c8048fe09c6f@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:25:05 -0000 Am 19.11.2012 21:07, schrieb Aldis Berjoza: > 19.11.2012, 22:04, "Andrea Venturoli" : >> On 11/19/12 18:44, Eitan Adler wrote: >> >>>  Hey all, >>> >>>  The FAQ for FreeBSD needs a significant amount of updating and >>>  changing.  The first step in that process is to figure out what >>> needs >>>  to be changed. >>> >>>  If you can a take a moment and thoroughly review just one >>>  question and add your comments and concerns it >>>  would be immensely helpful. >>> >>>  http://wiki.freebsd.org/ThwackAFAQ >> >> Under: removable-drives >> >> Would it be worth mentioning no /dev/xxxs1 is created when the >> device is >> plugged in after boot? >> >> E.G. 1: >> I have a Zip Drive which is /dev/da1. >> Everything is fine if a disk is in when I boot, but if I insert the >> media after boot, /dev/da1s1 is not there. >> I need to "mount /dev/da1 /mnt": this also fails, but now I have >> /dev/da1s1 and can mount it. >> >> E.G. 2: >> I connect my Android phone with an USB cable: it will be /dev/da7. >> Again I have no /dev/da7s1 until I "dd count=0 if=/dev/random >> of=/dev/da7". >> >> Same happens with CompactFlash, MMC, SD, etc... > > That doesn't sound normal. I only had similar problems with > Klingston DataTraveler flash (it had some crap firmware) I've seen that on almost every USB MP3 player, Android mobile phones and on other USB devices that export an internal memory card. Much shorter than dd ... is this: : > /dev/da0 But it would be really really really great if someone(TM) would fix it, so the workaround is no longer needed... From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:27:39 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3DA3EAE for ; Fri, 23 Nov 2012 09:27:39 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABE58FC08 for ; Fri, 23 Nov 2012 09:27:38 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8322402iec.13 for ; Fri, 23 Nov 2012 01:27:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=g3SwLqzYj6EMeyA+nbyqoBrb/D6/vjbEaxtNAVoBbMU=; b=BdK+kKGWl7wryXFok7r1EdsLOoVbQ5DmrfMgwkn+t6q1SECMJ3jOMm7aduaYg0FKUh XzlrzW7FF+V6m9QWNbN/IU4ja0x28+n6WXs+1ejq88pFy1/BXKQjQIyDY2V+Fp6NZR71 KFbPZsgwNBuGGQgMLrZc3TPp0hWzuUkPtkhAM/yHD915EmHWotIgGFw1CSdV9REr8MxJ sqdJ4Y94p1/K37QLKDIZw6r5yM4f3fHDYH/eRBCwFhDLuiZTAT57VsuIZ+thuvwREjHZ QKHwl+clcc+WJmKa6PPLAnxRteElq3QTj8Y7T/+1aC/JktsCjb0GRblzIhS4JBWrPtHA zioQ== Received: by 10.50.0.180 with SMTP id 20mr3100797igf.4.1353662858676; Fri, 23 Nov 2012 01:27:38 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id b13sm4352476igp.7.2012.11.23.01.27.36 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 01:27:37 -0800 (PST) Message-ID: <50AF4186.4090901@gmail.com> Date: Fri, 23 Nov 2012 11:27:34 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: Latest for buildworld + clang + ccache References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> In-Reply-To: <1353662441934-5763438.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:27:40 -0000 23.11.2012 11:20, Beeblebrox: >>> Care to not specify CCACHE_CPP2 for virtualbox and friends. > Not true for Jails I assume? No, it's just that virtualbox still doesn't build with clang and gcc doesn't really like some -MD (?) flags. >>> Define CCACHE_CPP2 as otherwise clang will yell at ccache > Is this the same reason CMAKE yells at CCACHE? Haven't seen this before. Can you share? -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:30:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10159E5 for ; Fri, 23 Nov 2012 09:30:22 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id DFD148FC0C for ; Fri, 23 Nov 2012 09:30:21 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbpaX-0001cu-E9 for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 01:30:21 -0800 Date: Fri, 23 Nov 2012 01:30:21 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353663021422-5763442.post@n5.nabble.com> In-Reply-To: <50AF4186.4090901@gmail.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:30:22 -0000 >>Is this the same reason CMAKE yells at CCACHE? > Haven't seen this before. Can you share? I meant for ports, not buildworld... I use bsdadminscripts and specify preferences in /usr/local/etc/buildflags.conf. I tried these and did not work. What is the setting for this, and I assume I can set CCACHE_CPP2 in that file also? USE_GCC= clang BUILDFLAGS_GCC= clang -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763442.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:34:09 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CAAF2DA for ; Fri, 23 Nov 2012 09:34:09 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E9FA58FC0C for ; Fri, 23 Nov 2012 09:34:08 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbpeC-0001mu-B6 for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 01:34:08 -0800 Date: Fri, 23 Nov 2012 01:34:08 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353663248328-5763447.post@n5.nabble.com> In-Reply-To: <1353663021422-5763442.post@n5.nabble.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:34:09 -0000 I think maybe it has to be like this: BUILDFLAGS_GCC_CC= clang BUILDFLAGS_GCC_CPP= clang BUILDFLAGS_GCC_CXX= clang But BUILDFLAGS_GCC_CXX looks at CCACHE_CPP2 I think and must be modified. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763447.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:35:59 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 993213EF for ; Fri, 23 Nov 2012 09:35:59 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 551B78FC0C for ; Fri, 23 Nov 2012 09:35:59 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8333449iec.13 for ; Fri, 23 Nov 2012 01:35:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kU2h61/RJlQfcNSwqF8XBHqsxAcHURQESuKqFESgn/A=; b=wGPFsXe56qTeETuxrov2g++sahD1N/OgM1JBmlVgWFuJhqaZ7pdlhJ8NR1TLqYY32P gIVl5JNnNhlE1XqqrCAFcxs/dq5BbbRwZZcBcnNE2DW2li7lyvFZRMkKoHRbQREwrOiQ A7qjhzOQYJ435+f8RWu20MhC1HqgyquplRj+KWruAxZtOWVfzq5YdwrSe9PzLJ71eMcY 79PnzFHeSp+jUi//HIEnQQJP9MtpNkyV1P25Ws+fFZTx9R4jVqjsOLkehq9QTRXKgnjV C3lX0D2JuwBCnLn0fLclRteMsXk8hoFbGblVj11pW3uj89xgMdttj6kAz8pZlacOUbK+ JmNg== Received: by 10.50.16.177 with SMTP id h17mr3030460igd.37.1353663358722; Fri, 23 Nov 2012 01:35:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Fri, 23 Nov 2012 01:35:38 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Fri, 23 Nov 2012 20:35:38 +1100 Message-ID: Subject: Re: natd in a jail To: Andreas Nilsson Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Stable Mailing List , Dewayne Geraghty X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:35:59 -0000 On Fri, Nov 23, 2012 at 7:48 PM, Andreas Nilsson wrote: > Why not just load the module? Yeah, you got beaten to the punch on that one offlist, it's late in the day here ;) From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:38:00 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 489E3501 for ; Fri, 23 Nov 2012 09:38:00 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5A328FC0C for ; Fri, 23 Nov 2012 09:37:59 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so7995150iad.13 for ; Fri, 23 Nov 2012 01:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vAqdI45ZaELw9+kbIRtmFJXHN4YisL3oB1ZyAwP66zg=; b=IGcYavO7OERl5A8ceCyfhfdsmZKgvKJqRsMF6131tVayQ11ZExG7iYo4gW/R/s2wJ5 NjtWJ0huPBVkAu02gJ5WTP9oTOgfSblDYRXzdcF6XP3mDMpCK50Z30Cl+AwAyIyuxCbB FkbBUMKVS+GRKpWmfFNagTmABhrdrMJDdksp4JRmzXBUyUZ4LxMnAkMfW6y32xAhhwIt 93TVyz2uJ/RJAnXJr1jYm08bYFGy2zmsp2HgklOyq50D7iLB4iiuUTYs50fFQCgzouJI VIGrSnLrmIlrNRuwStRsVygWeMQfnBzG1E3bEzeTVk1Y42lQZJso2ttRpvYvaffdmIOg hDuw== Received: by 10.50.6.169 with SMTP id c9mr3059986iga.24.1353663478989; Fri, 23 Nov 2012 01:37:58 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id s20sm4367591igs.10.2012.11.23.01.37.57 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 01:37:58 -0800 (PST) Message-ID: <50AF43F3.7000003@gmail.com> Date: Fri, 23 Nov 2012 11:37:55 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: Latest for buildworld + clang + ccache References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> In-Reply-To: <1353663021422-5763442.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:38:00 -0000 23.11.2012 11:30, Beeblebrox: >>> Is this the same reason CMAKE yells at CCACHE? >> Haven't seen this before. Can you share? > I meant for ports, not buildworld... > > I use bsdadminscripts and specify preferences in > /usr/local/etc/buildflags.conf. I tried these and did not work. What is the > setting for this, and I assume I can set CCACHE_CPP2 in that file also? > USE_GCC= clang > BUILDFLAGS_GCC= clang CC= clang CPP= clang-cpp CXX= clang++ Yes, you can include CCACHE_CPP2 in this file too. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 09:46:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AE8972E for ; Fri, 23 Nov 2012 09:46:12 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 454038FC18 for ; Fri, 23 Nov 2012 09:46:12 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tbppr-0002R7-L8 for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 01:46:11 -0800 Date: Fri, 23 Nov 2012 01:46:11 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353663971648-5763453.post@n5.nabble.com> In-Reply-To: <50AF43F3.7000003@gmail.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> <50AF43F3.7000003@gmail.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 09:46:12 -0000 I think I made a mistake: clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [tblgen] Error code 1 1 error *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 in /urs/local/buildflags.conf I have: /usr/src | /usr/src/*{ CC= clang CPP= clang CXX= clang USE_CCACHE USE_CCACHE_CPP2 } -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763453.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 10:02:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8AE48935 for ; Fri, 23 Nov 2012 10:02:31 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 64A498FC08 for ; Fri, 23 Nov 2012 10:02:31 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tbq5e-0003s1-Sw for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 02:02:30 -0800 Date: Fri, 23 Nov 2012 02:02:30 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353664950780-5763455.post@n5.nabble.com> In-Reply-To: <1353663971648-5763453.post@n5.nabble.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> <50AF43F3.7000003@gmail.com> <1353663971648-5763453.post@n5.nabble.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 10:02:31 -0000 It breaks while spitting all these errors. I will try without ccache and see how that goes... undefined reference to `operator delete[](void*)' undefined reference to `__cxa_guard_acquire' undefined reference to `__cxa_guard_release' undefined reference to `__cxa_pure_virtual' undefined reference to `__cxa_pure_virtual' undefined reference to `__cxa_pure_virtual' undefined reference to `vtable for __cxxabiv1::__class_type_info' -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763455.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 10:08:52 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8187AD9 for ; Fri, 23 Nov 2012 10:08:52 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2DF2E8FC08 for ; Fri, 23 Nov 2012 10:08:51 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so5955670lbb.13 for ; Fri, 23 Nov 2012 02:08:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=SJOP2HH1HWEHhf5/GNph2Lx8BMbGBWlIKMqCFmqhNkQ=; b=X5I/vuvIq1g3p82mWdMZw4nGxiQsuO/GhhhZJKwkeCLL2fN7XYdayhIqGzQrcwjhu6 0k4ZRpUmR6/FGuLsehAWdP5/F64ahvjVZNDLY5nunC5uMu475zAv5RSa0ag+NvA+u9rH eaFeOmNTIjr8DRlOghZEQVD/VXKOqpMY6O0NXw9favN0+ynMeZukbPk05fvrwHLuVtj+ uKRYSVFhdOZOVEQdjz8M02pcSHXG974ejbhQGGK+ZD9cV3qvu8Zw4Q7XYxFFaNEFrgN8 iDJYY/omOqrK8AQ/bdlc4/5RUovDm6mW3hzDCBs7y7NhNQoqVA9DqtDFdcFZ+gklc0Vp Ja1A== MIME-Version: 1.0 Received: by 10.112.50.205 with SMTP id e13mr1658421lbo.57.1353665330705; Fri, 23 Nov 2012 02:08:50 -0800 (PST) Received: by 10.112.24.129 with HTTP; Fri, 23 Nov 2012 02:08:50 -0800 (PST) In-Reply-To: <1353663971648-5763453.post@n5.nabble.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> <50AF43F3.7000003@gmail.com> <1353663971648-5763453.post@n5.nabble.com> Date: Fri, 23 Nov 2012 11:08:50 +0100 Message-ID: Subject: Re: Latest for buildworld + clang + ccache From: Olivier Smedts To: Beeblebrox Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkY4kx2HDUs6fCVDVD882CVk6zyDlCY4xVkB4fBfsZJgK9R/BLImkrUX8wvsgv5qPg/71pI Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 10:08:52 -0000 2012/11/23 Beeblebrox : > I think I made a mistake: > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [tblgen] Error code 1 > 1 error > *** [bootstrap-tools] Error code 2 > 1 error > *** [_bootstrap-tools] Error code 2 > 1 error > *** [buildworld] Error code 2 > > in /urs/local/buildflags.conf I have: > /usr/src | /usr/src/*{ > CC= clang > CPP= clang > CXX= clang Two mistakes in fact ! Use clang++ and clang-cpp :) > USE_CCACHE > USE_CCACHE_CPP2 } -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas." From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 10:12:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19EE5C8C for ; Fri, 23 Nov 2012 10:12:05 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id E1ACA8FC0C for ; Fri, 23 Nov 2012 10:12:04 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbqEu-0004qL-Fy for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 02:12:04 -0800 Date: Fri, 23 Nov 2012 02:12:04 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353665524483-5763459.post@n5.nabble.com> In-Reply-To: <50AF43F3.7000003@gmail.com> References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> <50AF43F3.7000003@gmail.com> Subject: Re: Latest for buildworld + clang + ccache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 10:12:05 -0000 Sorry for my stupidity. I placed wrong entries: CPP= clang CXX= clang It works very beautifully now Spasiba vam bolshoi... -- View this message in context: http://freebsd.1045724.n5.nabble.com/Latest-for-buildworld-clang-ccache-tp5763430p5763459.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 10:20:47 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8F7FC3 for ; Fri, 23 Nov 2012 10:20:47 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 64BDB8FC12 for ; Fri, 23 Nov 2012 10:20:46 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8396895iec.13 for ; Fri, 23 Nov 2012 02:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=4eIBSPNHzfoB62W0nnaMdGtFhHNef+KfOt92ssxjvao=; b=y+zfRRUX652WmZ4kDE9b2CfvziA3UZyFG9w2pjXsi6geMXhz3QUzLAQziW/nVoaHYA raDJoQ+73lT45uTknLgEkWgubEZ8zpB/r7kc9Bg195hGtxOYmHO488NFZ/GW0+xkQzST nDzGCjwTmUyEVLDEV0pR1r55qa8lBqHQNuKQ6urqtULHhV0nBqBNxvuwzzaqYbrOzspw drhQzK2iv9RbYpDZLu1I9PAO6FiLnK6T3O9AG9ya89ewYjtLEzjeiKsDr3GOWiUyuZOr IUigGf0SCFzaisFECssn35CkODz6h56T2DzNI2uS9CIbGnOB/upOoQpnK+MODCFm+0Yl 47eQ== Received: by 10.42.72.130 with SMTP id o2mr2803408icj.7.1353666046580; Fri, 23 Nov 2012 02:20:46 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id fa6sm4437671igb.2.2012.11.23.02.20.43 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 02:20:45 -0800 (PST) Message-ID: <50AF4DF8.8030405@gmail.com> Date: Fri, 23 Nov 2012 12:20:40 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: Latest for buildworld + clang + ccache References: <1353661163520-5763430.post@n5.nabble.com> <50AF3BD1.4040504@gmail.com> <1353662441934-5763438.post@n5.nabble.com> <50AF4186.4090901@gmail.com> <1353663021422-5763442.post@n5.nabble.com> <50AF43F3.7000003@gmail.com> <1353663971648-5763453.post@n5.nabble.com> In-Reply-To: <1353663971648-5763453.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 10:20:47 -0000 23.11.2012 11:46, Beeblebrox: > I think I made a mistake: > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [tblgen] Error code 1 > 1 error > *** [bootstrap-tools] Error code 2 > 1 error > *** [_bootstrap-tools] Error code 2 > 1 error > *** [buildworld] Error code 2 > > in /urs/local/buildflags.conf I have: > /usr/src | /usr/src/*{ > CC= clang > CPP= clang > CXX= clang > USE_CCACHE > USE_CCACHE_CPP2 } What I wrote is right for ports but not world. ccache port comes with readme file for this setup. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 10:33:24 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91553295 for ; Fri, 23 Nov 2012 10:33:24 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 105F78FC16 for ; Fri, 23 Nov 2012 10:33:24 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id CBFA66A6001 for ; Fri, 23 Nov 2012 11:33:21 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 23 Nov 2012 11:33:21 +0100 From: Lars Engels To: Subject: Re: Increasing the DMESG buffer.... In-Reply-To: <20121123150719.M21191@sola.nimnet.asn.au> References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> <20121123150719.M21191@sola.nimnet.asn.au> Message-ID: <1ab82c79bc6d72fdaa90e7ed0c794f5f@mail.0x20.net> X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 10:33:24 -0000 Am 23.11.2012 05:50, schrieb Ian Smith: > On Thu, 22 Nov 2012 16:20:52 -0800, Kevin Oberman wrote: > > On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer > wrote: > > > On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: > > >> On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd > wrote: > > >> > On 22 November 2012 06:30, Alexander Motin > wrote: > > >> > > > >> >> Neither ICH, nor any other driver I know have amount of > information > > >> >> comparable to what HDA hardware provides. So the analogy is > not good. > > >> >> Respecting that most CODECs have no published datasheets, > that information > > >> >> is the only input for debugging. > > >> >> > > >> >> snd_hda also uses hw.snd.verbose=3. But it is used for even > deeper driver > > >> >> debugging. It also enables a lot of debugging in sound(4), > that can be too > > >> >> verbose for HDA debugging. > > >> >> > > >> >> I will recheck again how can it be reorganized, but I think > that the real > > >> >> problem is not in HDA. We need some way to structure and > filter the output. > > >> > > > >> > I honestly would like to just see it spat out using a > userland tool, > > >> > rather than having the kernel print that level of topology > data out. > > >> > > > >> > It's highly unlikely that a topology problem is going to > cause a > > >> > system to not boot, right? So the kernel itself doesn't need > to be > > >> > able to spit that data out. > > >> > > >> Maybe I'm missing something, but the data needed to adjust HDAC > is > > >> available from 'sysctl dev.hdaa'. I have not looked at the > verbose > > >> output in quite a while, but I think it is mstly or entirely > hte > > >> information in that and 'sysctl dev.hdac'. I never needed to > look > > >> elsewhere to get mine set up properly. > > Kevin, could you check > http://bsd-geek.de/FreeBSD/T61_dmesg.boot.10.works > - the ~85k example I used - against what the sysctl presents on > yours? > > With the caveat that I don't have a snd_hda, I suspect the initial > information from hdacc0 and hdaa0 up to before "DUMPING HDA NODES" is > likely useful in verbose boot, assuming all of the nid info is > available > by sysctl? Also the pcm0 and pcm1 data might be limited to that > without > "DUMPING PCM Playback/Record Channels", "DUMPING Playback/Record > Paths" > and "DUMPING Volume Controls", leaving in the mixer info as > traditional > - again assuming that sysctl access covers it? Clearly basic > discovery > of the particular wiring, routing etc should remain in verbose dmesg. > > > >> Also, isn't the entire verbose boot captured in /var/run/dmesg? > > > > > > Only if the message buffer hasn't overflowed before the utility > runs to > > > populate the file > > > > Ouch! I did miss hte obvious. Thanks for pointing this out. > > I've noticed quite a few truncated verbose dmesgs posted over the > last > couple of years, sometimes frustratingly starting after important > stuff > like the CPU info or ACPI tables etc .. Lars presumably had increased > his buffer size to capture 85k, which would be well less than > Adrian's > suggested 64k with more minimal hda + pcm logging. Perhaps a > debug.snd. > or something tunable could reenable the higher verbosity if/when > needed? No, I was creating the dmesg on a vanilla FreeBSD 10-CURRENT kernel and the other one on PC-BSD 9.1-RCsomething. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 11:37:21 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDAE4236 for ; Fri, 23 Nov 2012 11:37:21 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id CC5108FC0C for ; Fri, 23 Nov 2012 11:37:21 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbrZR-0002l3-7R for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 03:37:21 -0800 Date: Fri, 23 Nov 2012 03:37:21 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353670641224-5763472.post@n5.nabble.com> Subject: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 11:37:22 -0000 I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867. In /etc/src.conf I have "WITHOUT_GCC= yes". Compile progresses up to below then breaks: ===> usr.bin/xlint/xlint (all) ===> usr.bin/xlint/llib (all) lint -cghapbx -Cposix /asp/src/usr.bin/xlint/llib/llib-lposix lint -cghapbx -Cstdc /asp/src/usr.bin/xlint/llib/llib-lstdc ===> lib/clang/libllvmx86codegen (all) llib-lposix: llib-lstdc: lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory *** [llib-lstdc.ln] Error code 1 lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory *** [llib-lposix.ln] Error code 1 2 errors *** [all] Error code 2 1 error *** [all] Error code 2 1 error *** [usr.bin.all__D] Error code 2 ===> lib/clang/libllvmx86desc (all) ===> lib/clang/libllvmx86disassembler (all) ===> lib/clang/libllvmx86info (all) ===> lib/clang/libllvmx86instprinter (all) ===> lib/clang/libllvmx86utils (all) ===> lib/clang/include (all) 1 error *** [everything] Error code 2 1 error *** [buildworld] Error code 2 Stop in /asp/src. My source is in /asp/src (symlinked from /usr/src also). clang is set in /usr/local/etc/buildflags.conf. I have disabled ccache while I try and work through this error - so it is not a factor. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 11:48:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 795115C4 for ; Fri, 23 Nov 2012 11:48:41 +0000 (UTC) (envelope-from pol@leissner.se) Received: from mailgate.leissner.se (mailgate.leissner.se [212.3.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id EB41D8FC12 for ; Fri, 23 Nov 2012 11:48:37 +0000 (UTC) Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.14.5/8.14.5) with ESMTP id qANBMAUU059932 for ; Fri, 23 Nov 2012 12:22:10 +0100 (CET) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.14.5/8.14.5/Submit) id qANBMAOA059931 for ; Fri, 23 Nov 2012 12:22:10 +0100 (CET) (envelope-from pol@leissner.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpdAV5pss; Fri Nov 23 12:22:04 2012 Received: from pol-server.leissner.se (localhost [127.0.0.1]) by pol-server.leissner.se (8.14.5/8.14.5) with ESMTP id qANBM4hD089581 for ; Fri, 23 Nov 2012 12:22:04 +0100 (CET) (envelope-from pol@leissner.se) Received: (from pol@localhost) by pol-server.leissner.se (8.14.5/8.14.5/Submit) id qANBM4fh089580 for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 12:22:04 +0100 (CET) (envelope-from pol@leissner.se) X-Authentication-Warning: pol-server.leissner.se: pol set sender to pol@leissner.se using -f Date: Fri, 23 Nov 2012 12:22:04 +0100 From: Peter Olsson To: freebsd-stable@freebsd.org Subject: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? Message-ID: <20121123112203.GL36283@pol-server.leissner.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 11:48:41 -0000 We are currently using cvs for both source and ports. I have begun changing to portsnap for ports, and I would also like to try changing at least some of our servers to freebsd-update. But all servers have been patched, using either RELENG_8_3 or RELENG_9_0 as cvs tag. I need to revert them to their respective RELEASE to be able to use freebsd-update. Complete reinstall from eg CD is not an option, and I don't want to upgrade to a newer RELEASE at the moment. Can I change the cvs tags to RELENG_8_3_0_RELEASE or RELENG_9_0_0_RELEASE, and then build/install world and kernel as usual? Or will that method cause problems for the system or the installed ports? Thanks! -- Peter Olsson pol@leissner.se From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 11:49:38 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A883F6D0 for ; Fri, 23 Nov 2012 11:49:38 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 857B38FC19 for ; Fri, 23 Nov 2012 11:49:38 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbrlK-0003Lw-3q for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 03:49:38 -0800 Date: Fri, 23 Nov 2012 03:49:38 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353671378109-5763475.post@n5.nabble.com> In-Reply-To: <1353670641224-5763472.post@n5.nabble.com> References: <1353670641224-5763472.post@n5.nabble.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 11:49:38 -0000 I hacked it with cd /usr/obj/asp/src/tmp/usr/bin/ # ln -s clang cc BUT NOW I HAVE: ===> lib/libz (install) sh /asp/src/tools/install.sh -C -o root -g wheel -m 444 libz.a /usr/obj/asp/src/lib32/usr/lib32 sh /asp/src/tools/install.sh -C -o root -g wheel -m 444 /asp/src/lib/libz/zconf.h /asp/src/lib/libz/zlib.h /usr/obj/asp/src/lib32/usr/include sh /asp/src/tools/install.sh -s -o root -g wheel -m 444 libz.so.6 /usr/obj/asp/src/lib32/usr/lib32 ln -fs libz.so.6 /usr/obj/asp/src/lib32/usr/lib32/libz.so 1 error *** [libraries] Error code 2 1 error *** [build32] Error code 2 1 error *** [buildworld] Error code 2 -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763475.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 12:25:25 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5C1E516 for ; Fri, 23 Nov 2012 12:25:25 +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 337E38FC08 for ; Fri, 23 Nov 2012 12:25:24 +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-stable@freebsd.org; Fri, 23 Nov 2012 13:25:22 +0100 Message-ID: <50AF6B22.1060000@ose.nl> Date: Fri, 23 Nov 2012 13:25:06 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? References: <20121123112203.GL36283@pol-server.leissner.se> In-Reply-To: <20121123112203.GL36283@pol-server.leissner.se> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 12:25:25 -0000 On 11/23/2012 12=3A22 PM=2C Peter Olsson wrote=3A =3E We are currently using cvs for both source and ports=2E =3E I have begun changing to portsnap for ports=2C and I =3E would also like to try changing at least some of our =3E servers to freebsd-update=2E =3E =3E But all servers have been patched=2C using either RELENG=5F8=5F3 =3E or RELENG=5F9=5F0 as cvs tag=2E I need to revert them to their =3E respective RELEASE to be able to use freebsd-update=2E =3E Complete reinstall from eg CD is not an option=2C and I don=27t =3E want to upgrade to a newer RELEASE at the moment=2E =3E =3E Can I change the cvs tags to RELENG=5F8=5F3=5F0=5FRELEASE or =3E RELENG=5F9=5F0=5F0=5FRELEASE=2C and then build/install world and =3E kernel as usual=3F =3E Or will that method cause problems for the system or the =3E installed ports=3F =3E =3E Thanks! RELENG=5F9=5F0 and RELENG=5F8=5F3 are RELEASE branches including patches=20= =288=2E3-RELEASE-p4 for instance=29=2C so you should be able to use freebsd= -update=20 ont them without changing anything=2E If the servers are up to date then freebsd-update doesn=27t have to do=20= anything for them untill the next paches for them come around=2E This e-mail message=2C including any attachment=28s=29=2C is intended solel= y for the addressee or addressees=2E Any views or opinions presented herein= are solely those of the author and do not necessarily represent those of O= SE=2E If you are not the intended recipient of this communication please return t= his e-mail message and the attachment=28s=29 to the sender and delete and d= estroy all copies=2E From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 12:38:03 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 715067DE for ; Fri, 23 Nov 2012 12:38:03 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4DD868FC15 for ; Fri, 23 Nov 2012 12:38:02 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbsWA-0006K0-6P for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 04:38:02 -0800 Date: Fri, 23 Nov 2012 04:38:02 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353674282188-5763482.post@n5.nabble.com> In-Reply-To: <1353671378109-5763475.post@n5.nabble.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> Subject: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 12:38:03 -0000 Looks like I should have placed these in my /etc/src.conf: WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes I don't believe I will need anything under /usr/src/tools. How can I disable that in /etc/src.conf? The man page does not have that info. Thanks. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763482.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 13:17:50 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11CA448B; Fri, 23 Nov 2012 13:17:50 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id C1E728FC0C; Fri, 23 Nov 2012 13:17:49 +0000 (UTC) Received: from mr129166.localdomain (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id C03BAA66B; Fri, 23 Nov 2012 14:09:33 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by mr129166.localdomain (Postfix) with ESMTP id EAE9C65D6; Fri, 23 Nov 2012 14:09:32 +0100 (CET) Date: Fri, 23 Nov 2012 14:09:32 +0100 From: Patrick Lamaiziere To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily Message-ID: <20121123140932.3a6deff6@mr129166> In-Reply-To: <50ADF362.2040803@FreeBSD.org> References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" , Willem Jan Withagen X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 13:17:50 -0000 Le Thu, 22 Nov 2012 11:41:54 +0200, Andriy Gapon a écrit : Hello, > > I will definitely MFC it to stable/9, just not sure if I would be > > able to do it before New Year. It definitely won't be in 9.1. > > I'll send you a patch later. > > > > The patch: > http://people.freebsd.org/~avg/zfs-vfs.4.diff It does not apply on 9.1 RC-3. I've got a similar problem. Regards. -- Patrick Lamaizičre Centre de Ressources Informatiques CRI Central Université de Rennes 1 Tél: 02 23 23 71 45 From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 13:43:37 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3714BD3C for ; Fri, 23 Nov 2012 13:43:37 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (s1.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id B01798FC13 for ; Fri, 23 Nov 2012 13:43:35 +0000 (UTC) Received: from titan.inop.wdn.omnilan.net (titan.inop.wdn.omnilan.net [172.21.3.1]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id qANDfGSm095415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Nov 2012 14:41:16 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <50AF7C88.5000507@omnilan.de> Date: Fri, 23 Nov 2012 14:39:20 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: cam SCSI negotiation issues (mpt in that case), only 3.300MB/s transfers X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB0B45BCFAF65A50E5FAEB580" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 13:43:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB0B45BCFAF65A50E5FAEB580 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, I have a LSI20320IE, wich is a LSI1030 (U320-SCSI, supported by MPT) behind an PCI-X-PCIe bridge. I'm using that for two tape drives: LTO-3 and DAT72. My (solved, see below) first problem was, that passthrough of that HBA with ESXi5.0 didn't work. As soon as mpt was kldloaded, there was a heavy interrupt storm detected (>100k irq/s) and throttling occured. No matter what IRQ it was assigend and no matter if it was shared or not. The dmesg output hasn't shown any info about MSI usage, so I told ESXi to use legacy interrupts in host mode instead of msi. Didn't help anything. After I verified that this passthrough configuration works well on other OS, I tried out some things and found out that hint.mpt.0.msi_enable=3D"1" solves the interrupt storm problem, although dmesg output still is exactly the same: mpt0: port 0x4000-0x40ff mem 0xd6440000-0xd645ffff,0xd6420000-0xd643ffff irq 18 at device 0.0 on pci3 mpt0: MPI Version=3D1.2.15.0 Btw, I'm still curious what the sysctl "hw.mpt.0.role" means? With my LSI1030 it's "3", an onther 1068, it's "1" Now after I got passthrough working, I first tried to saturate my LTO-3. With the help of mbuffer (zfs send -R DATASET/filesystem@totape | mbuffer -s 1m -t -m 500M -P 80 -f -o /dev/nsa1) I saw 60-120MB/s transfer rates, avaeraging at 100MB/s at moderate interrupt load (~1k). So for so fine. But there are problems with the DAT72 drive. The SCSI negotiation seems to fail: sa0 at mpt0 bus 0 scbus3 target 0 lun 0 sa0: Removable Sequential Access SCSI-3 device sa0: 3.300MB/s transfers Now I read here http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063603.html that this may be just cosmetic, but in my case I can't get more than ~3MB/s to/from the tape. Once again I changed the controller to another guest OS and got 5,5MB/s avarage write transfer rate with ntbakup (wich is sensible for the gained compression ratio). lsiutil.exe shows negotiation parameters with 80MB/s (40MT/s 16bit), which correponds to the drive's interface. Back in FreeBSD, I had no luck using "camcontrol negotiate sa0 -R 40" to alter the negotiation parameters. It always shows 3,300MB/s and seems to reflect reality. I'd higly appreciate any help, since I have no idea how this could be fixed. Slot-constraints limit my choice of SCSI-HBAs to PCIe ones... Thnaks, -Harry --------------enigB0B45BCFAF65A50E5FAEB580 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 (FreeBSD) iEYEARECAAYFAlCvfI4ACgkQLDqVQ9VXb8jmYwCeKHeC3InXbDb5ZVGVABSMEUA+ B5AAoNBubMK/HPmrOTvLzwYC/B0McvHp =QY5l -----END PGP SIGNATURE----- --------------enigB0B45BCFAF65A50E5FAEB580-- From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 13:45:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E7F0FCB for ; Fri, 23 Nov 2012 13:45:45 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6448C8FC0C for ; Fri, 23 Nov 2012 13:45:44 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbtZg-00021S-4d for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 05:45:44 -0800 Date: Fri, 23 Nov 2012 05:45:44 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353678344136-5763503.post@n5.nabble.com> In-Reply-To: <1353674282188-5763482.post@n5.nabble.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 13:45:45 -0000 I am now stuck with trying to make this work. I am doing buildworld with clang and ccache enabled. 1. I have to keep re-starting buildworld at different points of break. When re-started the build continues past the last break-point and goes on to break somewhere else. 2. This continues until build gets to ===> usr.bin/ypwhich (all) and cannot continue past the error. 3. I disable ccache in /usr/local/etc/buildflags.conf and re-start the build. Progresses upto: sh /asp/src/tools/install.sh -s -o root -g wheel -m 444 libz.so.6 /usr/obj/asp/src/lib32/usr/lib32 ln -fs libz.so.6 /usr/obj/asp/src/lib32/usr/lib32/libz.so However, examining the contents after build-break of /usr/obj/asp/src/lib32/usr/lib32/ shows libz.so.6 and its linked alias libz.so. I am not able to move any further without help because I cannot figure out where the problem may be. Thanks for any help. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763503.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 13:50:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2099E293 for ; Fri, 23 Nov 2012 13:50:45 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id D34F48FC14 for ; Fri, 23 Nov 2012 13:50:44 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8722460iec.13 for ; Fri, 23 Nov 2012 05:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6mmYhUxO9uJ4w8niHQOEkUXtvDrA4ycIyAA1xBJjbBA=; b=FGIHgkz9/DAqP3xwHOKDnv8qNhxLOYo6b0dnph4q56Y3ide/Z0V3hwomtpREdsLEPz o1QJ4Z7Xio+UUdt9Eji4aE1m2lyAEYLnP1VjnTevHqi9uBYrFMqJIpdOoeIDLCc/E5Y7 1qAcAynDL/Q9FpI4qxSSVuHCngcCFumCnzq6vkM0KqL0sAWCRb4RouwNHXlTqaWYDMCs tgFC7s20nJMdPgNFIZ6wvqkAuNDr2l0JItPAbUM97TrN1sJ4s89IigUqMj0kU+4hEEMk i1fZKjke53Kk87qy75ChQ8uVdaP6qGY3gHpbNnw31vNMDCsaaPzxzQkLuI8fGHZ5GE3E fGRA== Received: by 10.50.42.132 with SMTP id o4mr3522891igl.73.1353678644094; Fri, 23 Nov 2012 05:50:44 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id ex10sm4698794igc.15.2012.11.23.05.50.41 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 05:50:43 -0800 (PST) Message-ID: <50AF7F2F.6050104@gmail.com> Date: Fri, 23 Nov 2012 15:50:39 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> In-Reply-To: <1353678344136-5763503.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 13:50:45 -0000 23.11.2012 15:45, Beeblebrox: > I am now stuck with trying to make this work. I am doing buildworld with > clang and ccache enabled. > > 1. I have to keep re-starting buildworld at different points of break. When > re-started the build continues past the last break-point and goes on to > break somewhere else. > 2. This continues until build gets to ===> usr.bin/ypwhich (all) and cannot > continue past the error. > 3. I disable ccache in /usr/local/etc/buildflags.conf and re-start the > build. Progresses upto: > sh /asp/src/tools/install.sh -s -o root -g wheel -m 444 libz.so.6 > /usr/obj/asp/src/lib32/usr/lib32 > ln -fs libz.so.6 /usr/obj/asp/src/lib32/usr/lib32/libz.so > > However, examining the contents after build-break of > /usr/obj/asp/src/lib32/usr/lib32/ shows libz.so.6 and its linked alias > libz.so. > I am not able to move any further without help because I cannot figure out > where the problem may be. > > Thanks for any help. Try running make buildworld without -j. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 14:14:25 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 862077EC for ; Fri, 23 Nov 2012 14:14:25 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 605AA8FC08 for ; Fri, 23 Nov 2012 14:14:25 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tbu1Q-0004rW-Sr for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 06:14:24 -0800 Date: Fri, 23 Nov 2012 06:14:24 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353680064788-5763506.post@n5.nabble.com> In-Reply-To: <50AF7F2F.6050104@gmail.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 14:14:25 -0000 Thanks for the suggestion. Build progressed a little further then had other problem: ===> gnu/lib/libstdc++ (all) building shared library libstdc++.so.6 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [libstdc++.so.6] Error code 1 Stop in /asp/src/gnu/lib/libstdc++. *** [all] Error code 1 Stop in /asp/src/gnu/lib. *** [gnu/lib__L] Error code 1 Why is it building gcc4.2 ?? Should I not be using WITH_CLANG_IS_CC= yes ? Bummer... -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763506.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 14:20:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0E5BD19 for ; Fri, 23 Nov 2012 14:20:06 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 917318FC13 for ; Fri, 23 Nov 2012 14:20:05 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 5C59C6363C6 for ; Fri, 23 Nov 2012 14:54:43 +0100 (CET) Received: from soth.ventu (adsl-ull-140-176.41-151.net24.it [151.41.176.140]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qANDsV3n060723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 23 Nov 2012 14:54:32 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.5) with ESMTP id qANDsOWK025464 for ; Fri, 23 Nov 2012 14:54:24 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50AF8010.3020607@netfence.it> Date: Fri, 23 Nov 2012 14:54:24 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Help review the FAQ References: <50AA8C85.2000002@netfence.it> <176051353355653@web21f.yandex.ru> <12a03b9ad538106c0710c8048fe09c6f@mail.0x20.net> In-Reply-To: <12a03b9ad538106c0710c8048fe09c6f@mail.0x20.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Fri, 23 Nov 2012 14:54:32 +0100 (CET) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 14:20:07 -0000 On 11/23/12 10:25, Lars Engels wrote: > I've seen that on almost every USB MP3 player, Android mobile phones and > on other USB devices that export an internal memory card. BTW, my disk drive is SCSI attached, so it's not an USB-only issue. > But it would be really really really great if someone(TM) would fix it, > so the workaround is no longer needed... Yep, that would be really great. bye av. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 14:29:12 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EA93191 for ; Fri, 23 Nov 2012 14:29:12 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id 081998FC08 for ; Fri, 23 Nov 2012 14:29:10 +0000 (UTC) Received: from 0x20.net (0x20.net [217.69.76.212]) (Authenticated sender: lala) by mail.0x20.net (Postfix) with ESMTPA id D62B46A6001 for ; Fri, 23 Nov 2012 15:29:09 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 23 Nov 2012 15:29:09 +0100 From: Lars Engels To: Subject: Re: Help review the FAQ In-Reply-To: <50AF8010.3020607@netfence.it> References: <50AA8C85.2000002@netfence.it> <176051353355653@web21f.yandex.ru> <12a03b9ad538106c0710c8048fe09c6f@mail.0x20.net> <50AF8010.3020607@netfence.it> Message-ID: X-Sender: lars.engels@0x20.net User-Agent: Roundcube Webmail/0.7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 14:29:12 -0000 Am 23.11.2012 14:54, schrieb Andrea Venturoli: > On 11/23/12 10:25, Lars Engels wrote: >> I've seen that on almost every USB MP3 player, Android mobile phones >> and >> on other USB devices that export an internal memory card. > > BTW, my disk drive is SCSI attached, so it's not an USB-only issue. So, it's probably a cam layer issue. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 14:31:13 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 047082C7 for ; Fri, 23 Nov 2012 14:31:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 47A8D8FC08 for ; Fri, 23 Nov 2012 14:31:11 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA04888; Fri, 23 Nov 2012 16:31:07 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AF88AA.1060003@FreeBSD.org> Date: Fri, 23 Nov 2012 16:31:06 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Patrick Lamaiziere Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> In-Reply-To: <20121123140932.3a6deff6@mr129166> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" , Willem Jan Withagen X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 14:31:13 -0000 on 23/11/2012 15:09 Patrick Lamaiziere said the following: > Le Thu, 22 Nov 2012 11:41:54 +0200, > Andriy Gapon a écrit : > > Hello, > >>> I will definitely MFC it to stable/9, just not sure if I would be >>> able to do it before New Year. It definitely won't be in 9.1. >>> I'll send you a patch later. >>> >> >> The patch: >> http://people.freebsd.org/~avg/zfs-vfs.4.diff > > It does not apply on 9.1 RC-3. > > I've got a similar problem. With the same backtrace of init? Willem massaged the patch to apply to stable/9 and promised to share his patch. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 14:31:48 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C307403 for ; Fri, 23 Nov 2012 14:31:48 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED6548FC0C for ; Fri, 23 Nov 2012 14:31:47 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so8795300iec.13 for ; Fri, 23 Nov 2012 06:31:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qqTfbZHTeOpoAlbsLUskIMBn4Jmc8r01C0UjnUgc4vU=; b=1GgDHwqESLrWbVrP3wacvSmtmpPaAkhORo05uD2jPeG7y+9S1APdPH23jrjvf2YTUs +xB8Z7DGENrqlBTFLcXkglz1zyxvdL0yQuSf/w8G7lIJuc6PcgRyUssLEnBlCntI2AW+ IM4nKiYCkGEkEDEMRk7W4vjuJxxJwCEahlt/hpxZuwgkJXzTnVII2q/J+Ozp3yrE1cGQ VBV9i9YURI7gFxvo28K63X7Q27feTo7mK5FrHyPQHGSe8prpXr/XnyBhy+HjA1AfaEhx mDSp+jA8mUpch3RAvnz9nFa09ILQYhZoldANaI13jWVhDUqzJ9vvvGNUZ6zleA3FW3W8 b0iQ== Received: by 10.50.104.164 with SMTP id gf4mr3800983igb.1.1353681107131; Fri, 23 Nov 2012 06:31:47 -0800 (PST) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id ff4sm4348922igc.13.2012.11.23.06.31.45 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 06:31:46 -0800 (PST) Message-ID: <50AF88CF.6050601@gmail.com> Date: Fri, 23 Nov 2012 16:31:43 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> In-Reply-To: <1353680064788-5763506.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 14:31:48 -0000 23.11.2012 16:14, Beeblebrox: > Thanks for the suggestion. Build progressed a little further then had other > problem: > > ===> gnu/lib/libstdc++ (all) > building shared library libstdc++.so.6 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [libstdc++.so.6] Error code 1 > Stop in /asp/src/gnu/lib/libstdc++. > *** [all] Error code 1 > Stop in /asp/src/gnu/lib. > *** [gnu/lib__L] Error code 1 > > Why is it building gcc4.2 ?? Should I not be using WITH_CLANG_IS_CC= yes ? > Bummer... I'd rather say you should recheck/post your relevant make.conf / src.conf options. And WITHOUT_GCC is not right thing to do for now, gcc is still needed for a number of ports. -- Sphinx of black quartz, judge my vow. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 15:25:34 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 907F56A9; Fri, 23 Nov 2012 15:25:34 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5D18FC08; Fri, 23 Nov 2012 15:25:33 +0000 (UTC) Received: from mr129166.localdomain (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id B20C2A6AD; Fri, 23 Nov 2012 16:25:32 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by mr129166.localdomain (Postfix) with ESMTP id 28C9765EA; Fri, 23 Nov 2012 16:25:32 +0100 (CET) Date: Fri, 23 Nov 2012 16:25:31 +0100 From: Patrick Lamaiziere To: "stable@freebsd.org" Subject: Re: Some new hardware with 9.1 does not reboot easily Message-ID: <20121123162531.66bedee3@mr129166> In-Reply-To: <50AF88AA.1060003@FreeBSD.org> References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 15:25:34 -0000 Le Fri, 23 Nov 2012 16:31:06 +0200, Andriy Gapon a écrit : Hello, > >>> I will definitely MFC it to stable/9, just not sure if I would be > >>> able to do it before New Year. It definitely won't be in 9.1. > >>> I'll send you a patch later. > >>> > >> > >> The patch: > >> http://people.freebsd.org/~avg/zfs-vfs.4.diff > > > > It does not apply on 9.1 RC-3. > > > > I've got a similar problem. > > With the same backtrace of init? I dont know, it's a remote server without KVM. I just can test if it improves the shutdown. > Willem massaged the patch to apply to stable/9 and promised to share > his patch. Cool, thanks. I've applied your previous patch (#3, I think) to 9.1 with few modifications but a quick test doing a "poudriere bulk" (lot of ZFS mount/rollback) shows that the system quickly becomes instable. I didn't find the time to dig into this. I will try the patch from Willem. Thanks, regards. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 15:34:46 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BDA6BF3 for ; Fri, 23 Nov 2012 15:34:46 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C2DD88FC08 for ; Fri, 23 Nov 2012 15:34:45 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA05447; Fri, 23 Nov 2012 17:34:43 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AF9793.3010602@FreeBSD.org> Date: Fri, 23 Nov 2012 17:34:43 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Patrick Lamaiziere Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <20121123162531.66bedee3@mr129166> In-Reply-To: <20121123162531.66bedee3@mr129166> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 15:34:46 -0000 on 23/11/2012 17:25 Patrick Lamaiziere said the following: > I've applied your previous patch (#3, I think) to 9.1 with > few modifications but a quick test doing a "poudriere bulk" (lot of > ZFS mount/rollback) shows that the system quickly becomes instable. I > didn't find the time to dig into this. Please note that the patches are produced against head, so their applicability to stable is a moving thing. Sometimes they can apply just fine, but would be incorrect, because of some changes that are committed to head, but not MFC-ed yet. In either case, if you run into problems please report them. Because, you know, when I commit and MFC the changes you might be affected to a greater degree than during this testing phase. "Unstable system" is way way too vague to describe a problem. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 16:12:45 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EAFBC7F; Fri, 23 Nov 2012 16:12:45 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id DEADE8FC08; Fri, 23 Nov 2012 16:12:44 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 366E115343E; Fri, 23 Nov 2012 17:12:07 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HMdmwHEDE--x; Fri, 23 Nov 2012 17:12:06 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 5BADD15343B; Fri, 23 Nov 2012 17:12:06 +0100 (CET) Message-ID: <50AFA055.4080604@digiware.nl> Date: Fri, 23 Nov 2012 17:12:05 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> In-Reply-To: <50AF88AA.1060003@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 16:12:45 -0000 On 2012-11-23 15:31, Andriy Gapon wrote: > on 23/11/2012 15:09 Patrick Lamaiziere said the following: >> Le Thu, 22 Nov 2012 11:41:54 +0200, >> Andriy Gapon a écrit : >> >> Hello, >> >>>> I will definitely MFC it to stable/9, just not sure if I would be >>>> able to do it before New Year. It definitely won't be in 9.1. >>>> I'll send you a patch later. >>>> >>> >>> The patch: >>> http://people.freebsd.org/~avg/zfs-vfs.4.diff >> >> It does not apply on 9.1 RC-3. >> >> I've got a similar problem. > > With the same backtrace of init? > > Willem massaged the patch to apply to stable/9 and promised to share his patch. > I have applied the patch but at the moment it does not fix anything.... If I go reboot, it still hangs. CTL-ALT-DEL give the last burp from the console buffer. And then the cycle goes again, with all the time outs. So there is too much difference between Head and 9.1-RC3 in functionality for you Head patch to work on 9.1-PRERELEASE. I needed to manually patch for 3 rejects, 2 of them looked like an offset problem. But I was more serious.... Also the vrecycle seems to have lost a parameter in Head: curthread...?? The patch in essence was > 1400 lines... Most of it small changes, but some of them are probably rather essential. And have to do with locking and getting things locked in the proper sequence. So to get it working I need some help to point to the essential code to have a look at... And then I'll try and prod a bit. Or I can send a SVN diff and others have a look at it as well. --WjW From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 16:21:06 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A35BE77 for ; Fri, 23 Nov 2012 16:21:06 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5E2898FC12 for ; Fri, 23 Nov 2012 16:21:05 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA05838; Fri, 23 Nov 2012 18:21:02 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AFA26E.1080609@FreeBSD.org> Date: Fri, 23 Nov 2012 18:21:02 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFA055.4080604@digiware.nl> In-Reply-To: <50AFA055.4080604@digiware.nl> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 16:21:06 -0000 on 23/11/2012 18:12 Willem Jan Withagen said the following: > I have applied the patch but at the moment it does not fix anything.... > If I go reboot, it still hangs. > > CTL-ALT-DEL give the last burp from the console buffer. > And then the cycle goes again, with all the time outs. > > So there is too much difference between Head and 9.1-RC3 in > functionality for you Head patch to work on 9.1-PRERELEASE. > I needed to manually patch for 3 rejects, 2 of them looked like an > offset problem. But I was more serious.... > Also the vrecycle seems to have lost a parameter in Head: curthread...?? > > The patch in essence was > 1400 lines... Most of it small changes, but > some of them are probably rather essential. And have to do with locking > and getting things locked in the proper sequence. > > So to get it working I need some help to point to the essential code to > have a look at... And then I'll try and prod a bit. > > Or I can send a SVN diff and others have a look at it as well. I am not sure, did one of my replies got lost? The one in which I said please send your svn diff and please send relevant backtraces from the hanging shutdown. Its message id was <50AE143E.6050808@FreeBSD.org> -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 16:25:42 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1ACDE2; Fri, 23 Nov 2012 16:25:42 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id A05298FC14; Fri, 23 Nov 2012 16:25:42 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id B8919153445; Fri, 23 Nov 2012 17:25:11 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id owWxtwBnj0u6; Fri, 23 Nov 2012 17:25:11 +0100 (CET) Received: from [192.168.10.67] (opteron [192.168.10.67]) by mail.digiware.nl (Postfix) with ESMTP id 2DBCE153442; Fri, 23 Nov 2012 17:25:11 +0100 (CET) Message-ID: <50AFA366.70901@digiware.nl> Date: Fri, 23 Nov 2012 17:25:10 +0100 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFA055.4080604@digiware.nl> <50AFA26E.1080609@FreeBSD.org> In-Reply-To: <50AFA26E.1080609@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 16:25:43 -0000 On 2012-11-23 17:21, Andriy Gapon wrote: > on 23/11/2012 18:12 Willem Jan Withagen said the following: >> I have applied the patch but at the moment it does not fix anything.... >> If I go reboot, it still hangs. >> >> CTL-ALT-DEL give the last burp from the console buffer. >> And then the cycle goes again, with all the time outs. >> >> So there is too much difference between Head and 9.1-RC3 in >> functionality for you Head patch to work on 9.1-PRERELEASE. >> I needed to manually patch for 3 rejects, 2 of them looked like an >> offset problem. But I was more serious.... >> Also the vrecycle seems to have lost a parameter in Head: curthread...?? >> >> The patch in essence was > 1400 lines... Most of it small changes, but >> some of them are probably rather essential. And have to do with locking >> and getting things locked in the proper sequence. >> >> So to get it working I need some help to point to the essential code to >> have a look at... And then I'll try and prod a bit. >> >> Or I can send a SVN diff and others have a look at it as well. > > I am not sure, did one of my replies got lost? > The one in which I said please send your svn diff and please send relevant > backtraces from the hanging shutdown. > Its message id was <50AE143E.6050808@FreeBSD.org> I think it got lost between you and me.... Could very well be my mistake. What would the relevant backtraces be? --WjW From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 16:40:02 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ABD3B468 for ; Fri, 23 Nov 2012 16:40:02 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id F10A58FC13 for ; Fri, 23 Nov 2012 16:40:01 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA05934; Fri, 23 Nov 2012 18:39:58 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <50AFA6DD.10104@FreeBSD.org> Date: Fri, 23 Nov 2012 18:39:57 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFA055.4080604@digiware.nl> <50AFA26E.1080609@FreeBSD.org> <50AFA366.70901@digiware.nl> In-Reply-To: <50AFA366.70901@digiware.nl> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 16:40:02 -0000 on 23/11/2012 18:25 Willem Jan Withagen said the following: > On 2012-11-23 17:21, Andriy Gapon wrote: >> on 23/11/2012 18:12 Willem Jan Withagen said the following: >>> I have applied the patch but at the moment it does not fix anything.... >>> If I go reboot, it still hangs. >>> >>> CTL-ALT-DEL give the last burp from the console buffer. >>> And then the cycle goes again, with all the time outs. >>> >>> So there is too much difference between Head and 9.1-RC3 in >>> functionality for you Head patch to work on 9.1-PRERELEASE. >>> I needed to manually patch for 3 rejects, 2 of them looked like an >>> offset problem. But I was more serious.... >>> Also the vrecycle seems to have lost a parameter in Head: curthread...?? >>> >>> The patch in essence was > 1400 lines... Most of it small changes, but >>> some of them are probably rather essential. And have to do with locking >>> and getting things locked in the proper sequence. >>> >>> So to get it working I need some help to point to the essential code to >>> have a look at... And then I'll try and prod a bit. >>> >>> Or I can send a SVN diff and others have a look at it as well. >> >> I am not sure, did one of my replies got lost? >> The one in which I said please send your svn diff and please send relevant >> backtraces from the hanging shutdown. >> Its message id was <50AE143E.6050808@FreeBSD.org> > > I think it got lost between you and me.... > Could very well be my mistake. > > What would the relevant backtraces be? I've just sent you that email again. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 16:56:43 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B8DBAA2 for ; Fri, 23 Nov 2012 16:56:43 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id D89568FC14 for ; Fri, 23 Nov 2012 16:56:42 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TbwYT-0008FA-Vn for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 08:56:41 -0800 Date: Fri, 23 Nov 2012 08:56:41 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353689801972-5763579.post@n5.nabble.com> In-Reply-To: <50AF88CF.6050601@gmail.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 16:56:43 -0000 OK, I disabled -j and ccache in the config file, deleted the entire previous build and re-started a plain old run of buildworld. Compile stopped at the exact same place as above (libstdc++) I did not remove WITH_CLANG_IS_CC=yes from /etc/src.conf. For ports building I have and use gcc-46, so I do not see any point of building gcc-42 AND clang both. I'm preparing to file a bug report unless anyone has suggestions. Thanks. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763579.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 20:17:29 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8268D454 for ; Fri, 23 Nov 2012 20:17:29 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (hill.egr.msu.edu [35.9.37.162]) by mx1.freebsd.org (Postfix) with ESMTP id 502418FC12 for ; Fri, 23 Nov 2012 20:17:28 +0000 (UTC) Received: from hill (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id B7DF42FA6D for ; Fri, 23 Nov 2012 15:17:22 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by hill (hill.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3kyTU5W1yVbZ for ; Fri, 23 Nov 2012 15:17:22 -0500 (EST) Received: from EGR authenticated sender Message-ID: <50AFD9D8.6060400@egr.msu.edu> Date: Fri, 23 Nov 2012 15:17:28 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? References: <20121123112203.GL36283@pol-server.leissner.se> In-Reply-To: <20121123112203.GL36283@pol-server.leissner.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 20:17:29 -0000 On 11/23/2012 6:22 AM, Peter Olsson wrote: > We are currently using cvs for both source and ports. > I have begun changing to portsnap for ports, and I > would also like to try changing at least some of our > servers to freebsd-update. > > But all servers have been patched, using either RELENG_8_3 > or RELENG_9_0 as cvs tag. I need to revert them to their > respective RELEASE to be able to use freebsd-update. > Complete reinstall from eg CD is not an option, and I don't > want to upgrade to a newer RELEASE at the moment. > > Can I change the cvs tags to RELENG_8_3_0_RELEASE or > RELENG_9_0_0_RELEASE, and then build/install world and > kernel as usual? > Or will that method cause problems for the system or the > installed ports? > > Thanks! > > -- > Peter Olsson pol@leissner.se > That is what I would do. Certainly try it on a non-critical system first, and take proper consideration for the potential vulnerabilities that will come back until freebsd-update succeeds. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 22:03:01 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB1D0DB1 for ; Fri, 23 Nov 2012 22:03:01 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id B4F7E8FC0C for ; Fri, 23 Nov 2012 22:03:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tc1Kv-0002yv-2G for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 14:03:01 -0800 Date: Fri, 23 Nov 2012 14:03:01 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353708181062-5763657.post@n5.nabble.com> In-Reply-To: <1353689801972-5763579.post@n5.nabble.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 22:03:01 -0000 I went ahead and hacked gnu/lib/Makefile and changed to: if ${MK_CXX} != "no" #SUBDIR+= libstdc++ libsupc++ .endif I then restarted buildworld. Next stop, new error: clang -m32 -march=k8 -DCOMPAT_32BIT -isystem /usr/obj/asp/src/lib32/usr/include/ -L/usr/obj/asp/src/lib32/usr/lib32 -B/usr/obj/asp/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -DNDEBUG -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -c /asp/src/lib/libncp/ipx.c -o ipx.So building shared library libncp.so.4 /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared object. clang: error: linker command failed with exit code 1 (use -v to see invocation) ls /usr/obj/asp/src/lib/libncp shows libncp.so.4 and symlink libncp.so -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763657.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 22:09:59 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 73DFCE4; Fri, 23 Nov 2012 22:09:59 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 1E40B8FC08; Fri, 23 Nov 2012 22:09:58 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 8CA7015343E; Fri, 23 Nov 2012 23:09:26 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id emHBRb0sPPjj; Fri, 23 Nov 2012 23:09:26 +0100 (CET) Received: from [192.168.10.10] (vaio [192.168.10.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id ED0A515343B; Fri, 23 Nov 2012 23:09:25 +0100 (CET) Message-ID: <50AFF419.3070604@digiware.nl> Date: Fri, 23 Nov 2012 23:09:29 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> In-Reply-To: <50AF88AA.1060003@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 22:09:59 -0000 On 23-11-2012 15:31, Andriy Gapon wrote: > on 23/11/2012 15:09 Patrick Lamaiziere said the following: >> Le Thu, 22 Nov 2012 11:41:54 +0200, >> Andriy Gapon a écrit : >> >> Hello, >> >>>> I will definitely MFC it to stable/9, just not sure if I would be >>>> able to do it before New Year. It definitely won't be in 9.1. >>>> I'll send you a patch later. >>>> >>> >>> The patch: >>> http://people.freebsd.org/~avg/zfs-vfs.4.diff >> >> It does not apply on 9.1 RC-3. >> >> I've got a similar problem. > > With the same backtrace of init? > > Willem massaged the patch to apply to stable/9 and promised to share his patch. > Hi Andriy, With you latest patch I was able to: reboot shutdown -r now shutdown -p now So that seems to work just oke. I'm waiting for the system to come back up, and will put the svn diff on my webserver...., unless it is oke to post a 1200 lines of diff?? --WjW From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 22:25:11 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3F52475 for ; Fri, 23 Nov 2012 22:25:11 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id E33AC8FC0C for ; Fri, 23 Nov 2012 22:25:10 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA07361; Sat, 24 Nov 2012 00:25:07 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Tc1gJ-000Ira-Gp; Sat, 24 Nov 2012 00:25:07 +0200 Message-ID: <50AFF7C1.2090405@FreeBSD.org> Date: Sat, 24 Nov 2012 00:25:05 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Willem Jan Withagen Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFF419.3070604@digiware.nl> In-Reply-To: <50AFF419.3070604@digiware.nl> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 22:25:11 -0000 on 24/11/2012 00:09 Willem Jan Withagen said the following: > With you latest patch I was able to: > reboot > shutdown -r now > shutdown -p now > So that seems to work just oke. Good news. Thank you for working on this! > I'm waiting for the system to come back up, and will put the svn diff on my > webserver...., unless it is oke to post a 1200 lines of diff?? I think that a webserver option would be better. Thanks again. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Fri Nov 23 22:42:00 2012 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6BB09B9; Fri, 23 Nov 2012 22:42:00 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5A48FC08; Fri, 23 Nov 2012 22:42:00 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 61A4115343E; Fri, 23 Nov 2012 23:41:29 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uudwMeXgSfvU; Fri, 23 Nov 2012 23:41:28 +0100 (CET) Received: from [192.168.10.10] (vaio [192.168.10.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id D992515343B; Fri, 23 Nov 2012 23:41:28 +0100 (CET) Message-ID: <50AFFB9C.8050101@digiware.nl> Date: Fri, 23 Nov 2012 23:41:32 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: Some new hardware with 9.1 does not reboot easily References: <50ACA518.4050309@digiware.nl> <50ACEEFF.8010001@FreeBSD.org> <50AD0A20.2070408@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFF419.3070604@digiware.nl> <50AFF7C1.2090405@FreeBSD.org> In-Reply-To: <50AFF7C1.2090405@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "stable@freebsd.org" , Patrick Lamaiziere X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2012 22:42:01 -0000 On 23-11-2012 23:25, Andriy Gapon wrote: > on 24/11/2012 00:09 Willem Jan Withagen said the following: >> With you latest patch I was able to: >> reboot >> shutdown -r now >> shutdown -p now >> So that seems to work just oke. > > Good news. Thank you for working on this! > >> I'm waiting for the system to come back up, and will put the svn diff on my >> webserver...., unless it is oke to post a 1200 lines of diff?? > > I think that a webserver option would be better. > Thanks again. Oke, Diff is at: http://www.tegenbosch28.nl/FreeBSD/Diffs/9.1-ZFS-reboot.diff And is against a checkout of this morning: r243433 Hope it works for others. --WjW From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 00:55:57 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65FC295E for ; Sat, 24 Nov 2012 00:55:57 +0000 (UTC) (envelope-from pol@leissner.se) Received: from mailgate.leissner.se (mailgate.leissner.se [212.3.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id 098828FC08 for ; Sat, 24 Nov 2012 00:55:56 +0000 (UTC) Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.14.5/8.14.5) with ESMTP id qAO0ttHk084284 for ; Sat, 24 Nov 2012 01:55:55 +0100 (CET) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.14.5/8.14.5/Submit) id qAO0tsZF084283 for ; Sat, 24 Nov 2012 01:55:54 +0100 (CET) (envelope-from pol@leissner.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpdWjcsV7; Sat Nov 24 01:55:46 2012 Received: from pol-server.leissner.se (localhost [127.0.0.1]) by pol-server.leissner.se (8.14.5/8.14.5) with ESMTP id qAO0tkHL052357; Sat, 24 Nov 2012 01:55:46 +0100 (CET) (envelope-from pol@leissner.se) Received: (from pol@localhost) by pol-server.leissner.se (8.14.5/8.14.5/Submit) id qAO0tkoK052356; Sat, 24 Nov 2012 01:55:46 +0100 (CET) (envelope-from pol@leissner.se) X-Authentication-Warning: pol-server.leissner.se: pol set sender to pol@leissner.se using -f Date: Sat, 24 Nov 2012 01:55:46 +0100 From: Peter Olsson To: freebsd-stable@freebsd.org Subject: Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? Message-ID: <20121124005546.GE36283@pol-server.leissner.se> References: <20121123112203.GL36283@pol-server.leissner.se> <50AF6B22.1060000@ose.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50AF6B22.1060000@ose.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 00:55:57 -0000 On Fri, Nov 23, 2012 at 01:25:06PM +0100, Bas Smeelen wrote: > On 11/23/2012 12:22 PM, Peter Olsson wrote: > > We are currently using cvs for both source and ports. > > I have begun changing to portsnap for ports, and I > > would also like to try changing at least some of our > > servers to freebsd-update. > > > > But all servers have been patched, using either RELENG_8_3 > > or RELENG_9_0 as cvs tag. I need to revert them to their > > respective RELEASE to be able to use freebsd-update. > > Complete reinstall from eg CD is not an option, and I don't > > want to upgrade to a newer RELEASE at the moment. > > > > Can I change the cvs tags to RELENG_8_3_0_RELEASE or > > RELENG_9_0_0_RELEASE, and then build/install world and > > kernel as usual? > > Or will that method cause problems for the system or the > > installed ports? > > > > Thanks! > > RELENG_9_0 and RELENG_8_3 are RELEASE branches including patches > (8.3-RELEASE-p4 for instance), so you should be able to use freebsd-update > ont them without changing anything. > If the servers are up to date then freebsd-update doesn't have to do > anything for them untill the next paches for them come around. I tried this in a lab server running 8.3-RELEASE-p4. The only complaint during freebsd-update fetch was this: The following files are affected by updates, but no changes have been downloaded because the files have been modified locally: /var/db/mergemaster.mtree But it wanted to update a lot more files than just the latest patches to p5. Mostly files in /rescue, but also files belonging to openssl, crypt and ipv6, ie previous patches that I already had installed. So it didn't recognize that I already had installed those patches. Anyway, I ran freebsd-update install, and it finished without complaints. Then I rebooted and the server seems fine. /usr/src/sys/conf/newvers.sh now has these lines: REVISION="8.3" BRANCH="RELEASE-p5" However, freebsd-update IDS reports more than 23000 non-matching files, so I will instead try using cvs tag RELENG_8_3_0_RELEASE and see how freebsd-update behaves after install of that kernel and world. The complaints about /var/db/mergemaster.mtree will probably continue, but I suppose I can install another lab server from 8.3 install media and copy that file from there? Another question: I like to read the file /usr/src/UPDATING before installing patches, but freebsd-update doesn't seem to bother with that file. What is the easiest way of accessing a current /usr/src/UPDATING for the RELENG branches, without using cvs or subversion? I thought it would be located at http://www.freebsd.org/cgi/cvsweb.cgi/src/?only_with_tag=RELENG_8_3 but there is no UPDATING in that list. Thanks! Peter Olsson From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 04:45:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC805B5B for ; Sat, 24 Nov 2012 04:45:45 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85E328FC12 for ; Sat, 24 Nov 2012 04:45:45 +0000 (UTC) Received: by mail-gh0-f182.google.com with SMTP id z15so1442781ghb.13 for ; Fri, 23 Nov 2012 20:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=H2zK0j8/8H615+YAqglqyxO6UB5O5VvFsk1G/G3kiv0=; b=jU4fS5VRfnW/eX48ZJwrst0y+jlsVgZMgyyz8c4y6jmnuXk59oAnJsdfWPzjyGQLvH rAbjvXMMGkFI6VRe2FRAe0GyfuXvA7Lz/Xz7aEP8Gu2fXg9FaI4Dq7Y43dtyOk1HgPsF rjcYRZTcyBGn+vDQJtfqvdy+8/KZWR9TROiv7qO7IT58xk5xNKcOKk6zMlhmiiXwxQeO 9nQFjLztY4f2EhcrzHPkNNLolFVfx72QguF0r5BGD//+Fe1IPLsDOYrHaBbQHrt0ENz2 QIhZ2a22Nmw4Q2x1NuY4o/09DOQLG0mLPd2kiJ4xmLN+0C2RFn5BUS5NnlebnohFhS2r d3NQ== Received: by 10.236.114.84 with SMTP id b60mr6183792yhh.42.1353732344655; Fri, 23 Nov 2012 20:45:44 -0800 (PST) Received: from [192.168.2.20] (173-17-218-61.client.mchsi.com. [173.17.218.61]) by mx.google.com with ESMTPS id g6sm7913642ani.5.2012.11.23.20.45.43 (version=SSLv3 cipher=OTHER); Fri, 23 Nov 2012 20:45:44 -0800 (PST) Message-ID: <50B050F2.4050609@gmail.com> Date: Fri, 23 Nov 2012 22:45:38 -0600 From: Chuck Burns User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> In-Reply-To: <1353708181062-5763657.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 04:45:46 -0000 On 11/23/2012 4:03 PM, Beeblebrox wrote: > I went ahead and hacked gnu/lib/Makefile and changed to: > > if ${MK_CXX} != "no" > #SUBDIR+= libstdc++ libsupc++ > .endif > > I then restarted buildworld. Next stop, new error: > > clang -m32 -march=k8 -DCOMPAT_32BIT -isystem > /usr/obj/asp/src/lib32/usr/include/ -L/usr/obj/asp/src/lib32/usr/lib32 > -B/usr/obj/asp/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -DNDEBUG > -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -c > /asp/src/lib/libncp/ipx.c -o ipx.So > building shared library libncp.so.4 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > ls /usr/obj/asp/src/lib/libncp shows libncp.so.4 and symlink libncp.so > > > > > -- > You've already been told that WITHOUT_GCC is currently unsupported. Unsupported means.. we won't help you fix it when it breaks. Either take that option out.. or quit bugging us about it. The REASON it is unsupported is because it doesn't work. If you want to fix it, have at it, but no need to keep spamming the mailing list hoping to get help doing something that is unsupported. Chuck From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 06:44:51 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3446E95A for ; Sat, 24 Nov 2012 06:44:51 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id E35EB8FC08 for ; Sat, 24 Nov 2012 06:44:50 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so9820148iec.13 for ; Fri, 23 Nov 2012 22:44:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=dR4RS7OzQ9/YQqj963lCbTF6r9FwmN73b2G0xknLdTs=; b=Op04AVfyP+Cg6dL/NiohuYVijP4lkDG9I25Tx3Ldho1hNoD4wCRQgBLBynR6k/Uhhj BKGZrQU1n0C61TmlykgFrCKdWhuAd8fYFsudARHukauXbTGFchS54rKe6vcvUrZUvp9i hV1yk1PBqr3iM1qykRcaPLeTGkElUaTu83fxQh1W4ajKfYLGZ7i/1mWfCmoyrrsjYWSC lFmw6vYh4HAR0SjsrM4tPovxuxJ2WBz7N7o3QFW92u7xTiMQjCcPEKxBbQIH2p+fk9BB YK2G85E4p9pgV/MSMMmykEPd7IR2hJlCvLb4HWhBag8Zhs+wD5HfDYl14NrtWG7tqnT3 9LiQ== Received: by 10.50.5.205 with SMTP id u13mr5589449igu.37.1353739490293; Fri, 23 Nov 2012 22:44:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Fri, 23 Nov 2012 22:44:30 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Sat, 24 Nov 2012 17:44:30 +1100 Message-ID: Subject: Re: natd in a jail To: Dewayne Geraghty , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 06:44:51 -0000 On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed wrote: > So it turns out I'd not bought bpf into the jails, however even with > that and raw_sockets enabled I'm still having no joy with natd. > > I've been looking at ipfw a bit today but I've run into an issue, > loading ipfw_nat causes my kernel to instantly panic, I need to > recompile with KDB and DDB turned on so I can actually catch the trace > though... Might look at netgraph before going too far down that path. Rebuilt the kernel with option IPFIREWALL and friends turned on (including IPFILTER_DEFAULT_TO_ACCEPT or whatever it is). Throw ipfw_nat_load="YES" and ipdivert_load="YES" into /boot/loader.conf so the modules are available for the jails. Run a quick and dirty ipfw script (running out of an 'up' script I wrote into the OpenVPN config); ipfw nat 1 config if tun0 reset same_ports deny_in ipfw add 500 nat 1 ip from any to any via tun0 Works like a charm, just one last thing I'd like to get squared away here though, currently OpenVPN is using a dynamically created tun device, I'd like to have a static /dev/tun0 exist prior to the /etc/rc.d/natd start launching (because as it is I have to restart natd after the openvpn tunnel comes up), not sure what the best way to achieve this is in a jailed environment though. The next trick will be migrating from my spaghetti script into rc launched jails... From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:14:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3254ADF4 for ; Sat, 24 Nov 2012 07:14:58 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0950A8FC08 for ; Sat, 24 Nov 2012 07:14:57 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Tc9x2-0008BQ-EY for freebsd-stable@freebsd.org; Fri, 23 Nov 2012 23:14:56 -0800 Date: Fri, 23 Nov 2012 23:14:56 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353741296442-5763720.post@n5.nabble.com> In-Reply-To: <50B050F2.4050609@gmail.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> <50B050F2.4050609@gmail.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:14:58 -0000 Thanks for your answer. > You've already been told that WITHOUT_GCC is currently unsupported. No, I have not been informed of that. If you are referring to this by V Kostryko: > And WITHOUT_GCC is not right thing to do for now, gcc is still needed for > a number of ports. I understood his message to mean "enable gcc because you will need it for ports" > no need to keep spamming the mailing list hoping to get help doing > something that is unsupported. I am not spamming the ML, and the information that this setup is unsupported is a sufficient answer. Regards. [CLOSED] -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763720.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:20:29 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E41FCF58 for ; Sat, 24 Nov 2012 07:20:29 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-64-202.wavecable.com [24.113.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id A6D3E8FC08 for ; Sat, 24 Nov 2012 07:20:29 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qAO73BE5011382 for ; Fri, 23 Nov 2012 23:03:17 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qAO736Uh011381; Fri, 23 Nov 2012 23:03:06 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.64.202]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Fri, 23 Nov 2012 23:03:06 -0800 (PST) Message-ID: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> Date: Fri, 23 Nov 2012 23:03:06 -0800 (PST) Subject: Where do I purchace an unlock code to build a custom kernel? From: "Chris H" To: "freebsd-stable" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:20:30 -0000 Greetings, I've been running a RELENG_* box for some time now. I recently slipped the same CD into an older AMD k7 box, and performed an install && cvsup. I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. Then performed: make buildkernel KERNCONF=CUSTOM which produced ERROR: Missing kernel configuration files. Stop in /usr/src. *** Error code 1 Stop in /usr/src. Looks like I got bit by: 20100502: The config(8) command has been updated to maintain compatibility with config files from 8.0-RELEASE. You will need a new version of config to build kernels (this version can be used from 8.0-RELEASE forward). The buildworld target will generate it, so following the instructions in this file for updating will work glitch-free. Merely doing a make buildkernel without first doing a make buildworld (or kernel-toolchain), or attempting to build a kernel using traidtional methods will generate a config version warning, indicating you should update. So I performed: make kernel-toolchain, and tried again. STILL no joy. So I tried: To build a kernel ----------------- If you are updating from a prior version of FreeBSD (even one just a few days old), you should follow this procedure. It is the most failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, make kernel-toolchain make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE STILL no joy. Looks like I need to purchase a special kernel unlock key to build a kernel. :( Thank you for all your time, and consideration. --Chris From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:23:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 35143DA for ; Sat, 24 Nov 2012 07:23:34 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-64-202.wavecable.com [24.113.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id DD9178FC08 for ; Sat, 24 Nov 2012 07:23:33 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qAO7NSWD011611 for ; Fri, 23 Nov 2012 23:23:34 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qAO7NNDb011605; Fri, 23 Nov 2012 23:23:23 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.64.202]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Fri, 23 Nov 2012 23:23:23 -0800 (PST) Message-ID: In-Reply-To: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> Date: Fri, 23 Nov 2012 23:23:23 -0800 (PST) Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: "Chris H" To: freebsd-stable@freebsd.org User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:23:34 -0000 Sorry, that _should_ have read: RELENG_8 > Greetings, > I've been running a RELENG_* box for some time now. I recently slipped the > same CD into an older AMD k7 box, and performed an install && cvsup. > I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. > edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. > Then performed: > make buildkernel KERNCONF=CUSTOM > which produced > ERROR: Missing kernel configuration files. > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Looks like I got bit by: > 20100502: > The config(8) command has been updated to maintain compatibility > with config files from 8.0-RELEASE. You will need a new version > of config to build kernels (this version can be used from 8.0-RELEASE > forward). The buildworld target will generate it, so following > the instructions in this file for updating will work glitch-free. > Merely doing a make buildkernel without first doing a make buildworld > (or kernel-toolchain), or attempting to build a kernel using > traidtional methods will generate a config version warning, indicating > you should update. > > So I performed: make kernel-toolchain, and tried again. STILL no joy. > > So I tried: > To build a kernel > ----------------- > If you are updating from a prior version of FreeBSD (even one just > a few days old), you should follow this procedure. It is the most > failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, > > make kernel-toolchain > make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE > make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE > > STILL no joy. Looks like I need to purchase a special kernel unlock key to build > a kernel. :( > > Thank you for all your time, and consideration. > > --Chris > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:39:53 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 095382EF for ; Sat, 24 Nov 2012 07:39:53 +0000 (UTC) (envelope-from takeda@takeda.tk) Received: from chinatsu.takeda.tk (takeda-1-pt.tunnel.tserv15.lax1.ipv6.he.net [IPv6:2001:470:c:16b::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9880E8FC13 for ; Sat, 24 Nov 2012 07:39:52 +0000 (UTC) Received: from takeda-ws.lan (takeda-ws.lan [10.0.0.3]) (authenticated bits=0) by chinatsu.takeda.tk (8.14.5/8.14.5) with ESMTP id qAO7dhkd011500 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 23 Nov 2012 23:39:43 -0800 (PST) (envelope-from takeda@takeda.tk) Date: Fri, 23 Nov 2012 23:39:38 -0800 From: Derek Kulinski X-Priority: 3 (Normal) Message-ID: <1864583315.20121123233938@takeda.tk> To: "Chris H" Subject: Re: Where do I purchace an unlock code to build a custom kernel? In-Reply-To: References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.97.6 at chinatsu.takeda.tk X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:39:53 -0000 Hello Chris, I can sell you one :) Anyway, I belive what's happening is that you should copy GENERIC not in /usr/src/sys/amd64 directory, but in /usr/src/sys/i386 k7 is a 32 bit CPU so it is i386. Perhaps you could also try building FreeBSD on your faster box, I did that when I had 2 32bit machines and it worked well. I'm assuming setting proper CPU would be enough, but I have yet to try to build 32 version on 64bit. Derek Friday, November 23, 2012, 11:23:23 PM, you wrote: > Sorry, that _should_ have read: > RELENG_8 >> Greetings, >> I've been running a RELENG_* box for some time now. I recently slipped the >> same CD into an older AMD k7 box, and performed an install && cvsup. >> I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. >> edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. >> Then performed: >> make buildkernel KERNCONF=CUSTOM >> which produced >> ERROR: Missing kernel configuration files. >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> Looks like I got bit by: >> 20100502: >> The config(8) command has been updated to maintain compatibility >> with config files from 8.0-RELEASE. You will need a new version >> of config to build kernels (this version can be used from 8.0-RELEASE >> forward). The buildworld target will generate it, so following >> the instructions in this file for updating will work glitch-free. >> Merely doing a make buildkernel without first doing a make buildworld >> (or kernel-toolchain), or attempting to build a kernel using >> traidtional methods will generate a config version warning, indicating >> you should update. >> >> So I performed: make kernel-toolchain, and tried again. STILL no joy. >> >> So I tried: >> To build a kernel >> ----------------- >> If you are updating from a prior version of FreeBSD (even one just >> a few days old), you should follow this procedure. It is the most >> failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, >> >> make kernel-toolchain >> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE >> make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE >> >> STILL no joy. Looks like I need to purchase a special kernel unlock key to build >> a kernel. :( >> >> Thank you for all your time, and consideration. >> >> --Chris >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" -- Best regards, Derek mailto:takeda@takeda.tk -- Look out for #1. Don't step in #2 either. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:49:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9F6B44A for ; Sat, 24 Nov 2012 07:49:34 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 81BC58FC0C for ; Sat, 24 Nov 2012 07:49:34 +0000 (UTC) Received: from Alfreds-MacBook-Pro-5.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 178FB1A3C26; Fri, 23 Nov 2012 23:41:32 -0800 (PST) Message-ID: <50B07A2B.2000108@mu.org> Date: Fri, 23 Nov 2012 23:41:31 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Chris H Subject: Re: Where do I purchace an unlock code to build a custom kernel? References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:49:34 -0000 hrm.. Isn't k7 i386? -alfred On 11/23/12 11:23 PM, Chris H wrote: > Sorry, that _should_ have read: > RELENG_8 > >> Greetings, >> I've been running a RELENG_* box for some time now. I recently slipped the >> same CD into an older AMD k7 box, and performed an install && cvsup. >> I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. >> edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. >> Then performed: >> make buildkernel KERNCONF=CUSTOM >> which produced >> ERROR: Missing kernel configuration files. >> >> Stop in /usr/src. >> *** Error code 1 >> >> Stop in /usr/src. >> >> Looks like I got bit by: >> 20100502: >> The config(8) command has been updated to maintain compatibility >> with config files from 8.0-RELEASE. You will need a new version >> of config to build kernels (this version can be used from 8.0-RELEASE >> forward). The buildworld target will generate it, so following >> the instructions in this file for updating will work glitch-free. >> Merely doing a make buildkernel without first doing a make buildworld >> (or kernel-toolchain), or attempting to build a kernel using >> traidtional methods will generate a config version warning, indicating >> you should update. >> >> So I performed: make kernel-toolchain, and tried again. STILL no joy. >> >> So I tried: >> To build a kernel >> ----------------- >> If you are updating from a prior version of FreeBSD (even one just >> a few days old), you should follow this procedure. It is the most >> failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, >> >> make kernel-toolchain >> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE >> make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE >> >> STILL no joy. Looks like I need to purchase a special kernel unlock key to build >> a kernel. :( >> >> Thank you for all your time, and consideration. >> >> --Chris >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 07:50:27 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 413E9548 for ; Sat, 24 Nov 2012 07:50:27 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-64-202.wavecable.com [24.113.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 0B13E8FC19 for ; Sat, 24 Nov 2012 07:50:26 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qAO7oLe8011972; Fri, 23 Nov 2012 23:50:27 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qAO7oGZh011968; Fri, 23 Nov 2012 23:50:16 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.64.202]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Fri, 23 Nov 2012 23:50:16 -0800 (PST) Message-ID: <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> In-Reply-To: <1864583315.20121123233938@takeda.tk> References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> Date: Fri, 23 Nov 2012 23:50:16 -0800 (PST) Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: "Chris H" To: "Derek Kulinski" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: bright@mu.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 07:50:27 -0000 Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) would "throw me a bone" if it were wrong. Anyway, I'll take your advice. Thanks again! MUCH appreciated! > Hello Chris, > > I can sell you one :) > > Anyway, I belive what's happening is that you should copy GENERIC not > in /usr/src/sys/amd64 directory, but in /usr/src/sys/i386 > > k7 is a 32 bit CPU so it is i386. > > Perhaps you could also try building FreeBSD on your faster box, I did > that when I had 2 32bit machines and it worked well. I'm assuming > setting proper CPU would be enough, but I have yet to try to build 32 > version on 64bit. > > Derek > > Friday, November 23, 2012, 11:23:23 PM, you wrote: > >> Sorry, that _should_ have read: >> RELENG_8 > >>> Greetings, >>> I've been running a RELENG_* box for some time now. I recently slipped the >>> same CD into an older AMD k7 box, and performed an install && cvsup. >>> I then promptly cd /usr/src/sys/amd64/conf && cp GENERIC CUSTOM. >>> edited CUSTOM to taste, cd /usr/src && make buildworld; wait _hours_. >>> Then performed: >>> make buildkernel KERNCONF=CUSTOM >>> which produced >>> ERROR: Missing kernel configuration files. >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> >>> Looks like I got bit by: >>> 20100502: >>> The config(8) command has been updated to maintain compatibility >>> with config files from 8.0-RELEASE. You will need a new version >>> of config to build kernels (this version can be used from 8.0-RELEASE >>> forward). The buildworld target will generate it, so following >>> the instructions in this file for updating will work glitch-free. >>> Merely doing a make buildkernel without first doing a make buildworld >>> (or kernel-toolchain), or attempting to build a kernel using >>> traidtional methods will generate a config version warning, indicating >>> you should update. >>> >>> So I performed: make kernel-toolchain, and tried again. STILL no joy. >>> >>> So I tried: >>> To build a kernel >>> ----------------- >>> If you are updating from a prior version of FreeBSD (even one just >>> a few days old), you should follow this procedure. It is the most >>> failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, >>> >>> make kernel-toolchain >>> make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE >>> make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE >>> >>> STILL no joy. Looks like I need to purchase a special kernel unlock key to build >>> a kernel. :( >>> >>> Thank you for all your time, and consideration. >>> >>> --Chris >>> >>> _______________________________________________ >>> freebsd-stable@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >>> > >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" > > > > -- > Best regards, > Derek mailto:takeda@takeda.tk > > -- Look out for #1. Don't step in #2 either. > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 08:00:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 273EF6B5 for ; Sat, 24 Nov 2012 08:00:32 +0000 (UTC) (envelope-from takeda@takeda.tk) Received: from chinatsu.takeda.tk (takeda-1-pt.tunnel.tserv15.lax1.ipv6.he.net [IPv6:2001:470:c:16b::2]) by mx1.freebsd.org (Postfix) with ESMTP id EBB318FC17 for ; Sat, 24 Nov 2012 08:00:31 +0000 (UTC) Received: from takeda-ws.lan (takeda-ws.lan [10.0.0.3]) (authenticated bits=0) by chinatsu.takeda.tk (8.14.5/8.14.5) with ESMTP id qAO80Orp011806 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 24 Nov 2012 00:00:24 -0800 (PST) (envelope-from takeda@takeda.tk) Date: Sat, 24 Nov 2012 00:00:13 -0800 From: Derek Kulinski X-Priority: 3 (Normal) Message-ID: <1147916428.20121124000013@takeda.tk> To: "Chris H" Subject: Re: Where do I purchace an unlock code to build a custom kernel? In-Reply-To: <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.97.6 at chinatsu.takeda.tk X-Virus-Status: Clean Cc: bright@mu.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 08:00:32 -0000 Hi Chris, Friday, November 23, 2012, 11:50:16 PM, you wrote: > Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) > would "throw me a bone" if it were wrong. > Anyway, I'll take your advice. There are some architecture specific settings there, so it is best to actually do this and fail it early (well if you would do buildkernel it would be earlier :) than getting some strange errors. If you were thinking to just copy it to i386 directory, to save you future issues, I would recommend you to redo the config based on GENERIC in i386 directory. -- Best regards, Derek mailto:takeda@takeda.tk The Internet: where men are men, women are men, and children are FBI agents. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 08:26:47 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B0D4AA5 for ; Sat, 24 Nov 2012 08:26:47 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7ED9B8FC0C for ; Sat, 24 Nov 2012 08:26:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qAO8QbhP066870; Sat, 24 Nov 2012 19:26:37 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 24 Nov 2012 19:26:37 +1100 (EST) From: Ian Smith To: Morgan Reed Subject: Re: natd in a jail In-Reply-To: Message-ID: <20121124183549.R21191@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org, Dewayne Geraghty X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 08:26:47 -0000 On Sat, 24 Nov 2012 17:44:30 +1100, Morgan Reed wrote: > On Fri, Nov 23, 2012 at 5:16 PM, Morgan Reed wrote: > > So it turns out I'd not bought bpf into the jails, however even with > > that and raw_sockets enabled I'm still having no joy with natd. > > > > I've been looking at ipfw a bit today but I've run into an issue, > > loading ipfw_nat causes my kernel to instantly panic, I need to > > recompile with KDB and DDB turned on so I can actually catch the trace > > though... Might look at netgraph before going too far down that path. > > Rebuilt the kernel with option IPFIREWALL and friends turned on > (including IPFILTER_DEFAULT_TO_ACCEPT or whatever it is). Unless you needed to include FIREWALL_FORWARD, you really didn't need to build ipfw into the kernel, it's all loadable by module. No harm, but. > Throw ipfw_nat_load="YES" and ipdivert_load="YES" into > /boot/loader.conf so the modules are available for the jails. And with ipfw nat you won't be needing ipdivert. Again, no harm. > Run a quick and dirty ipfw script (running out of an 'up' script I > wrote into the OpenVPN config); > ipfw nat 1 config if tun0 reset same_ports deny_in > ipfw add 500 nat 1 ip from any to any via tun0 > > Works like a charm, just one last thing I'd like to get squared away > here though, currently OpenVPN is using a dynamically created tun > device, I'd like to have a static /dev/tun0 exist prior to the > /etc/rc.d/natd start launching (because as it is I have to restart > natd after the openvpn tunnel comes up), not sure what the best way to > achieve this is in a jailed environment though. If the address of the tunX interface is fixed in the jail, you can specify it by IP instead of the interface in the nat setup, like: ipfw nat 1 config ip $address same_ports deny_in ipfw add 500 nat 1 ip from any to any via $address Your use of 'reset' in nat config makes me wonder if it's a variable address though? If IP varies you will need to specify the interface. > The next trick will be migrating from my spaghetti script into rc > launched jails... cheers, Ian From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 08:28:52 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8399BBB5 for ; Sat, 24 Nov 2012 08:28:52 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-64-202.wavecable.com [24.113.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4E96D8FC08 for ; Sat, 24 Nov 2012 08:28:51 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qAO8Skk9012628; Sat, 24 Nov 2012 00:28:52 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qAO8Sfp3012624; Sat, 24 Nov 2012 00:28:41 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.64.202]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Sat, 24 Nov 2012 00:28:41 -0800 (PST) Message-ID: <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> In-Reply-To: <1147916428.20121124000013@takeda.tk> References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> Date: Sat, 24 Nov 2012 00:28:41 -0800 (PST) Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: "Chris H" To: "Derek Kulinski" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: bright@mu.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 08:28:52 -0000 > Hi Chris, > > Friday, November 23, 2012, 11:50:16 PM, you wrote: > >> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) >> would "throw me a bone" if it were wrong. >> Anyway, I'll take your advice. > > There are some architecture specific settings there, so it is best to > actually do this and fail it early (well if you would do buildkernel > it would be earlier :) than getting some strange errors. > > If you were thinking to just copy it to i386 directory, to save you > future issues, I would recommend you to redo the config based on > GENERIC in i386 directory. Understood. That's what I did (i386/GENERIC --> CUSTOM). I _knew_ there would be issue(s) otherwise. Thank you again for the advice. Looks to be working as expected. :) > > -- > Best regards, > Derek mailto:takeda@takeda.tk > > The Internet: where men are men, women are men, and children are FBI agents. > > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 10:17:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BA64555 for ; Sat, 24 Nov 2012 10:17:08 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id CB8778FC12 for ; Sat, 24 Nov 2012 10:17:07 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so12256381oag.13 for ; Sat, 24 Nov 2012 02:17:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2pW1VxTBMBaNCahoAL4sBh75DT7WAlaXRpwSjTjB7Gc=; b=WL5tpAAVSojxrJh6kk7iDU3WkFWifeBBXMZp+kwh96mY9GDH3rh4vk2VgrIylQywFa zSkORXQ9xWuJKuM/SejtMOyyYtlgPeABMXBNbbrUTiFCvrGeEsTQv+2RSfhV0SlA8B+5 gUVAN0O1cXlm2oaHHBYvNwKeOHL5XaaNWp6MoyRb1zOfaNpF05NvXWit5qPu0yVY2nJ5 yhH0TTq9N15kNVSTqhJEK7sHDAnnLd4MgMQfYACf2flAiPTWPw5FgS4JJQtfN+DOpEK5 haZQB89xTsjOUyR9q3esmi9wZLVfn6t7a6WFOiLuoj85R6uFTfbcQ8aurxkw+5ZqC4rJ Vqjg== Received: by 10.60.31.130 with SMTP id a2mr4952232oei.95.1353752227166; Sat, 24 Nov 2012 02:17:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.132.72 with HTTP; Sat, 24 Nov 2012 02:16:46 -0800 (PST) In-Reply-To: <20121124183549.R21191@sola.nimnet.asn.au> References: <20121124183549.R21191@sola.nimnet.asn.au> From: Morgan Reed Date: Sat, 24 Nov 2012 21:16:46 +1100 Message-ID: Subject: Re: natd in a jail To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 10:17:08 -0000 On Sat, Nov 24, 2012 at 7:26 PM, Ian Smith wrote: > Unless you needed to include FIREWALL_FORWARD, you really didn't need to > build ipfw into the kernel, it's all loadable by module. No harm, but. The ipfw_nat module was causing an instant panic at load and I was going to have to rebuild my kernel to debug that anyway, went with the sledgehammer approach and built it in, this box won't be doing anything else so it's no problem. > And with ipfw nat you won't be needing ipdivert. Again, no harm. Yeah, I didn't think it should be necessary but something was trying to load it from within the jails and throwing an error, probably the natd startup script, not sure why, I might do some digging if I get bored at some point. > If the address of the tunX interface is fixed in the jail, you can > specify it by IP instead of the interface in the nat setup, like: > > ipfw nat 1 config ip $address same_ports deny_in > ipfw add 500 nat 1 ip from any to any via $address > > Your use of 'reset' in nat config makes me wonder if it's a variable > address though? If IP varies you will need to specify the interface. Dynamically assigned IP address, I don't control the remote end of the tunnel, IP changes each time the tunnel connects. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:37:22 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 359B675 for ; Sat, 24 Nov 2012 12:37:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id DEDDB8FC13 for ; Sat, 24 Nov 2012 12:37:21 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 5F5655C37; Sat, 24 Nov 2012 13:37:20 +0100 (CET) Message-ID: <50B0BF88.4050105@FreeBSD.org> Date: Sat, 24 Nov 2012 13:37:28 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> In-Reply-To: <1353670641224-5763472.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:37:22 -0000 On 2012-11-23 12:37, Beeblebrox wrote: > I am doing a buildworld with clang on amd64 9.1-PRERELEASE #2 r242867. > In /etc/src.conf I have "WITHOUT_GCC= yes". Compile progresses up to below > then breaks: ... > lint: cannot exec /usr/obj/asp/src/tmp/usr/bin/cc: No such file or directory Currently, you cannot use WITHOUT_GCC without also setting WITH_CLANG_IS_CC. Some programs, like lint, are still hardcoded to run 'cc' for their processing, so if there is no 'cc' executable during the world stage, your build will fail. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:41:40 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86D3E7F6 for ; Sat, 24 Nov 2012 12:41:40 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3CF3E8FC12 for ; Sat, 24 Nov 2012 12:41:39 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 598DD5C37; Sat, 24 Nov 2012 13:41:38 +0100 (CET) Message-ID: <50B0C08A.1090209@FreeBSD.org> Date: Sat, 24 Nov 2012 13:41:46 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> In-Reply-To: <1353674282188-5763482.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:41:40 -0000 On 2012-11-23 13:38, Beeblebrox wrote: > Looks like I should have placed these in my /etc/src.conf: > WITH_CLANG= yes This is not strictly necessary, WITH_CLANG is already enabled by default. > WITH_CLANG_EXTRAS= yes In most cases, you will not need the llvm/clang extras, and they will add some build time. > WITH_CLANG_IS_CC= yes If you want to use WITHOUT_GCC, as you mentioned in your first post, you will indeed need this setting. > I don't believe I will need anything under /usr/src/tools. How can I disable > that in /etc/src.conf? The man page does not have that info. You cannot disable them, some of the tools under there are needed for buildworld. Others are just nice to have for specific jobs, like cleaning up old files, or regression tests. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:50:11 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26EB1B2 for ; Sat, 24 Nov 2012 12:50:11 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id D91668FC08 for ; Sat, 24 Nov 2012 12:50:10 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so10023578iec.13 for ; Sat, 24 Nov 2012 04:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Rj0a4e0DAxpwmKYt6ryWUeYWfcvLYhr5+7+hjrWOCBQ=; b=EYw2L5PizBSDITpL2XiPTfI+dYgE1RvFplyhMB7JiJdomNR4U4qKrBneqMitWp2rEl ar3UF5k45FjEGM6J4Gum8rZ3UpsYAZjJoOU6kKYE1GWFqMAXykaVpKaB4MkzuojaUhh7 P8/iuoovEoBZnGPv1v1blh2K6XteQB89DXrtW8N617XUZ0hpaiyEaskss42rMRoBjuQ8 3nudnIkk+fns+5sEYN9prQ0ouPO/j1Vv8SamOyLDTQePr1d0Xpf6/FzfXeJl7QuAcMcd BfVkExbscVvEi/IHribV/nww4+G6BErmdYwAtpeSA1r1Sfll401g2NyiCasrlHVuYk8w a9Rw== Received: by 10.50.196.133 with SMTP id im5mr6052677igc.61.1353761409789; Sat, 24 Nov 2012 04:50:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Sat, 24 Nov 2012 04:49:49 -0800 (PST) In-Reply-To: References: <20121124183549.R21191@sola.nimnet.asn.au> From: Morgan Reed Date: Sat, 24 Nov 2012 23:49:49 +1100 Message-ID: Subject: Re: natd in a jail To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:50:11 -0000 On Sat, Nov 24, 2012 at 9:16 PM, Morgan Reed wrote: >> And with ipfw nat you won't be needing ipdivert. Again, no harm. > > Yeah, I didn't think it should be necessary but something was trying > to load it from within the jails and throwing an error, probably the > natd startup script, not sure why, I might do some digging if I get > bored at some point. *facepalm* or I could just remove natd_enable from rc.conf since I don't need it anymore... From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:52:42 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 180F6327 for ; Sat, 24 Nov 2012 12:52:42 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id C3EE18FC13 for ; Sat, 24 Nov 2012 12:52:41 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 069A25C37; Sat, 24 Nov 2012 13:52:40 +0100 (CET) Message-ID: <50B0C31F.1050304@andric.com> Date: Sat, 24 Nov 2012 13:52:47 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> In-Reply-To: <1353678344136-5763503.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:52:42 -0000 On 2012-11-23 14:45, Beeblebrox wrote: > I am now stuck with trying to make this work. I am doing buildworld with > clang and ccache enabled. If you want to use clang in combination with ccache, you must at least set CCACHE_CPP2 to make it work. If you experience any issues with this setup, always try disabling ccache first, to see if the issues go away. In most cases, disabling ccache fixes the problems. > 1. I have to keep re-starting buildworld at different points of break. When > re-started the build continues past the last break-point and goes on to > break somewhere else. > 2. This continues until build gets to ===> usr.bin/ypwhich (all) and cannot > continue past the error. As in your first post, you are most likely doing "make -j X buildworld", and this can obscure the actual error(s), which occur long before the "ypwhich" message. You should save the entire log, and search backwards from the end for the actual error. If you can't find it, post the full log somewhere off-list. > 3. I disable ccache in /usr/local/etc/buildflags.conf and re-start the > build. Progresses upto: > sh /asp/src/tools/install.sh -s -o root -g wheel -m 444 libz.so.6 > /usr/obj/asp/src/lib32/usr/lib32 > ln -fs libz.so.6 /usr/obj/asp/src/lib32/usr/lib32/libz.so > > However, examining the contents after build-break of > /usr/obj/asp/src/lib32/usr/lib32/ shows libz.so.6 and its linked alias > libz.so. > I am not able to move any further without help because I cannot figure out > where the problem may be. This looks like there is a problem building the 32-bit compat libraries. What are your exact make.conf and src.conf settings? From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:53:15 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4712542C for ; Sat, 24 Nov 2012 12:53:15 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 073388FC08 for ; Sat, 24 Nov 2012 12:53:14 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so8804676iad.13 for ; Sat, 24 Nov 2012 04:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=5h3ZbGxQkz9kQowFdUWUO8NBdQww7qEwqNM/Ag2aS8g=; b=s6ayZ15+kfc8FyLZ2rDDRk9pemze75qpKM+uNEnrfymeAeF69ahUW2Ma0JG0eMADYT Lgcgy4jdOT0CLYppRMiCiNw0SuiZbODnMMolpZ0eEaXpuyb0jbqyCm/fIwKpmoPff3Kc TpiknK9sRnWtsxUlOafqkGZb7j1Fbxqxgi1047o4Zj7oo+s/zBgS0XaRM0V65ZkzC66Z yAEtmtcmtUhxmXxDj4ksWeta4DFtA0BQolKYDpA4MX1dG5wRaI+AwPfysNewyyE17hAV uNUNq8YHwy7HJpXWt/NHQKfbj0I62UNtroKqUvBXsySzw7LVy9snf6agWJ/SDi+SK3ws SjZg== Received: by 10.50.5.205 with SMTP id u13mr6239868igu.37.1353761594130; Sat, 24 Nov 2012 04:53:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Sat, 24 Nov 2012 04:52:53 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Sat, 24 Nov 2012 23:52:53 +1100 Message-ID: Subject: Re: natd in a jail To: Dewayne Geraghty , freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:53:15 -0000 On Sat, Nov 24, 2012 at 5:44 PM, Morgan Reed wrote: > Works like a charm, just one last thing I'd like to get squared away > here though, currently OpenVPN is using a dynamically created tun > device, I'd like to have a static /dev/tun0 exist prior to the > /etc/rc.d/natd start launching (because as it is I have to restart > natd after the openvpn tunnel comes up), not sure what the best way to > achieve this is in a jailed environment though. Scratch that, I definitely need a holiday... natd_enable removed from rc.conf, appropriate ipfw script being run by openvpn prior to dropping its privs (by way of the up directive) and it "just works" (tm) From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:55:45 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A88D779 for ; Sat, 24 Nov 2012 12:55:45 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id B837D8FC08 for ; Sat, 24 Nov 2012 12:55:44 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id BDD5E5C37; Sat, 24 Nov 2012 13:55:42 +0100 (CET) Message-ID: <50B0C3D6.5070308@andric.com> Date: Sat, 24 Nov 2012 13:55:50 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> In-Reply-To: <1353680064788-5763506.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:55:45 -0000 On 2012-11-23 15:14, Beeblebrox wrote: > Thanks for the suggestion. Build progressed a little further then had other > problem: > > ===> gnu/lib/libstdc++ (all) > building shared library libstdc++.so.6 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. I am not sure what causes this. Maybe strange CFLAGS in make.conf? Or is this still with ccache? > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [libstdc++.so.6] Error code 1 > Stop in /asp/src/gnu/lib/libstdc++. > *** [all] Error code 1 > Stop in /asp/src/gnu/lib. > *** [gnu/lib__L] Error code 1 > > Why is it building gcc4.2 ?? This is not gcc, it is libstdc++. Currently, there is no way to disable it, as many applications will still use it. After libc++ has matured enough, it can probably be moved to a compat port, but that will certainly not happen in the 9.x series. :) > Should I not be using WITH_CLANG_IS_CC= yes ? > Bummer... This setting should work just fine. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 12:57:44 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF8B9B4F for ; Sat, 24 Nov 2012 12:57:44 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9A58FC08 for ; Sat, 24 Nov 2012 12:57:44 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 95C335C37; Sat, 24 Nov 2012 13:57:43 +0100 (CET) Message-ID: <50B0C44F.4080509@FreeBSD.org> Date: Sat, 24 Nov 2012 13:57:51 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Beeblebrox Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> In-Reply-To: <1353708181062-5763657.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 12:57:45 -0000 On 2012-11-23 23:03, Beeblebrox wrote: > I went ahead and hacked gnu/lib/Makefile and changed to: > > if ${MK_CXX} != "no" > #SUBDIR+= libstdc++ libsupc++ > .endif Don't do that, it will not work. Parts of the system need GNU libstdc++ and libsupc++. > I then restarted buildworld. Next stop, new error: > > clang -m32 -march=k8 -DCOMPAT_32BIT -isystem > /usr/obj/asp/src/lib32/usr/include/ -L/usr/obj/asp/src/lib32/usr/lib32 > -B/usr/obj/asp/src/lib32/usr/lib32 -fpic -DPIC -O2 -pipe -DNDEBUG > -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -c > /asp/src/lib/libncp/ipx.c -o ipx.So > building shared library libncp.so.4 > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a shared > object. This is still the same problem as before, some of your object files were not created correctly. Most likely, there is something wrong with your make.conf and/or src.conf, please post them. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 13:18:55 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B737CBF5 for ; Sat, 24 Nov 2012 13:18:55 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8DDD48FC13 for ; Sat, 24 Nov 2012 13:18:55 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TcFdB-0000R2-G4 for freebsd-stable@freebsd.org; Sat, 24 Nov 2012 05:18:49 -0800 Date: Sat, 24 Nov 2012 05:18:49 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353763129490-5763756.post@n5.nabble.com> In-Reply-To: <50B0C44F.4080509@FreeBSD.org> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> <50B0C44F.4080509@FreeBSD.org> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 13:18:55 -0000 Hi Dimitry, I have been working at this for 6 hours today (I don't want to tell you how long I was at it yesterday). Thanks for your input / suggestions. I will try to answer all of them, please let me know if I forget something. 1. Fist the good news: I have just now finished buildworld with setting WITHOUT_GCC= yes and has WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes 2. First I tried to buildworld after disabling WITHOUT_GCC. * First I had ccache and threads enabled. The build progressed with the exact same errors as above (many start-stop-restarts) then finally broke. * I disabled ccache and threads, also removed /usr/obj/src. I restarted the build, it broke at (as above): building shared library libstdc++.so.6 3. Then I remembered that I had seen some ccache stuff flash by, despite the fact I had disabled it. So in /etc/make.conf I disabled the call to /usr/local/etc/buildflags.conf, cleaned /usr/obj/src and restarted the build (no ccache, no threads, gcc not disabled). This time it completd buildworld. What?? Why is buildflags.conf killing things? 4. Then I remembered something else: some of the source code seems to be hard-coded as /usr/src and not as {path} (my ports, source, ccache, distfiles are all on zpool/asp - I find it easier). I had observed in the past that that some source code which fails to compile will compile if I cd tu /ysr/src and re-run buildworld. The problem was that in /usr/local/etc/buildflags.conf I had for source: /asp/src | /asp/src/*{ which I changed to: /asp/src | /asp/src/* | /usr/src | /usr/src/*{ The build stopped several times, I re-saterted and later disabled threads and ccache. That is when buildworld finished successfully. Fianl /etc/src.conf settings: WITHOUT_GCC= yes WITH_CLANG= yes WITH_CLANG_EXTRAS= yes WITH_CLANG_IS_CC= yes 5. > You should save the entire log I don't know how to do this. 6. buildkernel also does not like ccache!! Thank you for your input and help... -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763756.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 13:19:28 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3F48CF7 for ; Sat, 24 Nov 2012 13:19:27 +0000 (UTC) (envelope-from morgan.s.reed@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA04B8FC12 for ; Sat, 24 Nov 2012 13:19:27 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so10047570iec.13 for ; Sat, 24 Nov 2012 05:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uSbrhXa6pmiPC4akP3qHVxIdtNXfchENUvuniY33BPE=; b=bJFIPdBND66j90ddNRFM0lhkQKvdQVk1O1MkT8sKsehZbVunGl8ogNeBXM1zkVCWLc UmpuT3/thF8e6GZJC1d1Mt8zYBW0pHP+a3cGZtQ7ikLubw4q+Utul8a78ryBh9+RScAa xlaVsmwzn5Qb6RjsZphsvx3uhUZ2TWgla0/VdvnwhEGkASTXBE58AYka5TEZY2ffoN0X ltjWjnjASAbfEE4JxooHxqhFA7N6jqxmL1aDh3GO0xFADWcxptJxTLvlNtAzVHptn5xC 5c+qHaTIR2WPR2mk166pnHbGbDPcLOWTm1L11YCg2L4pr2c2NveeWRQ69L6wt8XcKK42 t7SA== Received: by 10.50.222.233 with SMTP id qp9mr6121120igc.61.1353763167329; Sat, 24 Nov 2012 05:19:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.6.71 with HTTP; Sat, 24 Nov 2012 05:19:07 -0800 (PST) In-Reply-To: References: From: Morgan Reed Date: Sun, 25 Nov 2012 00:19:07 +1100 Message-ID: Subject: Re: natd in a jail To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 13:19:28 -0000 SOLVED: Thanks all for your assistance. SUMMARY: - Kernel rebuilt with option IPFIREWALL and friends turned on (not necessary if your ipfw modules work you should just be able to load them, mine didn't for reasons I don't really have the time or inclination to track down) - OpenVPN configurations modified to use a specific tun device ('device tun' directive replaced with 'device tun0') - OpenVPN configurations modified to run the following script prior to dropping privs (via the 'up' directive); /usr/local/etc/openvpn/up.sh --- ipfw -q flush pfw nat 1 config if tun0 reset same_ports deny_in ipfw add 500 nat 1 ip from any to any via tun0 --- This script assumes that option IPFILTER_DEFAULT_TO_ACCEPT or the equivalent sysctl frob is set, this is most probably *not* what you want to do in the "real world". Modify as needed, and be sure to set the permissions on the file appropriately as the script will be executed by root. A warning though; this is a total hack, the ipfw stuff should be moved to /etc/ipfw.rules or similar and processed by ipfw at boot but I'm not sure how it'll react if you try to do this config before the tun device is created, I expect it'll be unhappy so you'll need to create a static tun device for openvpn, this is the "right" way to do things but I'm being exceedingly lazy. The script above is a filthy hack, and potentially dangerous. - Normal requirements for gateway operation also apply here (which essentially means set gateway_enable=YES in rc.conf on the host and all router jails). From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 13:42:32 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 268AA499 for ; Sat, 24 Nov 2012 13:42:32 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id F1E468FC0C for ; Sat, 24 Nov 2012 13:42:31 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TcG07-0001aC-I6 for freebsd-stable@freebsd.org; Sat, 24 Nov 2012 05:42:31 -0800 Date: Sat, 24 Nov 2012 05:42:31 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353764551553-5763761.post@n5.nabble.com> In-Reply-To: <1353763129490-5763756.post@n5.nabble.com> References: <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> <50B0C44F.4080509@FreeBSD.org> <1353763129490-5763756.post@n5.nabble.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 13:42:32 -0000 I just finished installkernel + installworld - I'm up and running with world that has WITHOUT_GCC= yes!! Just for reference: I ran into this chronic error at installworld: (to paraphrase) can't find btx/btx loader something... I keep a separate section in my notes for chronic & recurring errors. So the fix is: cd /usr/src/sys/boot # make cd /usr/src # make installworld Thanks everyone... [SOLVED] -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763761.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 13:51:00 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E6766C7 for ; Sat, 24 Nov 2012 13:51:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D87578FC08 for ; Sat, 24 Nov 2012 13:50:59 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qAODouDm005584 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 24 Nov 2012 13:50:56 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qAODouDm005584 Authentication-Results: smtp.infracaninophile.co.uk/qAODouDm005584; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50B0D0C0.4070509@FreeBSD.org> Date: Sat, 24 Nov 2012 13:50:56 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: buildworld with clang breaks because no cc References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> <50B0C44F.4080509@FreeBSD.org> <1353763129490-5763756.post@n5.nabble.com> In-Reply-To: <1353763129490-5763756.post@n5.nabble.com> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig04A5EA9220890297ACB3893F" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 13:51:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig04A5EA9220890297ACB3893F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 24/11/2012 13:18, Beeblebrox wrote: > 5. > You should save the entire log > I don't know how to do this. See script(1) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig04A5EA9220890297ACB3893F 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 undefined - http://www.enigmail.net/ iEYEARECAAYFAlCw0MAACgkQ8Mjk52CukIyHIACgit9HsqtJ9hwNwTqBdEgQCnW1 Cb4An2y0D348CDc5UaWlust8uHIf7q8m =tJRA -----END PGP SIGNATURE----- --------------enig04A5EA9220890297ACB3893F-- From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 14:40:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06111E1 for ; Sat, 24 Nov 2012 14:40:05 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id D1F9F8FC0C for ; Sat, 24 Nov 2012 14:40:04 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TcGtn-0007GA-QU for freebsd-stable@freebsd.org; Sat, 24 Nov 2012 06:40:03 -0800 Date: Sat, 24 Nov 2012 06:40:03 -0800 (PST) From: Beeblebrox To: freebsd-stable@freebsd.org Message-ID: <1353768003809-5763771.post@n5.nabble.com> In-Reply-To: <50B050F2.4050609@gmail.com> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50AF88CF.6050601@gmail.com> <1353689801972-5763579.post@n5.nabble.com> <1353708181062-5763657.post@n5.nabble.com> <50B050F2.4050609@gmail.com> Subject: Re: buildworld with clang breaks because no cc MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 14:40:05 -0000 @ Dr. Seaman: Ahh yes, forgot about script. Thanks. @ Chuck So I hear you like spam. Hipster Monty Python talked about spam before it was cool: http://www.youtube.com/watch?v=anwy2MPT5RE Bonus: "The Lumberjack Song" is an alternative to the spam song: http://www.youtube.com/watch?feature=endscreen&NR=1&v=xToPCaNxaow -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-with-clang-breaks-because-no-cc-tp5763472p5763771.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 15:34:37 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE92FCE0 for ; Sat, 24 Nov 2012 15:34:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9082E8FC13 for ; Sat, 24 Nov 2012 15:34:37 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qAOFYNMh014198; Sat, 24 Nov 2012 08:34:23 -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 qAOFYKj9014195; Sat, 24 Nov 2012 08:34:21 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 24 Nov 2012 08:34:20 -0700 (MST) From: Warren Block To: Chris H Subject: Re: Where do I purchace an unlock code to build a custom kernel? In-Reply-To: <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> Message-ID: References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 24 Nov 2012 08:34:23 -0700 (MST) Cc: Derek Kulinski , bright@mu.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 15:34:38 -0000 On Sat, 24 Nov 2012, Chris H wrote: >> Hi Chris, >> >> Friday, November 23, 2012, 11:50:16 PM, you wrote: >> >>> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) >>> would "throw me a bone" if it were wrong. >>> Anyway, I'll take your advice. >> >> There are some architecture specific settings there, so it is best to >> actually do this and fail it early (well if you would do buildkernel >> it would be earlier :) than getting some strange errors. >> >> If you were thinking to just copy it to i386 directory, to save you >> future issues, I would recommend you to redo the config based on >> GENERIC in i386 directory. > > Understood. That's what I did (i386/GENERIC --> CUSTOM). > I _knew_ there would be issue(s) otherwise. > > Thank you again for the advice. Looks to be working as expected. :) Rather than copy and modify, a custom config can include the GENERIC config and override settings. That generally makes the custom config file smaller and easier to maintain: http://www.wonkity.com/~wblock/docs/html/kernelconfig.html From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 17:07:38 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A78FBCDD for ; Sat, 24 Nov 2012 17:07:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB788FC08 for ; Sat, 24 Nov 2012 17:07:37 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qAOH7UQ4069677; Sat, 24 Nov 2012 19:07:30 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.1 kib.kiev.ua qAOH7UQ4069677 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qAOH7Uf9069676; Sat, 24 Nov 2012 19:07:30 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 24 Nov 2012 19:07:30 +0200 From: Konstantin Belousov To: Dimitry Andric Subject: Re: buildworld with clang breaks because no cc Message-ID: <20121124170730.GF98247@kib.kiev.ua> References: <1353670641224-5763472.post@n5.nabble.com> <1353671378109-5763475.post@n5.nabble.com> <1353674282188-5763482.post@n5.nabble.com> <1353678344136-5763503.post@n5.nabble.com> <50AF7F2F.6050104@gmail.com> <1353680064788-5763506.post@n5.nabble.com> <50B0C3D6.5070308@andric.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oOB74oR0WcNeq9Zb" Content-Disposition: inline In-Reply-To: <50B0C3D6.5070308@andric.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-stable@freebsd.org, Beeblebrox X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 17:07:38 -0000 --oOB74oR0WcNeq9Zb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 24, 2012 at 01:55:50PM +0100, Dimitry Andric wrote: > On 2012-11-23 15:14, Beeblebrox wrote: > > Thanks for the suggestion. Build progressed a little further then had o= ther > > problem: > > > > =3D=3D=3D> gnu/lib/libstdc++ (all) > > building shared library libstdc++.so.6 > > /usr/obj/asp/src/tmp/usr/bin/ld: warning: creating a DT_TEXTREL in a sh= ared > > object. >=20 > I am not sure what causes this. Maybe strange CFLAGS in make.conf? Or > is this still with ccache? There are two usual causes for this error: 1. missed -fPIC when compiling some .c file 2. wrong assembler which uses non-pic safe relocations. I very much doubt that #2 is the cause. --oOB74oR0WcNeq9Zb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQsP7RAAoJEJDCuSvBvK1BCXUP+wcJjvIO4/PDj3FFb+0SO6H6 WjG2BxDMzPEmh3ydjOSxZv8XQS9I9UigpT9x0cldaNYYbAMFZfNJgRTeh+Sh0BMa Oi3lrQXllf0ZOW63bsip7ylfhX6Stkloo0C+bViGI/63UBMm/8gqBRWeil+YW+KO /dw+m7eye6FAs8EhBGDbiZLEv+WM9I5yay6EqNCLtKVq3WxluLCFdxXafZn6554w M6xpw8v5ihf8ZnNdQsXT6vOfm52JpN+TE4Sb5oH0jleLlDm811JuYoTtrdDRSjBQ D5Zdvc/BRIX7FMMiRTNdXobBnlWhdLBrEQ2d+XwfSDRoSHGAznfqKwyvg9aMb15y ndm4+A3DXkMeNbGyUL/l6kIqVp9RO/kJioX1VyHNBmhhePCE7E06LTPhB29Ll+EP uDHQsPEMussoEUlRijp67INcbutRLuLmTcs1ChAVWoorSgF6esMFZRglRUpAhmsF A2gn/cyoJAn5Rlv0Ei6BfBk8UwSAiH2y052LluOLgj8r1Vly2mgHYv39NMtAI3i3 9x+ji/EWdg9lMc6ZhOEEsZ8Nlat+tD/W6V/k3WTzICukoLEQryc9dpg5YqCf7kSE y6QVGSm3nfmvXiYzTEJiy4pCy6dR22lHnJpZEv5UbEawTg1WT357vT/ydrAZW3a/ cvsW4L9GPMF/WA3X/jXZ =NkjH -----END PGP SIGNATURE----- --oOB74oR0WcNeq9Zb-- From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 17:17:20 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B902FD1 for ; Sat, 24 Nov 2012 17:17:20 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 57C208FC13 for ; Sat, 24 Nov 2012 17:17:19 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TcJLy-0001QV-FK for freebsd-stable@freebsd.org; Sat, 24 Nov 2012 09:17:18 -0800 Date: Sat, 24 Nov 2012 09:17:18 -0800 (PST) From: Jakub Lach To: freebsd-stable@freebsd.org Message-ID: <1353777438466-5763805.post@n5.nabble.com> In-Reply-To: <20121124005546.GE36283@pol-server.leissner.se> References: <20121123112203.GL36283@pol-server.leissner.se> <50AF6B22.1060000@ose.nl> <20121124005546.GE36283@pol-server.leissner.se> Subject: Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 17:17:20 -0000 Is this what are you looking for? http://svnweb.freebsd.org/base/releng/8.3/UPDATING?view=log -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-go-back-from-X-Y-RELEASE-pZ-to-X-Y-RELEASE-tp5763474p5763805.html Sent from the freebsd-stable mailing list archive at Nabble.com. From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 17:47:59 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84ED5877 for ; Sat, 24 Nov 2012 17:47:59 +0000 (UTC) (envelope-from pol@leissner.se) Received: from mailgate.leissner.se (mailgate.leissner.se [212.3.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id 01CC68FC14 for ; Sat, 24 Nov 2012 17:47:57 +0000 (UTC) Received: from mailgate.leissner.se (localhost [127.0.0.1]) by mailgate.leissner.se (8.14.5/8.14.5) with ESMTP id qAOHluQn006313; Sat, 24 Nov 2012 18:47:56 +0100 (CET) (envelope-from pol@leissner.se) Received: (from uucp@localhost) by mailgate.leissner.se (8.14.5/8.14.5/Submit) id qAOHluRR006312; Sat, 24 Nov 2012 18:47:56 +0100 (CET) (envelope-from pol@leissner.se) Received: from pol.leissner.se(192.71.29.17), claiming to be "pol-server.leissner.se" via SMTP by mailgate.leissner.se, id smtpdEiVnYf; Sat Nov 24 18:47:52 2012 Received: from pol-server.leissner.se (localhost [127.0.0.1]) by pol-server.leissner.se (8.14.5/8.14.5) with ESMTP id qAOHlqED016769; Sat, 24 Nov 2012 18:47:52 +0100 (CET) (envelope-from pol@leissner.se) Received: (from pol@localhost) by pol-server.leissner.se (8.14.5/8.14.5/Submit) id qAOHlqiN016768; Sat, 24 Nov 2012 18:47:52 +0100 (CET) (envelope-from pol@leissner.se) X-Authentication-Warning: pol-server.leissner.se: pol set sender to pol@leissner.se using -f Date: Sat, 24 Nov 2012 18:47:52 +0100 From: Peter Olsson To: Jakub Lach Subject: Re: How go back from X.Y-RELEASE-pZ to X.Y-RELEASE? Message-ID: <20121124174752.GI36283@pol-server.leissner.se> References: <20121123112203.GL36283@pol-server.leissner.se> <50AF6B22.1060000@ose.nl> <20121124005546.GE36283@pol-server.leissner.se> <1353777438466-5763805.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1353777438466-5763805.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 17:47:59 -0000 On Sat, Nov 24, 2012 at 09:17:18AM -0800, Jakub Lach wrote: > Is this what are you looking for? > > http://svnweb.freebsd.org/base/releng/8.3/UPDATING?view=log Yes, thanks! -- Peter Olsson > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/How-go-back-from-X-Y-RELEASE-pZ-to-X-Y-RELEASE-tp5763474p5763805.html > Sent from the freebsd-stable mailing list archive at Nabble.com. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 17:50:46 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D6BDA3C for ; Sat, 24 Nov 2012 17:50:46 +0000 (UTC) (envelope-from chris#@1command.com) Received: from udns.ultimateDNS.NET (24-113-64-202.wavecable.com [24.113.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3AB8A8FC15 for ; Sat, 24 Nov 2012 17:50:45 +0000 (UTC) Received: from udns.ultimateDNS.NET (localhost [127.0.0.1]) by udns.ultimateDNS.NET (8.14.5/8.14.5) with ESMTP id qAOHogZu024250; Sat, 24 Nov 2012 09:50:48 -0800 (PST) (envelope-from chris#@1command.com) Received: (from www@localhost) by udns.ultimateDNS.NET (8.14.5/8.14.5/Submit) id qAOHoai5024244; Sat, 24 Nov 2012 09:50:36 -0800 (PST) (envelope-from chris#@1command.com) Received: from udns.ultimatedns.net ([24.113.64.202]) (UDNSMS authenticated user chrish) by ultimatedns.net with HTTP; Sat, 24 Nov 2012 09:50:36 -0800 (PST) Message-ID: In-Reply-To: References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> Date: Sat, 24 Nov 2012 09:50:36 -0800 (PST) Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: "Chris H" To: "Warren Block" User-Agent: UDNSMS/2.0.3 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Derek Kulinski , bright@mu.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 17:50:46 -0000 > On Sat, 24 Nov 2012, Chris H wrote: > >>> Hi Chris, >>> >>> Friday, November 23, 2012, 11:50:16 PM, you wrote: >>> >>>> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured config(8) >>>> would "throw me a bone" if it were wrong. Greetings, and thank you for your reply. >>>> Anyway, I'll take your advice. >>> >>> There are some architecture specific settings there, so it is best to >>> actually do this and fail it early (well if you would do buildkernel >>> it would be earlier :) than getting some strange errors. >>> >>> If you were thinking to just copy it to i386 directory, to save you >>> future issues, I would recommend you to redo the config based on >>> GENERIC in i386 directory. >> >> Understood. That's what I did (i386/GENERIC --> CUSTOM). >> I _knew_ there would be issue(s) otherwise. >> >> Thank you again for the advice. Looks to be working as expected. :) > > Rather than copy and modify, a custom config can include the GENERIC > config and override settings. That generally makes the custom config > file smaller and easier to maintain: > http://www.wonkity.com/~wblock/docs/html/kernelconfig.html Excellent advice. In fact I now feel fairly embarrassed, as your suggestion seems so _obvious_. :P Thanks, that will _definitely_ be my course of action, going forward (as will cross-compiling on my 6 core AMD64 for this k7) :) Best wishes. --Chris > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 23:19:28 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5072FEA6; Sat, 24 Nov 2012 23:19:28 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (smtp.digiware.nl [31.223.170.169]) by mx1.freebsd.org (Postfix) with ESMTP id BEE6F8FC08; Sat, 24 Nov 2012 23:19:27 +0000 (UTC) Received: from rack1.digiware.nl (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id B532215343E; Sun, 25 Nov 2012 00:19:01 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2U4KuzDZn6y2; Sun, 25 Nov 2012 00:19:01 +0100 (CET) Received: from [192.168.10.10] (vaio [192.168.10.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id BF93715343B; Sun, 25 Nov 2012 00:19:00 +0100 (CET) Message-ID: <50B155E9.3010505@digiware.nl> Date: Sun, 25 Nov 2012 00:19:05 +0100 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: Increasing the DMESG buffer.... References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-stable@freebsd.org, Ian Smith , Alexander Motin , Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 23:19:28 -0000 On 23-11-2012 1:20, Kevin Oberman wrote: > On Thu, Nov 22, 2012 at 2:49 PM, Gary Palmer wrote: >> On Thu, Nov 22, 2012 at 02:14:59PM -0800, Kevin Oberman wrote: >>> On Thu, Nov 22, 2012 at 2:05 PM, Adrian Chadd wrote: >>>> On 22 November 2012 06:30, Alexander Motin wrote: >>>> >>>>> Neither ICH, nor any other driver I know have amount of information >>>>> comparable to what HDA hardware provides. So the analogy is not good. >>>>> Respecting that most CODECs have no published datasheets, that information >>>>> is the only input for debugging. >>>>> >>>>> snd_hda also uses hw.snd.verbose=3. But it is used for even deeper driver >>>>> debugging. It also enables a lot of debugging in sound(4), that can be too >>>>> verbose for HDA debugging. >>>>> >>>>> I will recheck again how can it be reorganized, but I think that the real >>>>> problem is not in HDA. We need some way to structure and filter the output. >>>> >>>> I honestly would like to just see it spat out using a userland tool, >>>> rather than having the kernel print that level of topology data out. >>>> >>>> It's highly unlikely that a topology problem is going to cause a >>>> system to not boot, right? So the kernel itself doesn't need to be >>>> able to spit that data out. >>> >>> Maybe I'm missing something, but the data needed to adjust HDAC is >>> available from 'sysctl dev.hdaa'. I have not looked at the verbose >>> output in quite a while, but I think it is mstly or entirely hte >>> information in that and 'sysctl dev.hdac'. I never needed to look >>> elsewhere to get mine set up properly. >>> >>> Also, isn't the entire verbose boot captured in /var/run/dmesg? >> >> Only if the message buffer hasn't overflowed before the utility runs to >> populate the file > > Ouch! I did miss hte obvious. Thanks for pointing this out. > > So we need to either expand the default buffer (not something I would > want to do) or trim the verbosity of the verbose boot. > > Am I also missing an obvious reason most of the HDA output could not > be eliminated since it is available y sysctl? Reason I asked for how to set a bigger buffer was booting a serverboard verbose.... And there is so much pci stuff dumped that it ran out of space. Plenty of unknown devices..... There is no sound on this board. And usually that is the first thing that is asked for on this list, once one start reporting problems. --WjW From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 23:29:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A474721C for ; Sat, 24 Nov 2012 23:29:31 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4950E8FC1A for ; Sat, 24 Nov 2012 23:29:31 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id t11so2209685qaa.13 for ; Sat, 24 Nov 2012 15:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IrywRz0jy+cHCcY+OmUCVkRQcFOKXzdqjcU31vYUdnE=; b=LiaG/8uTQ2wiAwb+nsR6QnFGCriXkq79Lj1pbvi1uWRO+8D5+LM3zbK8ldRZaGrjp4 bYb/fIDuVxOGGmN+sWkmGvYNRUuzyFsVsNv7iMcTO+mHwh30qCoFyEJO7kLY14sgHEUl r5EsYvItviTlRkMCB34LMXbCK7jecLvbMJlFMuwAAKMV1G0I1iRn8rLNnkVifFtHVzvI zK+JZEdxZby7oZ5TV8iZ32XVeWW0WKW+mvewAEpNYoU4coM4sL/niHTaLPkWCtuIkA9r jHHPuWKSa8yIQY8vhgxtChC79skX3CyQkSY7X/49ov/es2nwb/dfn0EP0UbjukK9qeS9 MQhA== MIME-Version: 1.0 Received: by 10.229.137.131 with SMTP id w3mr1821677qct.40.1353799770381; Sat, 24 Nov 2012 15:29:30 -0800 (PST) Received: by 10.229.113.102 with HTTP; Sat, 24 Nov 2012 15:29:30 -0800 (PST) In-Reply-To: References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> Date: Sun, 25 Nov 2012 00:29:30 +0100 Message-ID: Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: Andreas Nilsson To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Warren Block , Derek Kulinski , bright@mu.org, FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 23:29:31 -0000 I full-heartedly agree that include-statement is good, but still $ wc -l /usr/src/sys/amd64/conf/MINI 174 /usr/src/sys/amd64/conf/MINI And this is just after removing network cards ( (usb)ethernet, (usb)wlan, raid drivers and firewire) for my pretty standard lenovo t510. There is so much in GENERIC today that seems to work just as well as modules. I guess one thread on a mailing list this summer tried to achieve a more modular config, which would make the include statement even more useful. Best regards Andreas On Sat, Nov 24, 2012 at 6:50 PM, Chris H wrote: > > On Sat, 24 Nov 2012, Chris H wrote: > > > >>> Hi Chris, > >>> > >>> Friday, November 23, 2012, 11:50:16 PM, you wrote: > >>> > >>>> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured > config(8) > >>>> would "throw me a bone" if it were wrong. > Greetings, and thank you for your reply. > >>>> Anyway, I'll take your advice. > >>> > >>> There are some architecture specific settings there, so it is best to > >>> actually do this and fail it early (well if you would do buildkernel > >>> it would be earlier :) than getting some strange errors. > >>> > >>> If you were thinking to just copy it to i386 directory, to save you > >>> future issues, I would recommend you to redo the config based on > >>> GENERIC in i386 directory. > >> > >> Understood. That's what I did (i386/GENERIC --> CUSTOM). > >> I _knew_ there would be issue(s) otherwise. > >> > >> Thank you again for the advice. Looks to be working as expected. :) > > > > Rather than copy and modify, a custom config can include the GENERIC > > config and override settings. That generally makes the custom config > > file smaller and easier to maintain: > > http://www.wonkity.com/~wblock/docs/html/kernelconfig.html > > Excellent advice. In fact I now feel fairly embarrassed, as your > suggestion seems so _obvious_. :P > > Thanks, that will _definitely_ be my course of action, going forward > (as will cross-compiling on my 6 core AMD64 for this k7) :) > > Best wishes. > > --Chris > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 23:43:33 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2DD76DA; Sat, 24 Nov 2012 23:43:33 +0000 (UTC) (envelope-from adrian.chadd@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 CC0898FC12; Sat, 24 Nov 2012 23:43:32 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so3925737wey.13 for ; Sat, 24 Nov 2012 15:43:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=M+vP8xvMBFLOAOKvuBFweb1EQNgN9KWkzyQqC2basOk=; b=RnhBogA7gzJ27Blp2snykiJCxB4Vy5H/mH7w9N8kE7/PaL5HbUhoXOrBeUGAfv+2XQ dfvHw8gp0RRa0FN4dmldx70dBuvH8aB5hBNjroBw61atmOlS4RWw+9H42RFeQgdDCkHl bnsxdsk1plr+gIS/x3wwSEB+pB/KqfG2UcwV55itljJGCbVSbKERPQAhrfOz290LF5if y/qIEVx1wDIpF2rVMw0gVAjg6u1ha1ZA6FaCxvB33opxggKJTUbSTL28SD7m3WHGB3a4 RI45nwJu5u0CRRcVgLzCVINbDZ/oQSimdAy1Ra2vWzHyb9Ghfp8BNcQ1kSBb4RnAabbg CDzg== MIME-Version: 1.0 Received: by 10.180.103.106 with SMTP id fv10mr11534464wib.19.1353800611554; Sat, 24 Nov 2012 15:43:31 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Sat, 24 Nov 2012 15:43:31 -0800 (PST) In-Reply-To: <50B155E9.3010505@digiware.nl> References: <50AD0E82.3070706@digiware.nl> <20121121194142.8c4bf7d1977f13801a021ccc@getmail.no> <20121122144400.M21191@sola.nimnet.asn.au> <20121122213328.J21191@sola.nimnet.asn.au> <50AE36FF.7080106@FreeBSD.org> <20121122224906.GE88593@in-addr.com> <50B155E9.3010505@digiware.nl> Date: Sat, 24 Nov 2012 15:43:31 -0800 X-Google-Sender-Auth: fLZddtWwLs4mvutlg8zw74UuAZU Message-ID: Subject: Re: Increasing the DMESG buffer.... From: Adrian Chadd To: Willem Jan Withagen Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, Ian Smith , Alexander Motin , Andriy Gapon , Ronald Klop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 23:43:33 -0000 I'm surprised it's not tunable via a kenv variable at boottime.. Adrian