From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 1 00:22:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A682F106566B; Sun, 1 Jan 2012 00:22:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 463418FC13; Sun, 1 Jan 2012 00:22:06 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so20141628vcb.13 for ; Sat, 31 Dec 2011 16:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=8TWkovOSxgj+5A7MckoAe8cQbMCPNWqVfFiyGH8p/Yg=; b=GuIes/TY4y7SMCCTXjYOwc53Z79nqhfIkn4Dy/rTGQO6RScHp7XJlJqJMKFzFgXMCH 2UklquIZ1EgMDmwsICNJvQoZu67+0ZZLyFZ3/WEECQuz1oEuda9eJYWmL+qgj8LRWjtT XuhT+Qc/hkRctL/z4Jkt2KN7geRpR1XR3e8TM= MIME-Version: 1.0 Received: by 10.52.180.98 with SMTP id dn2mr12303233vdc.83.1325377326498; Sat, 31 Dec 2011 16:22:06 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.36.5 with HTTP; Sat, 31 Dec 2011 16:22:06 -0800 (PST) In-Reply-To: <4EFF8449.1060800@freebsd.org> References: <4EFE5806.3090000@freebsd.org> <4EFF8449.1060800@freebsd.org> Date: Sat, 31 Dec 2011 16:22:06 -0800 X-Google-Sender-Auth: hBtBAf81miUTOgmeR2GFyHGkgOQ Message-ID: From: Adrian Chadd To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers , arrowdodger <6yearold@gmail.com> Subject: Re: Using symbolic execution for analyzing scheduler performance? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 00:22:07 -0000 On 31 December 2011 13:53, Julian Elischer wrote: >> Russian. > > > there are a lot of russian developers so you should be able to find someone > if you need explanations in Russian.. There's definitely plenty of russians. And they have a habit of doing cool things. So who knows, you may have come up with a good idea that just needs a bit of effort. Also, learning by "trial by fire" is an acceptable way to learn kernel development. :) (I did something similar, blame Julian.) Adrian From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 03:09:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DA05106566B for ; Tue, 3 Jan 2012 03:09:16 +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 43C0A8FC0C for ; Tue, 3 Jan 2012 03:09:15 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id q032PkTG025445 for ; Mon, 2 Jan 2012 21:09:15 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa01.fnfis.com with ESMTP id 123nd48hxk-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Mon, 02 Jan 2012 21:09:15 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 2 Jan 2012 21:09:14 -0600 From: Devin Teske To: Date: Mon, 2 Jan 2012 19:09:17 -0800 Message-ID: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AczJxCTnzK7up4c3SVqoIWvHs7OIgA== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-02_08:2012-01-02, 2012-01-02, 1970-01-01 signatures=0 Cc: Dave Robison , Devin Teske Subject: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 03:09:16 -0000 Hi fellow -hackers, I'd like to announce the release of a major new revision (4.0) of my FreeBSD setup utility "host-setup". http://druidbsd.sourceforge.net/ Direct Link: http://druidbsd.sourceforge.net/download/host-setup.txt NOTE: Make sure to hit "refresh" to "defeat the cache" Major highlights of this version are listed on the druidbsd homepage. For those unfamiliar with my "host-setup", it's a manly shell script designed to make it super-easy to configure the following: 1. Timezone 2. Hostname/Domain 3. Network Interface Settings 4. Default Router/Gateway 5. DNS nameservers All from an easy-to-use dialog(1) or Xdialog(1)* interface * Fully compatible and tested -- simply pass `-X' while in a usable X environment -- Devin P.S. Feedback most certainly is welcomed! _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 11:59:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 499E1106564A for ; Tue, 3 Jan 2012 11:59:20 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by mx1.freebsd.org (Postfix) with ESMTP id C84268FC19 for ; Tue, 3 Jan 2012 11:59:19 +0000 (UTC) Received: from bolha.lvs.iif.hu (bolha.lvs.iif.hu [193.225.14.181]) by mail.ki.iif.hu (Postfix) with ESMTP id 8DD948791E; Tue, 3 Jan 2012 12:59:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bolha.lvs.iif.hu Received: from mail.ki.iif.hu ([IPv6:::ffff:193.6.222.241]) by bolha.lvs.iif.hu (bolha.lvs.iif.hu [::ffff:193.225.14.72]) (amavisd-new, port 10024) with ESMTP id ZXrwR2vUJxMY; Tue, 3 Jan 2012 12:59:11 +0100 (CET) Received: by mail.ki.iif.hu (Postfix, from userid 9002) id C927D87919; Tue, 3 Jan 2012 12:59:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id C214087915; Tue, 3 Jan 2012 12:59:11 +0100 (CET) Date: Tue, 3 Jan 2012 12:59:11 +0100 (CET) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: Devin Teske In-Reply-To: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> Message-ID: References: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> 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-hackers@freebsd.org, Dave Robison , Devin Teske Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 11:59:20 -0000 Hi Devin, I had a look at the code. It is very nice, however there are same missing elements: - IPv6 support - VLAN tagging support - creation/deleting Best Regards, Janos Mohacsi Head of HBONE+ project Network Engineer, Deputy Director of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882 On Mon, 2 Jan 2012, Devin Teske wrote: > Hi fellow -hackers, > > I'd like to announce the release of a major new revision (4.0) of my FreeBSD > setup utility "host-setup". > > http://druidbsd.sourceforge.net/ > > Direct Link: http://druidbsd.sourceforge.net/download/host-setup.txt > > NOTE: Make sure to hit "refresh" to "defeat the cache" > > Major highlights of this version are listed on the druidbsd homepage. > > For those unfamiliar with my "host-setup", it's a manly shell script designed to > make it super-easy to configure the following: > 1. Timezone > 2. Hostname/Domain > 3. Network Interface Settings > 4. Default Router/Gateway > 5. DNS nameservers > > All from an easy-to-use dialog(1) or Xdialog(1)* interface > > * Fully compatible and tested -- simply pass `-X' while in a usable X > environment > -- > Devin > > P.S. Feedback most certainly is welcomed! > > _____________ > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 16:23:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03EED1065675 for ; Tue, 3 Jan 2012 16:23:47 +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 BEE6B8FC15 for ; Tue, 3 Jan 2012 16:23:46 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q03GJpEn028845; Tue, 3 Jan 2012 10:23:45 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com with ESMTP id 12453k009m-35 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 03 Jan 2012 10:23:45 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 3 Jan 2012 10:23:08 -0600 From: Devin Teske To: "'Mohacsi Janos'" References: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> In-Reply-To: Date: Tue, 3 Jan 2012 08:23:13 -0800 Message-ID: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQKOg4jKUQTzOzXp1LMgYvrVhv3QkgHoxJkqlGgYF2A= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-03_03:2012-01-03, 2012-01-03, 1970-01-01 signatures=0 Cc: freebsd-hackers@freebsd.org, 'Dave Robison' , 'Devin Teske' Subject: RE: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 16:23:47 -0000 > -----Original Message----- > From: Mohacsi Janos [mailto:mohacsi@niif.hu] > Sent: Tuesday, January 03, 2012 3:59 AM > To: Devin Teske > Cc: freebsd-hackers@freebsd.org; Dave Robison; Devin Teske > Subject: Re: [ANN] host-setup 4.0 released > > Hi Devin, > I had a look at the code. It is very nice, Thank you. > however there are same missing > elements: > - IPv6 support Open to suggestions. Maybe adding a "ipaddr6" below "ipaddr" in the interface configuration menu. Also, do you happen to know what the RFC number is for IPv6 address format? I need to know all the special "features" (for example, I know you can specify "::1" for localhost, but can you simply omit octets at-will? e.g., ::ff:12:00::: ?) > - VLAN tagging support - creation/deleting How is that done these days? and how might we present it in the user interface? -- Devin > > Best Regards, > > Janos Mohacsi > Head of HBONE+ project > Network Engineer, Deputy Director of Network Planning and Projects > NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 > 6F64 7B00 70EF 9882 > > On Mon, 2 Jan 2012, Devin Teske wrote: > > > Hi fellow -hackers, > > > > I'd like to announce the release of a major new revision (4.0) of my > > FreeBSD setup utility "host-setup". > > > > http://druidbsd.sourceforge.net/ > > > > Direct Link: http://druidbsd.sourceforge.net/download/host-setup.txt > > > > NOTE: Make sure to hit "refresh" to "defeat the cache" > > > > Major highlights of this version are listed on the druidbsd homepage. > > > > For those unfamiliar with my "host-setup", it's a manly shell script > > designed to make it super-easy to configure the following: > > 1. Timezone > > 2. Hostname/Domain > > 3. Network Interface Settings > > 4. Default Router/Gateway > > 5. DNS nameservers > > > > All from an easy-to-use dialog(1) or Xdialog(1)* interface > > > > * Fully compatible and tested -- simply pass `-X' while in a usable X > > environment > > -- > > Devin > > > > P.S. Feedback most certainly is welcomed! > > > > _____________ > > The information contained in this message is proprietary and/or confidential. If > you are not the intended recipient, please: (i) delete the message and all copies; > (ii) do not disclose, distribute or use the message in any manner; and (iii) notify > the sender immediately. In addition, please be aware that any message > addressed to our domain is subject to archiving and review by persons other than > the intended recipient. Thank you. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 17:14:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D76D4106566B; Tue, 3 Jan 2012 17:14:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id AD9068FC16; Tue, 3 Jan 2012 17:14:02 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 65D8746B3B; Tue, 3 Jan 2012 12:14:02 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C3FE9B91E; Tue, 3 Jan 2012 12:14:01 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Tue, 3 Jan 2012 12:13:54 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <4E3CC033.6070604@rawbw.com> <4E3D808F.1030101@rawbw.com> <201108160925.20568.jhb@freebsd.org> In-Reply-To: <201108160925.20568.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201031213.54336.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 03 Jan 2012 12:14:01 -0500 (EST) Cc: Yuri , Alexander Best Subject: Re: top(1) loses process user time count when threads end X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:14:02 -0000 On Tuesday, August 16, 2011 9:25:20 am John Baldwin wrote: > On Saturday, August 06, 2011 1:57:35 pm Yuri wrote: > > On 08/06/2011 02:11, Alexander Best wrote: > > > On Fri Aug 5 11, Yuri wrote: > > >> I have the process that first runs in 3 threads but later two active > > >> threads exit. > > >> > > >> top(1) shows this moment this way (1 sec intervals): > > >> 30833 yuri 3 76 0 4729M 4225M nanslp 4 0:32 88.62% app > > >> 30833 yuri 3 76 0 4729M 4225M nanslp 6 0:34 90.92% app > > >> 30833 yuri 1 96 0 4729M 4225M CPU1 1 0:03 1.17% app > > >> 30833 yuri 1 98 0 4729M 4226M CPU1 1 0:04 12.89% app > > >> > > >> Process time goes down: 0:34 -> 0:03. Also WCPU goes down 90.92% -> > > >> 1.17% even though this process is CPU bound and does intense things > > >> right after threads exit. > > >> > > >> getrusage(2) though, called in the process, shows the correct user time. > > >> > > >> I think this is the major bug in the process time accounting. > > > could you check, whether kern/128177 or kern/140892 describe your situation? > > > > I have ULE scheduler. kern/128177 talks about single thread with ULE > > scheduler, and my issue is with threads. So I am not sure if it is > > related. There have been no motion on kern/128177 since Feb 9, 2009. > > kern/140892 is probably the same as mine. > > > > In any case, both these PRs have to be fixed since they are very user > > visible, not just some obscure issues. Actually, I now think I know what this is. This is probably fixed now by the kernel changes in revision 188764 and my changes to top in 224062. I think what happened before is that top(1) "lost" the the runtime of exited threads because it used to sum up the runtime of the currently executing threads to get the process' runtime. Now it will use the kernel's value for the process runtime which should include both exited threads and currently running threads. I can't tell how recent your kernel/world are though from your message to see if you have both of these changes. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 17:21:00 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7936E106564A for ; Tue, 3 Jan 2012 17:21:00 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 346818FC20 for ; Tue, 3 Jan 2012 17:20:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjQPAB4xA0+DaFvO/2dsb2JhbABEggWDC6hVgXIBAQEEAQEBICsgCwwPEQQBAQECAg0WAwIpAQkVCQgGCAcEARwEh2GkIJEWgS+JSoEWBIg3iiaCJZJS X-IronPort-AV: E=Sophos;i="4.71,450,1320642000"; d="scan'208";a="152340998" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 03 Jan 2012 11:52:19 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 852BFB3F0F; Tue, 3 Jan 2012 11:52:19 -0500 (EST) Date: Tue, 3 Jan 2012 11:52:19 -0500 (EST) From: Rick Macklem To: Devin Teske Message-ID: <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692) Cc: freebsd-hackers@freebsd.org, Dave Robison , Devin Teske , Mohacsi Janos Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:21:00 -0000 David Teske wrote: > > -----Original Message----- > > From: Mohacsi Janos [mailto:mohacsi@niif.hu] > > Sent: Tuesday, January 03, 2012 3:59 AM > > To: Devin Teske > > Cc: freebsd-hackers@freebsd.org; Dave Robison; Devin Teske > > Subject: Re: [ANN] host-setup 4.0 released > > > > Hi Devin, > > I had a look at the code. It is very nice, > > Thank you. > > > > however there are same missing > > elements: > > - IPv6 support > > Open to suggestions. > > Maybe adding a "ipaddr6" below "ipaddr" in the interface configuration > menu. > > Also, do you happen to know what the RFC number is for IPv6 address > format? I > need to know all the special "features" (for example, I know you can > specify > "::1" for localhost, but can you simply omit octets at-will? e.g., > ::ff:12:00::: > ?) > The basics are in RFC4291, but I think that inet_pton(3) knows how to deal with it. (I think "::" can be used once to specify the longest # of 16bit fields that are all zeros.) After inet_pton() has translated it to a binary address, then the macros in sys/netinet6/in6.h can be used to determine if the address is a loopback, etc. I'm no ip6 guy by any means, so others, please correct/improve on this, as required. rick > > > - VLAN tagging support - creation/deleting > > How is that done these days? and how might we present it in the user > interface? > -- > Devin > > > > > > Best Regards, > > > > Janos Mohacsi > > Head of HBONE+ project > > Network Engineer, Deputy Director of Network Planning and Projects > > NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 > > 6F64 7B00 70EF 9882 > > > > On Mon, 2 Jan 2012, Devin Teske wrote: > > > > > Hi fellow -hackers, > > > > > > I'd like to announce the release of a major new revision (4.0) of > > > my > > > FreeBSD setup utility "host-setup". > > > > > > http://druidbsd.sourceforge.net/ > > > > > > Direct Link: > > > http://druidbsd.sourceforge.net/download/host-setup.txt > > > > > > NOTE: Make sure to hit "refresh" to "defeat the cache" > > > > > > Major highlights of this version are listed on the druidbsd > > > homepage. > > > > > > For those unfamiliar with my "host-setup", it's a manly shell > > > script > > > designed to make it super-easy to configure the following: > > > 1. Timezone > > > 2. Hostname/Domain > > > 3. Network Interface Settings > > > 4. Default Router/Gateway > > > 5. DNS nameservers > > > > > > All from an easy-to-use dialog(1) or Xdialog(1)* interface > > > > > > * Fully compatible and tested -- simply pass `-X' while in a > > > usable X > > > environment > > > -- > > > Devin > > > > > > P.S. Feedback most certainly is welcomed! > > > > > > _____________ > > > The information contained in this message is proprietary and/or > confidential. If > > you are not the intended recipient, please: (i) delete the message > > and all > copies; > > (ii) do not disclose, distribute or use the message in any manner; > > and (iii) > notify > > the sender immediately. In addition, please be aware that any > > message > > addressed to our domain is subject to archiving and review by > > persons other > than > > the intended recipient. Thank you. > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to > > > "freebsd-hackers-unsubscribe@freebsd.org" > > > > > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) > delete the message and all copies; (ii) do not disclose, distribute or > use the message in any manner; and (iii) notify the sender > immediately. In addition, please be aware that any message addressed > to our domain is subject to archiving and review by persons other than > the intended recipient. Thank you. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 17:49:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0D5D106567B for ; Tue, 3 Jan 2012 17:49:33 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9A1C8FC19 for ; Tue, 3 Jan 2012 17:49:33 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so19010956obb.13 for ; Tue, 03 Jan 2012 09:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=knxktRPJ4ZatLCXUUMWli1QmCOWK9G1ItX2a4moGLvA=; b=YhqhOi0qp1+fJ6UXciDBUkCKOnY9oyqxiZ901RRbJaENkW+a3b99o/FvmwGAAMEWs0 pJiDFRIzQ0IpKxTvSfZ/ZBosyIgQkNymi+QWOXpoB8XSUqtL85ivVTmqrcear4BgUZTx 4Rqa0RLJitjUFhfg5oqMnphiK/BZ6xIRDxS78= MIME-Version: 1.0 Received: by 10.182.1.8 with SMTP id 8mr45288739obi.11.1325612973115; Tue, 03 Jan 2012 09:49:33 -0800 (PST) Received: by 10.182.152.6 with HTTP; Tue, 3 Jan 2012 09:49:33 -0800 (PST) In-Reply-To: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> References: <047901ccc9c5$15395180$3fabf480$@fisglobal.com> <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> Date: Tue, 3 Jan 2012 09:49:33 -0800 Message-ID: From: Garrett Cooper To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Dave Robison , Devin Teske , Mohacsi Janos Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:49:34 -0000 On Tue, Jan 3, 2012 at 8:23 AM, Devin Teske wro= te: >> -----Original Message----- >> From: Mohacsi Janos [mailto:mohacsi@niif.hu] >> Sent: Tuesday, January 03, 2012 3:59 AM >> To: Devin Teske >> Cc: freebsd-hackers@freebsd.org; Dave Robison; Devin Teske >> Subject: Re: [ANN] host-setup 4.0 released >> >> Hi Devin, >> =A0 =A0 =A0 I had a look at the code. It is very nice, > > Thank you. > > >> however there are same missing >> elements: >> =A0 =A0 =A0 - IPv6 support > > Open to suggestions. > > Maybe adding a "ipaddr6" below "ipaddr" in the interface configuration me= nu. > > Also, do you happen to know what the RFC number is for IPv6 address forma= t? I > need to know all the special "features" (for example, I know you can spec= ify > "::1" for localhost, but can you simply omit octets at-will? e.g., ::ff:1= 2:00::: > ?) > > >> =A0 =A0 =A0 - VLAN tagging support - creation/deleting > > How is that done these days? and how might we present it in the user inte= rface? http://www.cyberciti.biz/faq/howto-configure-freebsd-vlans-with-ifconfi= g-command/ Adding a means to create lagged interfaces might be a good idea, but that's also more complicated than setting up a vlan interface. The problem from a user perspective with how we present vlans in FreeBSD is that it isn't tied directly to an interface, so it's confusing for newbies when they're trying to grok how vlans work. In general you have a couple properties to make the user aware of: 1. My parent interface. 2. My vlan tag. 3. Other good stuff like MTU, HW Filters (which I've never used), HW TSO, etc. MTU is also kind of tricky because you can set a vlan interface's MTU to something greater than the MTU of the lower interface and things won't fail properly IIRC (or maybe that was just a bug in FreeNAS.. I forget). Cheers, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 17:59:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87A80106564A for ; Tue, 3 Jan 2012 17:59:30 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 502C28FC08 for ; Tue, 3 Jan 2012 17:59:30 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so19025599obb.13 for ; Tue, 03 Jan 2012 09:59:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=hQE+4v34jFvKkW4UcrXgn27OixM3MXm/9VukXnTPWSs=; b=inhKacs9CpRpXW34GX+n1ZPh1lF1/pbQA3anYbzoRqjZwbIioCWmKC71Kt+H9IXV00 KL2XC2SNmUo2BLLuxhjlqoqPLQCoJf+BHSz6i+I935OU8pTYkFKsoHt9pF+YO+jEh2jZ cjglTkxyvKSQRh0Wg/NPjv/8t3yGXrN9PDzRY= MIME-Version: 1.0 Received: by 10.182.46.68 with SMTP id t4mr29164190obm.41.1325613569754; Tue, 03 Jan 2012 09:59:29 -0800 (PST) Received: by 10.182.152.6 with HTTP; Tue, 3 Jan 2012 09:59:29 -0800 (PST) In-Reply-To: <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> Date: Tue, 3 Jan 2012 09:59:29 -0800 Message-ID: From: Garrett Cooper To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Dave Robison , Devin Teske , Devin Teske , Mohacsi Janos Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 17:59:30 -0000 On Tue, Jan 3, 2012 at 8:52 AM, Rick Macklem wrote: > David Teske wrote: >> > -----Original Message----- >> > From: Mohacsi Janos [mailto:mohacsi@niif.hu] >> > Sent: Tuesday, January 03, 2012 3:59 AM >> > To: Devin Teske >> > Cc: freebsd-hackers@freebsd.org; Dave Robison; Devin Teske >> > Subject: Re: [ANN] host-setup 4.0 released >> > >> > Hi Devin, >> > =A0 =A0 I had a look at the code. It is very nice, >> >> Thank you. >> >> >> > however there are same missing >> > elements: >> > =A0 =A0 - IPv6 support >> >> Open to suggestions. >> >> Maybe adding a "ipaddr6" below "ipaddr" in the interface configuration >> menu. >> >> Also, do you happen to know what the RFC number is for IPv6 address >> format? I >> need to know all the special "features" (for example, I know you can >> specify >> "::1" for localhost, but can you simply omit octets at-will? e.g., >> ::ff:12:00::: >> ?) >> > The basics are in RFC4291, but I think that inet_pton(3) knows how to > deal with it. (I think "::" can be used once to specify the longest # > of 16bit fields that are all zeros.) > > After inet_pton() has translated it to a binary address, then the macros > in sys/netinet6/in6.h can be used to determine if the address is a loopba= ck, etc. > > I'm no ip6 guy by any means, so others, please correct/improve on this, a= s required. '::' can also be omitted as a form of compression (unless it's '::'). An example of IPv6 compression follows: '::' is the same as the following, uncompressed: '0000:0000:0000:0000:0000:0000' (assuming I got my double octets right) There are a lot more RFCs one can pore over to try and determine how IPv6 addressing works, but bottom line is (as I discovered): 1. Square brackets aren't necessary, except when you need to distinguish a port from an IPv6 address. 2. Compression is nice. 3. There's a rule of thumb for how to determine addresses, prefixing, etc (I never fully figured out the rules). 4. Prefixing the IPv6 address with fe80: generally means it's an IPv4 -> IPv6 address (IIRC). Other than that, I get lost because there isn't an IPv6 for dummies book (:P) out yet, the documents I've found in the past have been less than helpful, and the RFCs are usually outdated, or I have to jump through 3-4 RFCs to maybe get the information I need. Cheers, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 18:01:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA429106564A for ; Tue, 3 Jan 2012 18:01:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 58AE78FC12 for ; Tue, 3 Jan 2012 18:01:15 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q03I19Jn056249 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 3 Jan 2012 18:01:10 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk q03I19Jn056249 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325613671; bh=c2vSz4pXXPaWs75wFttoFUe3RcDKkms3eAjf6662DLU=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=kEpPpJPtWwmiJwuYvI6kUDNWCDsoLGkkKchIYm+nOd/d8iUHA8AsFb5d5mnx/aJGe W+Vj7abJRGzu507FTh727povben7LBgMEVnFpEKjbLZHmpxMzhahsrHd0kyUkGRy+j qNbJhz/VYNg0gkj4JJVqwDF3TvQbrIAmNxiUN0PI= Message-ID: <4F03425C.6040104@infracaninophile.co.uk> Date: Tue, 03 Jan 2012 18:01:00 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7948054E1E4628BD4CCF03D2" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:01:16 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7948054E1E4628BD4CCF03D2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/01/2012 16:52, Rick Macklem wrote: > The basics are in RFC4291, but I think that inet_pton(3) knows how to > deal with it. (I think "::" can be used once to specify the longest # > of 16bit fields that are all zeros.) RFC 4291 has a basic description of the textual representation of IPv6 addresses, but it is ambiguous: there are several different ways to present the same address according to the RFC 4291 rules. inet_pton(3) follows RFC 5952 which is a superset of the 4291 rules, only allowing a single, unambiguous representation for each IPv6 number. > After inet_pton() has translated it to a binary address, then the macro= s > in sys/netinet6/in6.h can be used to determine if the address is a loop= back, etc. While 5952 describes how to correctly present an IPv6 address, there's still lots of important other stuff in 4291. For instance bit 70 in an IPv6 address flags that the address is derived from a number hardwired into the interface -- typically the ethernet MAC address, as is commonly done for SLAAC (StateLess Address Autoconfiguration: RFC 4862, rtsold(8), rtadvd(8)). So an arbitrarily invented address should have that bit set to zero. Bit 71 is also special, indicating manycast vs unicast, and should also be zero for the vast majority of uses. See http://www.infracaninophile.co.uk/articles/hotchpotch.html#rand-aaaa.pl for some perl code that operates in this area. Also of interest: RFC 5156 which lists IPv6 address ranges dedicated to special purpose usages, and RFC 4193 which roughly is the IPv6 equivalent to RFC 1918, but somewhat more complicated. You might find https://www.sixxs.net/tools/grh/ula/ relevant too, although actually using that as a registry is pretty pointless. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7948054E1E4628BD4CCF03D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8DQmQACgkQ8Mjk52CukIxmogCfZ8ZflIBKLEcdwO+KDgKCkh92 Hu8AnjMnInGGOB/d07duUWMLV8Sz45xv =ofZl -----END PGP SIGNATURE----- --------------enig7948054E1E4628BD4CCF03D2-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 18:07:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DD5C1065672 for ; Tue, 3 Jan 2012 18:07:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C68E78FC17 for ; Tue, 3 Jan 2012 18:07:14 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q03I7BVZ056356 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 3 Jan 2012 18:07:11 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk q03I7BVZ056356 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325614031; bh=4vJZ/f71Fbla0rYZ6n1KWR/1WS1XDEh3WoBYnFlz5Ew=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=rvYMHKTWMsqdMaiUPHWgNwmeo2XEpX5tPiQyk7/DwSq5hlxnSXggQFbZN5or1QLXL 3PAJiUFurkIhB9FrnXz/ODShTjLyajoOWhAKLuc+43SvZZfAqOmzTaZS7Z/IIEejFv 0IxLR0xOEVReXpz9qBKwb5/kyK2h0BGFKX+W/fx4= Message-ID: <4F0343CE.2080500@infracaninophile.co.uk> Date: Tue, 03 Jan 2012 18:07:10 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7790F2EE7537341E5D767373" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:07:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7790F2EE7537341E5D767373 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/01/2012 17:59, Garrett Cooper wrote: > 4. Prefixing the IPv6 address with fe80: generally means it's an IPv4 > -> IPv6 address (IIRC). Nope. That's a link-local address. Any NIC can configure itself with and address using that prefix and a host part generated from the MAC address completely automatically, and thus communicate on any locally attached network. (See RFC 5156 for the gory details.) IPv4 mapped addresses are like this: ::ffff:192.0.2.0 (or you can express the 32 bits of the IPv4 address as two colon-separated hex strings in the usual IPv6 idiom.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig7790F2EE7537341E5D767373 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8DQ88ACgkQ8Mjk52CukIwU8QCfQQxT2oLkD3EJonhvL5hxGeeI cBYAn2D4R3ES9KfjOMnn79C8yLIEyyZo =XxBt -----END PGP SIGNATURE----- --------------enig7790F2EE7537341E5D767373-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 18:11:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1E2D106564A for ; Tue, 3 Jan 2012 18:11:25 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id B575C8FC0C for ; Tue, 3 Jan 2012 18:11:22 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q03HQ5KH032231; Tue, 3 Jan 2012 12:11:21 -0600 Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa02.fnfis.com with ESMTP id 1245hc8c0v-15 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 03 Jan 2012 12:11:20 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 3 Jan 2012 12:11:03 -0600 From: Devin Teske To: "'Matthew Seaman'" , References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> <4F0343CE.2080500@infracaninophile.co.uk> In-Reply-To: <4F0343CE.2080500@infracaninophile.co.uk> Date: Tue, 3 Jan 2012 10:11:04 -0800 Message-ID: <04d901ccca43$126af200$3740d600$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGajmIkH4RG/oPrgnEQQ2gcK1Qw3AIVGeTRAdH7AQICSvFsf5Yt2NjQ Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-03_03:2012-01-03, 2012-01-03, 1970-01-01 signatures=0 Cc: Subject: RE: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:11:26 -0000 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- > hackers@freebsd.org] On Behalf Of Matthew Seaman > Sent: Tuesday, January 03, 2012 10:07 AM > To: freebsd-hackers@freebsd.org > Subject: Re: [ANN] host-setup 4.0 released > > On 03/01/2012 17:59, Garrett Cooper wrote: > > 4. Prefixing the IPv6 address with fe80: generally means it's an IPv4 > > -> IPv6 address (IIRC). > > Nope. That's a link-local address. Any NIC can configure itself with and address > using that prefix and a host part generated from the MAC address completely > automatically, and thus communicate on any locally attached network. (See RFC > 5156 for the gory details.) > > IPv4 mapped addresses are like this: > > ::ffff:192.0.2.0 > > (or you can express the 32 bits of the IPv4 address as two colon-separated hex > strings in the usual IPv6 idiom.) Out of curiousity, when did the spec change from single-octets to double-octets? I remember early-on seeing IPv6 addresses represented in a form that resembled MAC address specifications. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 18:11:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59DFA10656B7 for ; Tue, 3 Jan 2012 18:11:33 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8988FC1B for ; Tue, 3 Jan 2012 18:11:32 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q03HQ5KU032231; Tue, 3 Jan 2012 12:11:32 -0600 Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa02.fnfis.com with ESMTP id 1245hc8c0v-28 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 03 Jan 2012 12:11:32 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 3 Jan 2012 12:11:24 -0600 From: Devin Teske To: "'Matthew Seaman'" , References: <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> <4F03425C.6040104@infracaninophile.co.uk> In-Reply-To: <4F03425C.6040104@infracaninophile.co.uk> Date: Tue, 3 Jan 2012 10:11:29 -0800 Message-ID: <04db01ccca43$1e93bd00$5bbb3700$@fisglobal.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIVGeTRooOjsrMpyRvNlvFBKfeIZwHmTtfYlVsev6A= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-03_03:2012-01-03, 2012-01-03, 1970-01-01 signatures=0 Content-Type: text/plain; charset="utf-8" Cc: Subject: RE: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:11:33 -0000 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- > hackers@freebsd.org] On Behalf Of Matthew Seaman > Sent: Tuesday, January 03, 2012 10:01 AM > To: freebsd-hackers@freebsd.org > Subject: Re: [ANN] host-setup 4.0 released >=20 > On 03/01/2012 16:52, Rick Macklem wrote: > > The basics are in RFC4291, but I think that inet_pton(3) knows how to > > deal with it. (I think "::" can be used once to specify the longest # > > of 16bit fields that are all zeros.) >=20 > RFC 4291 has a basic description of the textual representation of IPv6 ad= dresses, > but it is ambiguous: there are several different ways to present the same= address > according to the RFC 4291 rules. >=20 > inet_pton(3) follows RFC 5952 which is a superset of the 4291 rules, only= allowing > a single, unambiguous representation for each IPv6 number. >=20 > > After inet_pton() has translated it to a binary address, then the > > macros in sys/netinet6/in6.h can be used to determine if the address is= a > loopback, etc. >=20 > While 5952 describes how to correctly present an IPv6 address, there's st= ill lots of > important other stuff in 4291. For instance bit 70 in an > IPv6 address flags that the address is derived from a number hardwired in= to the > interface -- typically the ethernet MAC address, as is commonly done for = SLAAC > (StateLess Address Autoconfiguration: RFC 4862, rtsold(8), rtadvd(8)). So= an > arbitrarily invented address should have that bit set to zero. Bit 71 is= also special, > indicating manycast vs unicast, and should also be zero for the vast majo= rity of > uses. > See > http://www.infracaninophile.co.uk/articles/hotchpotch.html#rand-aaaa.pl > for some perl code that operates in this area. >=20 > Also of interest: RFC 5156 which lists IPv6 address ranges dedicated to s= pecial > purpose usages, and RFC 4193 which roughly is the IPv6 equivalent to RFC = 1918, > but somewhat more complicated. You might find > https://www.sixxs.net/tools/grh/ula/ relevant too, although actually usin= g that > as a registry is pretty pointless. >=20 Thank you ALL for such great feedback. We'll have to digest this information in entirety and also start playing wi= th rtsold and rtadvd in the lab. When we do add IPv6 support, it will be robust and solid (we don't like to = do things half-arsed). It might be awhile before host-setup supports IPv6 (only because we're not = using it ourselves, just yet), but it does sound like something that is rat= her desired. --=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-hackers@FreeBSD.ORG Tue Jan 3 19:05:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82F87106566C for ; Tue, 3 Jan 2012 19:05:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id F2F728FC13 for ; Tue, 3 Jan 2012 19:05:53 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q03J5ikN057298 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 3 Jan 2012 19:05:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk q03J5ikN057298 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1325617544; bh=6raU1SzhFb2UnZWxmzC4HPf9H/FzgA4i84HN8VoeTKI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=GH0s0gW/ESol0DhYt93vnWMK5dVWCJYpPJWZmstyXSWJo0Kil9YniTKDFOiVmjqhh ZVY9UUGkJ6DYXXqMF6mnksLaY9lYt71sJYH4q8ioF4H5y8byxX0oeBoQYJVi0qBZSo DiNwGun6jxad9YXlC5aZyL1765eKVAWwLTGlb9zw= Message-ID: <4F035181.9000605@infracaninophile.co.uk> Date: Tue, 03 Jan 2012 19:05:37 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Devin Teske References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> <4F0343CE.2080500@infracaninophile.co.uk> <04d901ccca43$126af200$3740d600$@fisglobal.com> In-Reply-To: <04d901ccca43$126af200$3740d600$@fisglobal.com> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3B01E1F6F6E34AD424C06CF6" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-hackers@freebsd.org Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 19:05:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3B01E1F6F6E34AD424C06CF6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/01/2012 18:11, Devin Teske wrote: >=20 >=20 >> -----Original Message----- >> From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- >> hackers@freebsd.org] On Behalf Of Matthew Seaman >> Sent: Tuesday, January 03, 2012 10:07 AM >> To: freebsd-hackers@freebsd.org >> Subject: Re: [ANN] host-setup 4.0 released >> >> On 03/01/2012 17:59, Garrett Cooper wrote: >>> 4. Prefixing the IPv6 address with fe80: generally means it's an IPv4= >>> -> IPv6 address (IIRC). >> >> Nope. That's a link-local address. Any NIC can configure itself with= and > address >> using that prefix and a host part generated from the MAC address compl= etely >> automatically, and thus communicate on any locally attached network. (= See RFC >> 5156 for the gory details.) >> >> IPv4 mapped addresses are like this: >> >> ::ffff:192.0.2.0 >> >> (or you can express the 32 bits of the IPv4 address as two colon-separ= ated hex >> strings in the usual IPv6 idiom.) >=20 > Out of curiousity, when did the spec change from single-octets to doubl= e-octets? >=20 > I remember early-on seeing IPv6 addresses represented in a form that re= sembled > MAC address specifications. AFAIK, it's been groups of up to four hex digits from the start -- certainly it's been that way for 15 years or more. At least, I've never seen anything different, other than the special exemption for IPv4 mapped addresses. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig3B01E1F6F6E34AD424C06CF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8DUYgACgkQ8Mjk52CukIy5vQCbBOl6j3bZwsOQPSbNRHjKu3dm R4UAn2I9d+wgcc/2vMiG6LVdlQz0Wmfj =ck0D -----END PGP SIGNATURE----- --------------enig3B01E1F6F6E34AD424C06CF6-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 3 22:38:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F266106566B; Tue, 3 Jan 2012 22:38:57 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id E0DD08FC0A; Tue, 3 Jan 2012 22:38:56 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q03M7ciK085777; Tue, 3 Jan 2012 14:07:39 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4F037C2A.50708@rawbw.com> Date: Tue, 03 Jan 2012 14:07:38 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111226 Thunderbird/9.0 MIME-Version: 1.0 To: John Baldwin References: <4E3CC033.6070604@rawbw.com> <4E3D808F.1030101@rawbw.com> <201108160925.20568.jhb@freebsd.org> <201201031213.54336.jhb@freebsd.org> In-Reply-To: <201201031213.54336.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Alexander Best Subject: Re: top(1) loses process user time count when threads end X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 22:38:57 -0000 On 01/03/2012 09:13, John Baldwin wrote: > I can't tell how recent your kernel/world are though from your message to see > if you have both of these changes. My kernel/userland were from Aug 17, 2011. Probably before the change in question. I will retest with the latest 8.2. Yuri From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 08:23:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 285B5106566C for ; Wed, 4 Jan 2012 08:23:59 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 321908FC08 for ; Wed, 4 Jan 2012 08:23:57 +0000 (UTC) Received: from [172.20.10.3] ([82.132.139.193]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q04852q0050290; Wed, 4 Jan 2012 08:05:02 GMT (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: Date: Wed, 4 Jan 2012 08:04:50 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <491780FE-815C-458A-A0E3-8F67FD036B96@gid.co.uk> References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> To: Garrett Cooper X-Mailer: Apple Mail (2.1084) Cc: Rick Macklem , freebsd-hackers@freebsd.org, Devin Teske , Devin Teske , Mohacsi Janos , Dave Robison Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 08:23:59 -0000 Hi, On 3 Jan 2012, at 17:59, Garrett Cooper wrote: > ... Other than that, I get lost because there isn't an IPv6 for = dummies > book (:P) out yet [etc] I've found the following to be really useful: Author: Stockebrand, Benedikt. Title: IPv6 in practice : a Unixer's guide to the next generation Internet Published: New York : Springer, 2006. Details on author's site: = http://www.benedikt-stockebrand.de/ipv6-in-practice_en.html -- Bob Bishop rb@gid.co.uk From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 09:43:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46692106564A for ; Wed, 4 Jan 2012 09:43:16 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa12.ono.com (smtp12.ono.com [62.42.230.20]) by mx1.freebsd.org (Postfix) with ESMTP id 009208FC0A for ; Wed, 4 Jan 2012 09:43:15 +0000 (UTC) Received: from GogPortatil.retena.com (85.219.45.167) by resmaa12.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4EFDA3B5000F49D2 for freebsd-hackers@freebsd.org; Wed, 4 Jan 2012 10:31:53 +0100 Message-ID: <4EFDA3B5000F49D2@> (added by postmaster@resmaa12.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 04 Jan 2012 10:31:52 +0100 To: freebsd-hackers@freebsd.org From: Eduardo Morras In-Reply-To: References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Antivirus: AVG for E-mail 10.0.1416 [2109/4121] Subject: Re: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 09:43:16 -0000 At 18:59 03/01/2012, Garrett Cooper wrote: >Other than that, I get lost because there isn't an IPv6 for dummies >book (:P) out yet, You have "TCP/IP for Dummies" 6th Edition, edited=20 on/in 2009. It covers IPv6 too ;) HTH ---------------------------------------------- Si la vida te da la espalda, =A1tocale el culo! =20 From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 10:05:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3F66106566B for ; Wed, 4 Jan 2012 10:05:41 +0000 (UTC) (envelope-from shrikanth07@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6238FC14 for ; Wed, 4 Jan 2012 10:05:41 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so16877332wib.13 for ; Wed, 04 Jan 2012 02:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=NahQD0Af/8Www8ZOMN/HdaJJIqkKbqTV2pa4r+OtH4U=; b=TuYKWGdB6SY3GG2BztUQcYOlsY82E4pPJmnI7ta+zbbzQbGtGVbZCs68eGF8SqNZ+E qDXhcwgEYHoMdOgNSMtYhEDKqNxF/2WS8j31IM59QyQh3HedV6wmH1hdFre29QxEdtHu Y6cBs1kbpxyuaPeGZaBkMjwPCIA1H7zr/BrZI= MIME-Version: 1.0 Received: by 10.180.8.229 with SMTP id u5mr121033916wia.9.1325669682419; Wed, 04 Jan 2012 01:34:42 -0800 (PST) Received: by 10.223.52.92 with HTTP; Wed, 4 Jan 2012 01:34:42 -0800 (PST) Date: Wed, 4 Jan 2012 15:04:42 +0530 Message-ID: From: Shrikanth Kamath To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: DTrace and CTF interpretation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 10:05:42 -0000 I am facing problem with the CTF interpretation of a member in structure, e.g struct foo { struct bar a; uint32_t b; ... uint32_t prefix[1]; } When converting the above member prefix, I enabled the CTF debugs, here is the o/p DEBUG: die 87324: mem 87636: creating member DEBUG: die 87324: got mloff ffffffffffffffc0 DEBUG: die 87324: mem 87636: created "prefix" (off 4294966784 sz 0) When I use DTrace to dump this prefix field (in a structure that is argument to a function) it gives invalid access error. I guess that is expected because of the strange offset. Anybody knowing how to fix this in CTF convert path? From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 10:37:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 309DF106566B for ; Wed, 4 Jan 2012 10:37:30 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa12.ono.com (smtp12.ono.com [62.42.230.20]) by mx1.freebsd.org (Postfix) with ESMTP id BC6E18FC1B for ; Wed, 4 Jan 2012 10:37:29 +0000 (UTC) Received: from GogPortatil.retena.com (85.219.45.167) by resmaa12.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4EFDA3B5000F8242; Wed, 4 Jan 2012 11:37:28 +0100 Message-ID: <4EFDA3B5000F8242@> (added by postmaster@resmaa12.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 04 Jan 2012 11:37:22 +0100 To: Shrikanth Kamath ,freebsd-hackers@freebsd.org From: Eduardo Morras In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: AVG for E-mail 10.0.1416 [2109/4121] Cc: Subject: Re: DTrace and CTF interpretation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 10:37:30 -0000 At 10:34 04/01/2012, Shrikanth Kamath wrote: >I am facing problem with the CTF interpretation of a member in structure, > >e.g >struct foo { > struct bar a; > uint32_t b; > ... > uint32_t prefix[1]; >} > >When converting the above member prefix, I enabled the CTF debugs, >here is the o/p > >DEBUG: die 87324: mem 87636: creating member >DEBUG: die 87324: got mloff ffffffffffffffc0 >DEBUG: die 87324: mem 87636: created "prefix" (off 4294966784 sz 0) > >When I use DTrace to dump this prefix field (in a structure that is >argument to a function) >it gives invalid access error. I guess that is expected because of the >strange offset. > >Anybody knowing how to fix this in CTF convert path? Perhaps DTrace gives the error because size is 0. Offset isn't strange. >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 14:58:39 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19CAD106564A; Wed, 4 Jan 2012 14:58:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E4C108FC12; Wed, 4 Jan 2012 14:58:38 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 4E93C46B09; Wed, 4 Jan 2012 09:58:38 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C8D22B915; Wed, 4 Jan 2012 09:58:37 -0500 (EST) From: John Baldwin To: Yuri Date: Wed, 4 Jan 2012 09:58:36 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <4E3CC033.6070604@rawbw.com> <201201031213.54336.jhb@freebsd.org> <4F037C2A.50708@rawbw.com> In-Reply-To: <4F037C2A.50708@rawbw.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201040958.36573.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 04 Jan 2012 09:58:37 -0500 (EST) Cc: freebsd-hackers@freebsd.org, Alexander Best Subject: Re: top(1) loses process user time count when threads end X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 14:58:39 -0000 On Tuesday, January 03, 2012 5:07:38 pm Yuri wrote: > On 01/03/2012 09:13, John Baldwin wrote: > > I can't tell how recent your kernel/world are though from your message to see > > if you have both of these changes. > > My kernel/userland were from Aug 17, 2011. Probably before the change in > question. > I will retest with the latest 8.2. Yes, the change to top was only merged to stable/8 on Sep 16. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 21:01:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10E2D106566C for ; Wed, 4 Jan 2012 21:01:56 +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 C83B48FC1A for ; Wed, 4 Jan 2012 21:01:55 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q04KSAiO022267; Wed, 4 Jan 2012 15:01:53 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa03.fnfis.com with ESMTP id 124wtwr3be-55 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 04 Jan 2012 15:01:53 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 4 Jan 2012 15:01:50 -0600 From: Devin Teske To: "'Eduardo Morras'" , References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> <4EFDA3B5000F49D2@> (added by postmaster@resmaa12.ono.com) In-Reply-To: <4EFDA3B5000F49D2@> (added by postmaster@resmaa12.ono.com) Date: Wed, 4 Jan 2012 13:01:54 -0800 Message-ID: <05f401cccb24$1a74b8a0$4f5e29e0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGajmIkH4RG/oPrgnEQQ2gcK1Qw3AIVGeTRAdH7AQICviKWYJYsAPEw Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-04_07:2012-01-04, 2012-01-04, 1970-01-01 signatures=0 Cc: Subject: RE: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 21:01:56 -0000 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- > hackers@freebsd.org] On Behalf Of Eduardo Morras > Sent: Wednesday, January 04, 2012 1:32 AM > To: freebsd-hackers@freebsd.org > Subject: Re: [ANN] host-setup 4.0 released > > At 18:59 03/01/2012, Garrett Cooper wrote: > >Other than that, I get lost because there isn't an IPv6 for dummies > >book (:P) out yet, > > > You have "TCP/IP for Dummies" 6th Edition, edited on/in 2009. It covers IPv6 too > ;) > Have you read it? How does it compare to, say, Que or O'Reilly publications? Reason I ask, is that I usually find the "* for Dummies" books from IDG to be rather lacking. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 21:12:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B4F9106566B for ; Wed, 4 Jan 2012 21:12:55 +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 0E9408FC08 for ; Wed, 4 Jan 2012 21:12:54 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q04KvKKl018303; Wed, 4 Jan 2012 15:12:53 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com with ESMTP id 124x8mr1rv-23 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 04 Jan 2012 15:12:53 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Wed, 4 Jan 2012 15:12:37 -0600 From: Devin Teske To: "'Bob Bishop'" , "'Garrett Cooper'" References: <04a201ccca33$fe6115a0$fb2340e0$@fisglobal.com> <2092634439.782373.1325609539518.JavaMail.root@erie.cs.uoguelph.ca> <491780FE-815C-458A-A0E3-8F67FD036B96@gid.co.uk> In-Reply-To: <491780FE-815C-458A-A0E3-8F67FD036B96@gid.co.uk> Date: Wed, 4 Jan 2012 13:12:45 -0800 Message-ID: <05f601cccb25$9b541870$d1fc4950$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGajmIkH4RG/oPrgnEQQ2gcK1Qw3AIVGeTRAdH7AQICoNvj3ZYs7rYA Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-04_07:2012-01-04, 2012-01-04, 1970-01-01 signatures=0 Cc: freebsd-hackers@freebsd.org, 'Rick Macklem' , 'Devin Teske' , 'Dave Robison' , 'Mohacsi Janos' Subject: RE: [ANN] host-setup 4.0 released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 21:12:55 -0000 > -----Original Message----- > From: Bob Bishop [mailto:rb@gid.co.uk] > Sent: Wednesday, January 04, 2012 12:05 AM > To: Garrett Cooper > Cc: Rick Macklem; freebsd-hackers@freebsd.org; Dave Robison; Devin Teske; > Devin Teske; Mohacsi Janos > Subject: Re: [ANN] host-setup 4.0 released > > Hi, > > On 3 Jan 2012, at 17:59, Garrett Cooper wrote: > > > ... Other than that, I get lost because there isn't an IPv6 for > > dummies book (:P) out yet [etc] > > I've found the following to be really useful: > > Author: Stockebrand, Benedikt. > Title: IPv6 in practice : a Unixer's guide to the next > generation Internet > Published: New York : Springer, 2006. > > Details on author's site: http://www.benedikt-stockebrand.de/ipv6-in- > practice_en.html > I've read the colophon and it sounds excellent! I will definitely be picking up a copy of this one. Thanks much to Bob Bishop for dropping this tip. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 22:10:50 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F941065673; Wed, 4 Jan 2012 22:10:50 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFED8FC0A; Wed, 4 Jan 2012 22:10:50 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id DDC5F9DAF0; Wed, 4 Jan 2012 22:55:08 +0100 (CET) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id CjgLgB5Artu3; Wed, 4 Jan 2012 22:55:06 +0100 (CET) Received: from danger-mbp.local (adsl-dyn163.78-98-251.t-com.sk [78.98.251.163]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id 4A7599DADE; Wed, 4 Jan 2012 22:55:06 +0100 (CET) Message-ID: <4F04CABE.1050301@FreeBSD.org> Date: Wed, 04 Jan 2012 22:55:10 +0100 From: Daniel Gerzo Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.25pre) Gecko/20111115 Lanikai/3.1.17pre MIME-Version: 1.0 To: current@freebsd.org, hackers@freebsd.org, stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: REMAINDER: Call for FreeBSD Status Reports - 4Q/2011 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 22:10:51 -0000 Hello everybody, I'd like to remind you that only ca. 10 days have left to the status report submission deadline. Note that we have only received 4 entries so far. I guess most of the people's holidays have finished by now so I hope we will receive much more than that by January 15, 2012. Thanks in advance! PS: Happy New Year 2012! -------- Original Message -------- Subject: REMAINDER: Call for FreeBSD Status Reports - 4Q/2011 Date: Wed, 21 Dec 2011 12:20:01 +0100 From: Daniel Gerzo Organization: The FreeBSD Project To: , , Dear all, I would like to remind you that the next round of status reports covering the fourth quarter of 2011 are due on January 15th, 2012. As this initiative is very popular among our users, I would like to ask you to submit your status reports as sooner than later (holidays are quickly approaching), so that we can compile the report in a timely fashion. Do not hesitate and write a few lines; a short description about what you are working on, what your plans and goals are, or any other information that you consider interested is always welcome. This way we can inform our community about your great work! Check out the reports from the past to get some inspiration of what your submission should look like. If you know about a project that should be included in the status report, please let us know as well, so we can poke the responsible people to provide us with something useful. Updates to submissions from the last report are welcome as well. Note that the submissions are accepted from anyone involved within the FreeBSD community, you do not have to be a FreeBSD committer. Anything related to FreeBSD can be covered. Please email us the filled-in XML template which can be found at http://www.freebsd.org/news/status/report-sample.xml to monthly@FreeBSD.org, or alternatively use our web based form located at http://www.freebsd.org/cgi/monthly.cgi. For more information, please visit http://www.freebsd.org/news/status/. We are looking forward to see your submissions! -- Kind regards Daniel Gerzo From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 22:35:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B88210656DD for ; Wed, 4 Jan 2012 22:35:42 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 649C98FC15 for ; Wed, 4 Jan 2012 22:35:42 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta14.emeryville.ca.mail.comcast.net with comcast id Ha4j1i0021eYJf8AEaNS08; Wed, 04 Jan 2012 22:22:26 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta19.emeryville.ca.mail.comcast.net with comcast id HZVL1i00A4NgCEG01ZVM0R; Wed, 04 Jan 2012 21:29:21 +0000 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 q04MMTij021440 for ; Wed, 4 Jan 2012 15:22:29 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: freebsd-hackers@freebsd.org Content-Type: text/plain Date: Wed, 04 Jan 2012 15:22:29 -0700 Message-Id: <1325715749.25037.36.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: trouble with atrtc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 22:35:42 -0000 I'm in the process of updating a bunch of old systems from FreeBSD 6 to 8.2, and I ran into trouble with some old hardware. Long story short, I eventually realized it came down to statclock not ticking, and the rtc interrupt handler was stuck in its while-loop. The specific problem was the new(-ish) logic that caches the currently-selected RTC register number and avoids an outb(0x70) if the access is to the same register as last time. Commenting out that optimization makes the problem go away. Testing on about a dozen systems with hardware in the 2-10 years old range, this problem happens on two of them, and both are based on Cyrix MediaGX chipsets with the CS5530 southbridge. On these systems the code behaves as if the act of doing outb(0x70, rtc_reg) latches the value of the indexed location into some read buffer, and then all subsequent inb(0x71) just keep returning the same latched value over and over until a new write to 0x70 is done. A separate issue, tangentially related, is that we have device drivers that enable and disable NMI interrupts on the fly. They can't safely do so with the new logic that caches the last value written to 0x70. (I'm not sure what they were doing before was all that safe, but that's yet another story.) Because atrtc.c has a long and rich history of modifcations, some of them fairly recent, I thought it would be a good idea to toss out my ideas for changes here and solicit feedback up front, rather than just blindly posting a PR with a patch... It turns out to be very easy to probe for the latched-read behavior with just a few lines of code in atrtc_start(), so I'd propose doing that and setting a flag that the in/out code can use to disable the caching of the current register number on hardware that needs it. I'd like to add a new public function, atrtc_nmi_enable(int enable) that drivers can use to manipulate the NMI flag safely under clock_lock and playing nicely with the register number caching code. Completely unrelated but nice to have: I'd like to add a tuneable to control the use of inb(0x84) ops to insert delays after writing to 0x70 and 0x71. Modern hardware doesn't need this, so I think it should default to not inserting delays. I've done all these things in our local 8.2 code base and tested them on all the hardware I've got on hand. If these changes sound acceptable I'll prepare patches to -current as well. -- Ian From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 23:42:27 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A7A18106566B; Wed, 4 Jan 2012 23:42:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim Date: Wed, 4 Jan 2012 18:42:17 -0500 User-Agent: KMail/1.6.2 To: freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_aPOBPLYw2Mozxms" Message-Id: <201201041842.18854.jkim@FreeBSD.org> Cc: Alexander Sack Subject: [PATCH] makefs from multiple directories X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 23:42:27 -0000 --Boundary-00=_aPOBPLYw2Mozxms Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline My colleague at work wrote a nice patch for makefs(8) to support multiple directories as mkisofs does. Then, I cleaned it up and made it committable to head (also attached here): http://people.freebsd.org/~jkim/makefs.diff Actually, he submitted this PR first: http://www.freebsd.org/cgi/query-pr.cgi?pr=162338 After I reviewed it, I told him it isn't right because it messes up with source directories. Instead, I suggested him to add the new feature. ;-) Please review and let me know what you think. Cheers! Jung-uk Kim PS: Do we care about submitting it back to NetBSD? Actually, it seems to be the first thing in their TODO list for very long time: http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/makefs/TODO.diff?r1=1.6&r2=1.7&only_with_tag=MAIN However, our version looks quite different from their head version. :-/ Note: His original e-mail is attached here as a reference. ---------- Description: Create an ISO image of multiple directory hierarchies passed on the command line. The patch attempts to overlay this feature with the least amount of structural changes to the existing code path. An attempt was made to support both cd9660 and ffs filesystem formats as appropriate (see below for a disclaimer). The makefs tool uses a tree of struct _fsnode's to represent a given root filesystem hierarchy. This tree is then optionally converted to a filesystem specific data structure that is parsed and written out as a disk image. This patch will take all filesystems passed on the command line and aggregate them into one fsnode based filesystem structure. The first directory passed on the command line is the root of the image. Any additional directories are attached to this root and then converted. When the image is written out, the base path if it exists is used to find the real file to copy out. Notes: CD9660 handle collision code is very buggy (take a look, there are large sections commented out). The mkisofs tool which was used previously doesn't even support collisions within the hierarchy (e.g. 'mkisofs -R -o test.iso /tmp/foo /tmp/foo' will immediately fail). I made a compromise in this patch, I allow file collisions but not directories. Example, let's say we have the following two hierarchies: /tmp/foo/1 /tmp/foo/2 /tmp/foo/3 /tmp/bar/1 /tmp/bar/2 /tmp/bar/3 So 'makefs -t cd9660 -o rockridge test.iso /tmp/foo /tmp/bar' will work as originally designed by the cd9660 filesystem driver. The namespace collision will be handled by internally renaming the ISO9660 filename and creating links. But 'makefs -t cd9660 -o rockridge test.iso /tmp/foo /tmp/foo' will not work as subdirectory foo is duplicated within the hierarchies. If we really want to support renaming directories via links, it will be in my opinion a much more significant re-work of the existing code with little gain. I can't see a single reason why you would want to duplicate directory names within the same ISO9660 image? The ffs driver handles collisions as standard links so everything works as designed. The concept of a link changes depending on the type of ISO9660 image you create (whether you get Rockridge POSIX extended attributes or not, etc.). This is why detection of duplicate directory entires is not handled at the point of fsnode tree creation but at driver specific time. Let me know what you think, I believe this restores POLA to the build while adding a nice feature. Thanks! -aps --Boundary-00=_aPOBPLYw2Mozxms Content-Type: text/plain; charset="iso-8859-1"; name="makefs.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="makefs.diff" Index: walk.c =================================================================== --- walk.c (revision 229517) +++ walk.c (working copy) @@ -166,10 +166,29 @@ create_fsnode(const char *name, struct stat *stbuf cur->type = stbuf->st_mode & S_IFMT; cur->inode->nlink = 1; cur->inode->st = *stbuf; + cur->base_path = NULL; return (cur); } /* + * free_fsnode -- + * Frees memory allocated for a single fsnode + */ +void +free_fsnode(fsnode *node) +{ + + if (node->inode->nlink-- == 1) + free(node->inode); + if (node->symlink) + free(node->symlink); + if (node->base_path) + free(node->base_path); + free(node->name); + free(node); +} + +/* * free_fsnodes -- * Removes node from tree and frees it and all of * its descendants. @@ -207,12 +226,7 @@ free_fsnodes(fsnode *node) cur->child->parent = NULL; free_fsnodes(cur->child); } - if (cur->inode->nlink-- == 1) - free(cur->inode); - if (cur->symlink) - free(cur->symlink); - free(cur->name); - free(cur); + free_fsnode(cur); } } @@ -519,8 +533,8 @@ dump_fsnodes(const char *dir, fsnode *root) errx(1, "Pathname too long."); if (debug & DEBUG_DUMP_FSNODES_VERBOSE) - printf("cur=%8p parent=%8p first=%8p ", - cur, cur->parent, cur->first); + printf("cur=%8p parent=%8p first=%8p base_path=%s", + cur, cur->parent, cur->first, cur->base_path); printf("%7s: %s", inode_type(cur->type), path); if (S_ISLNK(cur->type)) { assert(cur->symlink != NULL); @@ -647,3 +661,30 @@ link_check(fsinode *entry) htused++; return NULL; } + +/* + * mark_base_path -- + * Given a hierarchy of fsnodes, mark the real path + * of the underlying filesystem to copy from. + */ +void +mark_base_path(char *base_path, fsnode *root) +{ + char path[MAXPATHLEN + 1]; + fsnode *cur; + + for (cur = root; cur != NULL; cur = cur->next) { + snprintf(path, sizeof(path), "%s/%s", base_path, + cur->name); + + if (cur->base_path == NULL) { + cur->base_path = malloc(MAXPATHLEN + 1); + if (cur->base_path == NULL) + err(1, "Memory allocation error"); + } + + strncpy(cur->base_path, path, strlen(path) + 1); + if (cur->child != NULL) + mark_base_path(path, cur->child); + } +} Index: makefs.c =================================================================== --- makefs.c (revision 229517) +++ makefs.c (working copy) @@ -86,8 +86,13 @@ main(int argc, char *argv[]) struct timeval start; fstype_t *fstype; fsinfo_t fsoptions; + fsnode *extra_root; + fsnode *last; fsnode *root; int ch, len; + char *extra_root_dir; + char *image_dir; + char *image_name; char *subtree; char *specfile; @@ -241,32 +246,68 @@ main(int argc, char *argv[]) argc -= optind; argv += optind; - if (argc != 2) + if (argc < 2) usage(); + else { + image_name = argv[0]; + image_dir = argv[1]; + argc -= 2; + argv += 2; + } /* -x must be accompanied by -F */ if (fsoptions.onlyspec != 0 && specfile == NULL) errx(1, "-x requires -F mtree-specfile."); /* Accept '-' as meaning "read from standard input". */ - if (strcmp(argv[1], "-") == 0) + if (strcmp(image_dir, "-") == 0) sb.st_mode = S_IFREG; else { - if (stat(argv[1], &sb) == -1) - err(1, "Can't stat `%s'", argv[1]); + if (stat(image_dir, &sb) == -1) + err(1, "Can't stat `%s'", image_dir); } switch (sb.st_mode & S_IFMT) { case S_IFDIR: /* walk the tree */ - subtree = argv[1]; + subtree = image_dir; TIMER_START(start); root = walk_dir(subtree, NULL); TIMER_RESULTS(start, "walk_dir"); + + /* Assume any left over arguments are extra directories */ + while (argc > 0) { + extra_root_dir = argv[0]; + if (stat(extra_root_dir, &sb) == -1) + err(1, "Can't stat `%s'", extra_root_dir); + if (!S_ISDIR(sb.st_mode)) + err(1, "%s' is not a valid directory", + extra_root_dir); + + TIMER_START(start); + extra_root = walk_dir(extra_root_dir, NULL); + TIMER_RESULTS(start, "walk_dir"); + mark_base_path(extra_root_dir, extra_root); + + /* + * Now attach our fsnode tree to the real root + * hierarchy. Order does not matter here, so we + * attach it to the last child skipping the extra + * root "." directory. + */ + last = root; + while (last->next != NULL) + last = last->next; + last->next = extra_root->next; + free_fsnode(extra_root); + + argc--; + argv++; + } break; case S_IFREG: /* read the manifest file */ subtree = "."; TIMER_START(start); - root = read_mtree(argv[1], NULL); + root = read_mtree(image_dir, NULL); TIMER_RESULTS(start, "manifest"); break; default: @@ -288,7 +329,7 @@ main(int argc, char *argv[]) /* build the file system */ TIMER_START(start); - fstype->make_fs(argv[0], subtree, root, &fsoptions); + fstype->make_fs(image_name, subtree, root, &fsoptions); TIMER_RESULTS(start, "make_fs"); free_fsnodes(root); @@ -336,7 +377,7 @@ usage(void) "usage: %s [-t fs-type] [-o fs-options] [-d debug-mask] [-B endian]\n" "\t[-S sector-size] [-M minimum-size] [-m maximum-size] [-s image-size]\n" "\t[-b free-blocks] [-f free-files] [-F mtree-specfile] [-x]\n" -"\t[-N userdb-dir] image-file directory | manifest\n", +"\t[-N userdb-dir] image-file directory | manifest [extra-directory ...]\n", prog); exit(1); } Index: makefs.h =================================================================== --- makefs.h (revision 229517) +++ makefs.h (working copy) @@ -94,6 +94,7 @@ typedef struct _fsnode { fsinode *inode; /* actual inode data */ char *symlink; /* symlink target */ char *contents; /* file to provide contents */ + char *base_path; /* path different from fsnode root */ char *name; /* file name */ int flags; /* misc flags */ } fsnode; @@ -148,10 +149,12 @@ typedef struct { void apply_specfile(const char *, const char *, fsnode *, int); void dump_fsnodes(const char *, fsnode *); +void mark_base_path(char *, fsnode *); const char * inode_type(mode_t); fsnode * read_mtree(const char *, fsnode *); int set_option(option_t *, const char *, const char *); fsnode * walk_dir(const char *, fsnode *); +void free_fsnode(fsnode *); void free_fsnodes(fsnode *); void ffs_prep_opts(fsinfo_t *); Index: cd9660.c =================================================================== --- cd9660.c (revision 229517) +++ cd9660.c (working copy) @@ -1017,6 +1017,7 @@ cd9660_handle_collisions(cd9660node *colliding, in int temp_skip; int flag = 0; cd9660node *end_of_range; + char *temp_file_name; for (iter = TAILQ_FIRST(&colliding->cn_children); iter != NULL && (next = TAILQ_NEXT(iter, cn_next_child)) != NULL;) { @@ -1025,6 +1026,15 @@ cd9660_handle_collisions(cd9660node *colliding, in iter = TAILQ_NEXT(iter, cn_next_child); continue; } + if (S_ISDIR(iter->node->type)) { + temp_file_name = malloc(CD9660MAXPATH + 1); + if (temp_file_name == NULL) + errx(EXIT_FAILURE, "%s: malloc", __func__); + cd9660_compute_full_filename(iter, temp_file_name, 0); + errx(EXIT_FAILURE, + "%s has a duplicate entry in source filesystem", + temp_file_name); + } flag = 1; temp_skip = skip = cd9660_count_collisions(iter); end_of_range = iter; Index: ffs.c =================================================================== --- ffs.c (revision 229517) +++ ffs.c (working copy) @@ -780,9 +780,14 @@ ffs_populate_dir(const char *dir, fsnode *root, fs cur->inode->flags |= FI_WRITTEN; if (cur->contents == NULL) { - if (snprintf(path, sizeof(path), "%s/%s", dir, - cur->name) >= sizeof(path)) - errx(1, "Pathname too long."); + if (!S_ISDIR(cur->type) && cur->base_path) + strncpy(path, cur->base_path, + strlen(cur->base_path) + 1); + else { + if (snprintf(path, sizeof(path), "%s/%s", dir, + cur->name) >= sizeof(path)) + errx(1, "Pathname too long."); + } } if (cur->child != NULL) Index: cd9660/cd9660_write.c =================================================================== --- cd9660/cd9660_write.c (revision 229517) +++ cd9660/cd9660_write.c (working copy) @@ -261,6 +261,7 @@ cd9660_write_path_tables(FILE *fd) static int cd9660_write_file(FILE *fd, cd9660node *writenode) { + char *base_path; char *buf; char *temp_file_name; int ret; @@ -294,9 +295,15 @@ cd9660_write_file(FILE *fd, cd9660node *writenode) INODE_WARNX(("%s: writing inode %d blocks at %" PRIu32, __func__, (int)inode->st.st_ino, inode->ino)); inode->flags |= FI_WRITTEN; - if (writenode->node->contents == NULL) - cd9660_compute_full_filename(writenode, - temp_file_name, 0); + if (writenode->node->contents == NULL) { + if (writenode->node->base_path) { + base_path = writenode->node->base_path; + strncpy(temp_file_name, base_path, + strlen(base_path) + 1); + } else + cd9660_compute_full_filename(writenode, + temp_file_name, 0); + } ret = cd9660_copy_file(fd, writenode->fileDataSector, (writenode->node->contents != NULL) ? writenode->node->contents : temp_file_name); Index: makefs.8 =================================================================== --- makefs.8 (revision 229517) +++ makefs.8 (working copy) @@ -35,7 +35,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 10, 2009 +.Dd January 4, 2012 .Dt MAKEFS 8 .Os .Sh NAME @@ -58,6 +58,7 @@ .Op Fl t Ar fs-type .Ar image-file .Ar directory | manifest +.Op Ar extra-directory ... .Sh DESCRIPTION The utility .Nm @@ -67,6 +68,13 @@ from the directory tree .Ar directory or from the mtree manifest .Ar manifest . +If optional directory tree +.Ar extra-directory +is passed, then the directory tree of each argument will be merged +into the +.Ar directory +first before creating +.Ar image-file . No special devices or privileges are required to perform this task. .Pp The options are as follows: --Boundary-00=_aPOBPLYw2Mozxms-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 4 23:48:04 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 51A4D1065710; Wed, 4 Jan 2012 23:48:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 56ECD14EF55; Wed, 4 Jan 2012 23:48:02 +0000 (UTC) Message-ID: <4F04E531.5040401@FreeBSD.org> Date: Wed, 04 Jan 2012 15:48:01 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Jung-uk Kim References: <201201041842.18854.jkim@FreeBSD.org> In-Reply-To: <201201041842.18854.jkim@FreeBSD.org> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, Alexander Sack Subject: Re: [PATCH] makefs from multiple directories X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 23:48:04 -0000 On 01/04/2012 15:42, Jung-uk Kim wrote: > Do we care about submitting it back to NetBSD? The answer to this question is always yes. :) We work hard to maintain good relationships with the other BSDs, and sharing improvements to common code is a critical component to that. Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 5 16:28:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBAD5106566C for ; Thu, 5 Jan 2012 16:28:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A2EDF8FC1C for ; Thu, 5 Jan 2012 16:28:31 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 3CED746B37; Thu, 5 Jan 2012 11:28:31 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C0460B94D; Thu, 5 Jan 2012 11:28:30 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Thu, 5 Jan 2012 10:33:52 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <1325715749.25037.36.camel@revolution.hippie.lan> In-Reply-To: <1325715749.25037.36.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201201051033.53081.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 05 Jan 2012 11:28:30 -0500 (EST) Cc: Ian Lepore Subject: Re: trouble with atrtc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 16:28:31 -0000 On Wednesday, January 04, 2012 5:22:29 pm Ian Lepore wrote: > I'm in the process of updating a bunch of old systems from FreeBSD 6 to > 8.2, and I ran into trouble with some old hardware. Long story short, I > eventually realized it came down to statclock not ticking, and the rtc > interrupt handler was stuck in its while-loop. The specific problem was > the new(-ish) logic that caches the currently-selected RTC register > number and avoids an outb(0x70) if the access is to the same register as > last time. Commenting out that optimization makes the problem go away. > > Testing on about a dozen systems with hardware in the 2-10 years old > range, this problem happens on two of them, and both are based on Cyrix > MediaGX chipsets with the CS5530 southbridge. On these systems the code > behaves as if the act of doing outb(0x70, rtc_reg) latches the value of > the indexed location into some read buffer, and then all subsequent > inb(0x71) just keep returning the same latched value over and over until > a new write to 0x70 is done. > > A separate issue, tangentially related, is that we have device drivers > that enable and disable NMI interrupts on the fly. They can't safely do > so with the new logic that caches the last value written to 0x70. (I'm > not sure what they were doing before was all that safe, but that's yet > another story.) > > Because atrtc.c has a long and rich history of modifcations, some of > them fairly recent, I thought it would be a good idea to toss out my > ideas for changes here and solicit feedback up front, rather than just > blindly posting a PR with a patch... > > It turns out to be very easy to probe for the latched-read behavior with > just a few lines of code in atrtc_start(), so I'd propose doing that and > setting a flag that the in/out code can use to disable the caching of > the current register number on hardware that needs it. > > I'd like to add a new public function, atrtc_nmi_enable(int enable) that > drivers can use to manipulate the NMI flag safely under clock_lock and > playing nicely with the register number caching code. > > Completely unrelated but nice to have: I'd like to add a tuneable to > control the use of inb(0x84) ops to insert delays after writing to 0x70 > and 0x71. Modern hardware doesn't need this, so I think it should > default to not inserting delays. > > I've done all these things in our local 8.2 code base and tested them on > all the hardware I've got on hand. If these changes sound acceptable > I'll prepare patches to -current as well. These changes all sound good to me. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 5 19:29:58 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AACF1065692; Thu, 5 Jan 2012 19:29:58 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from web.npulse.net (web.npulse.net [79.172.194.2]) by mx1.freebsd.org (Postfix) with SMTP id 12ED68FC17; Thu, 5 Jan 2012 19:29:56 +0000 (UTC) Received: by web (Postfix, from userid 143) id B3C19DC261; Wed, 4 Jan 2012 22:16:54 +0000 (UTC) Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by web (Postfix) with ESMTP id 5319EDC16B for ; Wed, 4 Jan 2012 22:16:52 +0000 (UTC) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1E8511A6EA5; Wed, 4 Jan 2012 22:11:33 +0000 (UTC) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E6A9210656DC; Wed, 4 Jan 2012 22:11:30 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F941065673; Wed, 4 Jan 2012 22:10:50 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFED8FC0A; Wed, 4 Jan 2012 22:10:50 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id DDC5F9DAF0; Wed, 4 Jan 2012 22:55:08 +0100 (CET) X-Virus-Scanned: amavisd-new at rulez.sk Received: from services.syscare.sk ([188.40.39.36]) by services.syscare.sk (services.rulez.sk [188.40.39.36]) (amavisd-new, port 10024) with ESMTP id CjgLgB5Artu3; Wed, 4 Jan 2012 22:55:06 +0100 (CET) Received: from danger-mbp.local (adsl-dyn163.78-98-251.t-com.sk [78.98.251.163]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id 4A7599DADE; Wed, 4 Jan 2012 22:55:06 +0100 (CET) Message-ID: <4F04CABE.1050301@FreeBSD.org> Date: Wed, 04 Jan 2012 22:55:10 +0100 From: Daniel Gerzo Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.25pre) Gecko/20111115 Lanikai/3.1.17pre MIME-Version: 1.0 To: current@freebsd.org, hackers@freebsd.org, stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org Cc: Subject: REMAINDER: Call for FreeBSD Status Reports - 4Q/2011 X-BeenThere: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2012 19:29:58 -0000 Hello everybody, I'd like to remind you that only ca. 10 days have left to the status report submission deadline. Note that we have only received 4 entries so far. I guess most of the people's holidays have finished by now so I hope we will receive much more than that by January 15, 2012. Thanks in advance! PS: Happy New Year 2012! -------- Original Message -------- Subject: REMAINDER: Call for FreeBSD Status Reports - 4Q/2011 Date: Wed, 21 Dec 2011 12:20:01 +0100 From: Daniel Gerzo Organization: The FreeBSD Project To: , , Dear all, I would like to remind you that the next round of status reports covering the fourth quarter of 2011 are due on January 15th, 2012. As this initiative is very popular among our users, I would like to ask you to submit your status reports as sooner than later (holidays are quickly approaching), so that we can compile the report in a timely fashion. Do not hesitate and write a few lines; a short description about what you are working on, what your plans and goals are, or any other information that you consider interested is always welcome. This way we can inform our community about your great work! Check out the reports from the past to get some inspiration of what your submission should look like. If you know about a project that should be included in the status report, please let us know as well, so we can poke the responsible people to provide us with something useful. Updates to submissions from the last report are welcome as well. Note that the submissions are accepted from anyone involved within the FreeBSD community, you do not have to be a FreeBSD committer. Anything related to FreeBSD can be covered. Please email us the filled-in XML template which can be found at http://www.freebsd.org/news/status/report-sample.xml to monthly@FreeBSD.org, or alternatively use our web based form located at http://www.freebsd.org/cgi/monthly.cgi. For more information, please visit http://www.freebsd.org/news/status/. We are looking forward to see your submissions! -- Kind regards Daniel Gerzo _______________________________________________ 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-hackers@FreeBSD.ORG Fri Jan 6 18:19:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7386106564A; Fri, 6 Jan 2012 18:19:22 +0000 (UTC) (envelope-from feld@feld.me) Received: from mwi1.coffeenet.org (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9ECA98FC15; Fri, 6 Jan 2012 18:19:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Message-Id:From:Content-Transfer-Encoding:Mime-Version:Date:Subject:To:Content-Type; bh=G9wwXN8UTQEhVmqrt+rRmIUGfgpDQ1xdRvvndvFJTKQ=; b=IxiaR0AfrR7G3KIG+jufcGOelCUf9hNUq0Z7+1gMoiBynq9supFSklp2kfu4gBNakdMiEM8HvkpUR9vnovjqjhzFASE/WoiluCvDdLGkFJ18agbA1dQs47xoDIVQQc39; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by mwi1.coffeenet.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RjENs-00011U-Jz; Fri, 06 Jan 2012 12:19:22 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpsa id 1325873954-88972-88971/5/4; Fri, 6 Jan 2012 18:19:14 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Date: Fri, 6 Jan 2012 12:19:14 -0600 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Mark Felder Message-Id: User-Agent: Opera Mail/11.61 (FreeBSD) X-SA-Score: -1.0 Cc: Subject: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 18:19:22 -0000 Hi guys, I upgraded my desktop at work just around christmas to 9-PRERELEASE = builds =20 and ipv6 has been broken since then. I've been too busy at work to fix = it =20 but today I finally had the chance to figure it out. Currently I'm running: 12:11:15 tech304:~ > uname -a FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2 =20 r229703M: Fri Jan 6 11:01:58 CST 2012 =20 root@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC amd64 and my ipv6 is not working. In rc.conf I have =20 ipv6_enable_all_interfaces=3D"YES" which sets the link local and I had =20 net.inet6.ip6.accept_rtadv=3D1 in sysctl.conf. I can confirm that it was = =20 indeed activated in sysctl, but ifconfig didn't think so: re0: flags=3D8843 metric 0 mtu = 1500 options=3D209b ether d0:67:e5:17:e1:32 inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0x2 inet 192.168.93.23 netmask 0xffffff00 broadcast 192.168.93.255 nd6 options=3D23 ## Where's the =20 ACCEPT_RTADV??? media: Ethernet autoselect (100baseTX ) status: active I have to manually do # ifconfig re0 inet6 accept_rtadv to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv = =20 finds no clues. Is this broken for everyone, for the re driver, or am I =20 just crazy? Here's pciconf for the device -- let me know if any further info would = be =20 useful: re0@pci0:4:0:0: class=3D0x020000 card=3D0x04f51028 chip=3D0x816810ec = rev=3D0x06 =20 hdr=3D0x00 vendor =3D 'Realtek Semiconductor Co., Ltd.' device =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controlle= r' class =3D network subclass =3D ethernet Thanks, Mark From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 6 18:49:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71473106566B; Fri, 6 Jan 2012 18:49:46 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B7CF8FC12; Fri, 6 Jan 2012 18:49:45 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so3131256obb.13 for ; Fri, 06 Jan 2012 10:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UeXvT56T3I/Bq9bsWwP09VIvLKrv8BPuFErTvP0OXwQ=; b=UkBS1j8jtV+SWJtZsYw3ZejpPXryX556i4EVkxZvor1xJFQpB+c0Isuv/jccnBBlcT 6MocU0lu8Kt2sls3+v22a23YDCCp5ZF3leIxnl2BS91z9/kCa53t535ymXCJ3ZjUqdNP 5QKtHYEkXhkYeVW0RGiHOJ1SHdVZ0yhpD4ORE= MIME-Version: 1.0 Received: by 10.182.42.37 with SMTP id k5mr5752547obl.40.1325875785601; Fri, 06 Jan 2012 10:49:45 -0800 (PST) Received: by 10.182.171.67 with HTTP; Fri, 6 Jan 2012 10:49:45 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2012 21:49:45 +0300 Message-ID: From: Sergey Kandaurov To: Mark Felder Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 18:49:46 -0000 On 6 January 2012 22:19, Mark Felder wrote: > Hi guys, > Hi, > I upgraded my desktop at work just around christmas to 9-PRERELEASE build= s > and ipv6 has been broken since then. I've been too busy at work to fix it > but today I finally had the chance to figure it out. > > Currently I'm running: > > 12:11:15 tech304:~ > uname -a > FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2 > r229703M: Fri Jan =A06 11:01:58 CST 2012 > root@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC =A0amd64 > > and my ipv6 is not working. In rc.conf I have > ipv6_enable_all_interfaces=3D"YES" which sets the link local and I had You mean ipv6_activate_all_interfaces=3D"YES" ? > net.inet6.ip6.accept_rtadv=3D1 in sysctl.conf. I can confirm that it was > indeed activated in sysctl, but ifconfig didn't think so: > > re0: flags=3D8843 metric 0 mtu 15= 00 > > =A0options=3D209b > =A0 =A0 =A0 =A0ether d0:67:e5:17:e1:32 > =A0 =A0 =A0 =A0inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0= x2 > =A0 =A0 =A0 =A0inet 192.168.93.23 netmask 0xffffff00 broadcast 192.168.93= .255 > =A0 =A0 =A0 =A0nd6 options=3D23 =A0 =A0## Wher= e's the > ACCEPT_RTADV??? > =A0 =A0 =A0 =A0media: Ethernet autoselect (100baseTX ) > =A0 =A0 =A0 =A0status: active > > I have to manually do > > # ifconfig re0 inet6 accept_rtadv > > to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv > finds no clues. Is this broken for everyone, for the re driver, or am I j= ust > crazy? What is in your rc.conf? Do you have "inet6 accept_rtadv" keyword in it? IIRC it should be enough to specify ifconfig_re0_ipv6=3D"inet6 accept_rtadv= " without additional tweaks. Consult with rc.conf(5). HTH, pluknet From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 6 18:25:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2798106567A for ; Fri, 6 Jan 2012 18:25:26 +0000 (UTC) (envelope-from lgj@usenix.org) Received: from lonestar.usenix.org (lonestar.usenix.org [131.106.3.102]) by mx1.freebsd.org (Postfix) with ESMTP id 932998FC18 for ; Fri, 6 Jan 2012 18:25:26 +0000 (UTC) Received: from negroni.usenix.org (negroni.usenix.org [131.106.3.145]) (authenticated bits=0) by lonestar.usenix.org (8.14.2/8.14.2) with ESMTP id q06IA2vq022488 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 6 Jan 2012 10:11:12 -0800 (PST) From: Lionel Garth Jones Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 6 Jan 2012 10:11:12 -0800 Message-Id: To: freebsd-hackers@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-DCC-USENIX-Metrics: lonestar; whitelist X-Spam-Status: No, score=0.7 required=6.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lonestar X-Mailman-Approved-At: Fri, 06 Jan 2012 19:05:43 +0000 Subject: USENIX ATC '12 Submission Deadline Approaching X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 18:25:26 -0000 We're writing to remind you that the submission deadline for the 2012 USENIX Annual Technical Conference (USENIX ATC '12) is approaching. Please register your paper titles and abstracts by Tuesday, January 10, 2012. Complete papers are due Tuesday, January 17, 2012. http://www.usenix.org/atc12/cfpb/ We seek high-quality submissions that further the knowledge and understanding of modern computing systems, with an emphasis on implementations and experimental results. We encourage papers that break new ground, present insightful results based on practical experience with computer systems, or are important, independent reproductions/refutations of the experimental results of prior work. USENIX ATC has a broad scope, and specific topics of interest include but are not limited to: * Architectural interaction * Cloud computing * Deployment experience * Distributed and parallel systems * Embedded systems * Energy/power management * File and storage systems * Mobile, wireless, and sensor systems * Networking and network services * Operating systems * Reliability, availability, and scalability * Security, privacy, and trust * System and network management and troubleshooting * Usage studies and workload characterization * Virtualization For more details on the submission process, please see the complete Call for Papers at http://www.usenix.org/atc12/cfpb/ We look forward to your submissions. Gernot Heiser, NICTA and University of New South Wales Wilson Hsieh, Google USENIX ATC '12 Program Co-Chairs atc12chairs@usenix.org --------------------------------------- Call for Papers 2012 USENIX Annual Technical Conference June 13-15, 2012, Boston, MA http://www.usenix.org/atc12/cfpb/ Paper titles and abstracts due: January 10, 2012, 11:59 p.m. EST Complete paper submissions due: January 17, 2012, 11:59 p.m. EST --------------------------------------- From owner-freebsd-hackers@FreeBSD.ORG Fri Jan 6 19:35:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99D14106564A; Fri, 6 Jan 2012 19:35:57 +0000 (UTC) (envelope-from feld@feld.me) Received: from mwi1.coffeenet.org (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9B68FC1C; Fri, 6 Jan 2012 19:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=In-Reply-To:Message-Id:From:Mime-Version:Date:References:Subject:To:Content-Type; bh=8qqutpQ0VWd9RC5oKXxSVvgCtFXeJ2mKFua/oBherGQ=; b=meoRqkN7ki2C56NtzPwYFyYrLAyda4W2Cgjgxe5Omm7kE+97cC9dNoGYooty56DL+JoFIl4wwo9UHGfEcVbF/18bEdvISfaj624W5+JcOL91+ERsZA7WoMsL+vp3dKmd; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by mwi1.coffeenet.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RjFa0-0003Ba-AI; Fri, 06 Jan 2012 13:35:57 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpsa id 1325878550-88972-88971/5/5; Fri, 6 Jan 2012 19:35:50 +0000 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org References: Date: Fri, 6 Jan 2012 13:35:50 -0600 Mime-Version: 1.0 From: Mark Felder Message-Id: In-Reply-To: User-Agent: Opera Mail/11.61 (FreeBSD) X-SA-Score: -1.0 Cc: Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2012 19:35:57 -0000 On Fri, 06 Jan 2012 12:49:45 -0600, Sergey Kandaurov wrote: > > You mean ipv6_activate_all_interfaces="YES" ? > Yes... Unfortunately that's what I get for typing it manually and being distracted at the time. :-) > What is in your rc.conf? Do you have "inet6 accept_rtadv" keyword in it? > IIRC it should be enough to specify ifconfig_re0_ipv6="inet6 > accept_rtadv" > without additional tweaks. Consult with rc.conf(5). > I figured I would end up putting that in rc.conf as a temporary fix, but maybe that's just the long term solution. It seems so odd to me that the sysctl change doesn't automatically cause the ACCEPT_RTADV option to show up for re0, but it does for vboxnet0. Perhaps there should be a cleaner way to do this in rc.conf like how we do ifconfig_re0="DHCP" ? Thanks, Mark From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 01:12:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 0DAB71065700; Sat, 7 Jan 2012 01:12:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E1ACE179741; Sat, 7 Jan 2012 01:12:28 +0000 (UTC) Message-ID: <4F079BFC.6040405@FreeBSD.org> Date: Fri, 06 Jan 2012 17:12:28 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Mark Felder References: In-Reply-To: X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, hrs@FreeBSD.org, freebsd-stable@freebsd.org Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 01:12:33 -0000 Looping in hrs@ because he's the author of those changes. On 01/06/2012 11:35, Mark Felder wrote: > On Fri, 06 Jan 2012 12:49:45 -0600, Sergey Kandaurov > wrote: > >> >> You mean ipv6_activate_all_interfaces="YES" ? >> > Yes... Unfortunately that's what I get for typing it manually and being > distracted at the time. :-) > >> What is in your rc.conf? Do you have "inet6 accept_rtadv" keyword in it? >> IIRC it should be enough to specify ifconfig_re0_ipv6="inet6 >> accept_rtadv" >> without additional tweaks. Consult with rc.conf(5). >> > > I figured I would end up putting that in rc.conf as a temporary fix, but > maybe that's just the long term solution. It seems so odd to me that the > sysctl change doesn't automatically cause the ACCEPT_RTADV option to > show up for re0, but it does for vboxnet0. Perhaps there should be a > cleaner way to do this in rc.conf like how we do ifconfig_re0="DHCP" ? -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 09:24:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id AD7E4106564A for ; Sat, 7 Jan 2012 09:24:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id F1B9A150CD2; Sat, 7 Jan 2012 09:24:01 +0000 (UTC) Message-ID: <4F080F31.8020907@FreeBSD.org> Date: Sat, 07 Jan 2012 01:24:01 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Ian Lepore References: <1325715749.25037.36.camel@revolution.hippie.lan> In-Reply-To: <1325715749.25037.36.camel@revolution.hippie.lan> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: trouble with atrtc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 09:24:02 -0000 You'll probably get a better response from freebsd-stable@. Good luck, Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 12:12:08 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3E1106564A; Sat, 7 Jan 2012 12:12:08 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 2C8E68FC12; Sat, 7 Jan 2012 12:12:07 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q07CBRRc041333; Sat, 7 Jan 2012 21:11:37 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q07CBPu4063249; Sat, 7 Jan 2012 21:11:27 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 07 Jan 2012 21:11:22 +0900 (JST) Message-Id: <20120107.211122.2051906580877809031.hrs@allbsd.org> To: feld@feld.me From: Hiroki Sato In-Reply-To: <4F079BFC.6040405@FreeBSD.org> References: X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Jan__7_21_11_22_2012_218)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Sat, 07 Jan 2012 21:11:40 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-hackers@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 12:12:08 -0000 ----Security_Multipart(Sat_Jan__7_21_11_22_2012_218)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark Felder wrote in : fe> I figured I would end up putting that in rc.conf as a temporary fix, fe> but maybe that's just the long term solution. It seems so odd to me fe> that the sysctl change doesn't automatically cause the ACCEPT_RTADV fe> option to show up for re0, but it does for vboxnet0. Perhaps there fe> should be a cleaner way to do this in rc.conf like how we do fe> ifconfig_re0="DHCP" ? Is it correct that ACCEPT_RTADV option was enabled on the vboxnet0 and not on re0, even after setting net.inet6.ip6.accept_rtadv to 1 at boot time and ipv6_activate_all_interfaces="YES"? -- Hiroki ----Security_Multipart(Sat_Jan__7_21_11_22_2012_218)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk8INmoACgkQTyzT2CeTzy3zIgCgpbDOOjaJ31KiKSS1X+9X40xD OYMAoMRrnp0V//pSiV03B3aR2OyN34fj =lYQp -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Jan__7_21_11_22_2012_218)---- From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 14:32:49 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD65E106566B; Sat, 7 Jan 2012 14:32:49 +0000 (UTC) (envelope-from feld@feld.me) Received: from mwi1.coffeenet.org (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7FB768FC1E; Sat, 7 Jan 2012 14:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Message-Id:To:Date:From:Subject:Content-Type:Mime-Version:In-Reply-To:References; bh=ss5ZHIdEexFFGhDmHCw0Zt4NqB5UiqedIhgJlaetHA0=; b=iacHhjVFB0yix0bUIzxRot0IIy/sQJdJWXNRkyfsKjH3ojWsuHbGsDcRMc24dExZVsu+vyK2lC/YysO8JSmypJtSrJ3u3ZJbcQfEtV3VfyIQViSM3qiAv5KjN5JmV810; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by mwi1.coffeenet.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RjXKC-000MpN-Eu; Sat, 07 Jan 2012 08:32:49 -0600 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpsa id 1325946762-88972-88971/5/6; Sat, 7 Jan 2012 14:32:42 +0000 References: <20120107.211122.2051906580877809031.hrs@allbsd.org> User-Agent: K-9 Mail for Android In-Reply-To: <20120107.211122.2051906580877809031.hrs@allbsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: Mark Felder Date: Sat, 7 Jan 2012 08:32:50 -0600 To: freebsd-stable@FreeBSD.org, freebsd-hackers@FreeBSD.org Message-Id: <891fe25c-1560-479f-b855-1713c1c7a976@email.android.com> X-SA-Score: -1.0 Cc: Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 14:32:49 -0000 Hiroki Sato wrote: > > Is it correct that ACCEPT_RTADV option was enabled on the vboxnet0 > and not on re0, even after setting net.inet6.ip6.accept_rtadv to 1 at > boot time and ipv6_activate_all_interfaces="YES"? > >-- Hiroki Yes, that is the behavior I witnessed. From owner-freebsd-hackers@FreeBSD.ORG Sat Jan 7 20:24:39 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09EEF1065673; Sat, 7 Jan 2012 20:24:39 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5D4838FC17; Sat, 7 Jan 2012 20:24:38 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q07KOI6b060110; Sun, 8 Jan 2012 05:24:28 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q07KOG0K069524; Sun, 8 Jan 2012 05:24:18 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 08 Jan 2012 05:23:46 +0900 (JST) Message-Id: <20120108.052346.1749642548460957219.hrs@allbsd.org> To: feld@feld.me From: Hiroki Sato In-Reply-To: <891fe25c-1560-479f-b855-1713c1c7a976@email.android.com> References: <20120107.211122.2051906580877809031.hrs@allbsd.org> <891fe25c-1560-479f-b855-1713c1c7a976@email.android.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Jan__8_05_23_47_2012_269)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Sun, 08 Jan 2012 05:24:29 +0900 (JST) X-Spam-Status: No, score=-104.6 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT, RDNS_NONE, SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-hackers@FreeBSD.org, freebsd-stable@FreeBSD.org Subject: Re: accepting rtadv broken on 9-STABLE, re driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 20:24:39 -0000 ----Security_Multipart(Sun_Jan__8_05_23_47_2012_269)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mark Felder wrote in <891fe25c-1560-479f-b855-1713c1c7a976@email.android.com>: fe> Hiroki Sato wrote: fe> > fe> > Is it correct that ACCEPT_RTADV option was enabled on the vboxnet0 fe> > and not on re0, even after setting net.inet6.ip6.accept_rtadv to 1 at fe> > boot time and ipv6_activate_all_interfaces="YES"? fe> > fe> >-- Hiroki fe> fe> Yes, that is the behavior I witnessed. It is an unexpected behavior and the flag should be set on all interfaces. Can you send me your /etc/rc.conf, /etc/sysctl.conf, and the result of "ifconfig -a"? -- Hiroki ----Security_Multipart(Sun_Jan__8_05_23_47_2012_269)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk8IqdMACgkQTyzT2CeTzy3pOACgrf7Nswg4G4Qv36PG2YuIxgsx 368An07NJeMghZcDWFDp113d+I3pCW/+ =EXCC -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Jan__8_05_23_47_2012_269)----