From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 10:00:24 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC6FD1065698 for ; Sun, 29 Aug 2010 10:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 92A878FC17 for ; Sun, 29 Aug 2010 10:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7TA0OZP030073 for ; Sun, 29 Aug 2010 10:00:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7TA0OfP030044; Sun, 29 Aug 2010 10:00:24 GMT (envelope-from gnats) Resent-Date: Sun, 29 Aug 2010 10:00:24 GMT Resent-Message-Id: <201008291000.o7TA0OfP030044@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "N.J. Mann" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A878A1065670 for ; Sun, 29 Aug 2010 09:59:15 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp003.apm-internet.net (smtp003.apm-internet.net [85.119.248.52]) by mx1.freebsd.org (Postfix) with SMTP id 20EE38FC1E for ; Sun, 29 Aug 2010 09:59:14 +0000 (UTC) Received: (qmail 33175 invoked from network); 29 Aug 2010 09:32:33 -0000 Received: from unknown (HELO oberon.njm.me.uk) (86.148.212.219) by smtp003.apm-internet.net with SMTP; 29 Aug 2010 09:32:33 -0000 Received: from titania.njm.me.uk (titania.njm.me.uk [192.168.144.130]) by oberon.njm.me.uk (8.14.4/8.14.4) with ESMTP id o7T9WXe5090623 for ; Sun, 29 Aug 2010 10:32:33 +0100 (BST) (envelope-from njm@oberon.njm.me.uk) Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.4/8.14.4) with ESMTP id o7T9WXTi070188 for ; Sun, 29 Aug 2010 10:32:33 +0100 (BST) (envelope-from njm@titania.njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.4/8.14.4/Submit) id o7T9WWSN070156; Sun, 29 Aug 2010 10:32:32 +0100 (BST) (envelope-from njm) Message-Id: <201008290932.o7T9WWSN070156@titania.njm.me.uk> Date: Sun, 29 Aug 2010 10:32:32 +0100 (BST) From: "N.J. Mann" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/150082: [patch] gsched.8 fixes for errors in EXAMPLES section X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "N.J. Mann" List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 10:00:24 -0000 >Number: 150082 >Category: docs >Synopsis: [patch] gsched.8 fixes for errors in EXAMPLES section >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 29 10:00:23 UTC 2010 >Closed-Date: >Last-Modified: >Originator: N.J. Mann >Release: FreeBSD 8.1-STABLE i386 >Organization: >Environment: System: FreeBSD titania.njm.me.uk 8.1-STABLE FreeBSD 8.1-STABLE #26 r211698M: Mon Aug 23 09:07:05 BST 2010 njm@titania.njm.me.uk:/usr/obj/usr/src/sys/titania i386 >Description: In the example in the EXAMPLES section of the gsched(8) man page it begins by claiming that the example will 'create a scheduling provider for disk /dev/da0'. However, the example is actually for ad0. Also, the example uses 'geom sched insert -s rr' . There is no option 's'. This should (probably) be 'geom sched insert -a rr'. This was noted by Bruce Cran[1] when gsched was originally committed to SVN, but seems to have been ignored. [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2010/svn-src-all/20100502.svn-src-all >How-To-Repeat: man gsched >Fix: The first patch changes /dev/da0 to /dev/ad0 so that the example is correct within itself. The second patch changes '-s rr' to '-a rr'. --- gsched.8.patch.diff begins here --- --- gsched.8.orig 2010-08-29 09:56:38.000000000 +0100 +++ gsched.8 2010-08-29 09:58:03.000000000 +0100 @@ -135,7 +135,7 @@ Exit status is 0 on success, and 1 if the command fails. .Sh EXAMPLES The following example shows how to create a scheduling provider for disk -.Pa /dev/da0 +.Pa /dev/ad0 , and how to destroy it. .Bd -literal -offset indent # Load the geom_sched module: --- gsched.8.patch.diff ends here --- --- gsched.8.patch2.diff begins here --- --- gsched.8~ 2010-08-29 09:58:03.000000000 +0100 +++ gsched.8 2010-08-29 10:16:32.000000000 +0100 @@ -143,7 +143,7 @@ # Load some scheduler classes used by geom_sched: kldload gsched_rr gsched_as # Configure device ad0 to use scheduler 'rr': -geom sched insert -s rr ad0 +geom sched insert -a rr ad0 # Now provider ad0 uses the 'rr' algorithm; # the new geom is ad0.sched. # Remove the scheduler on the device: --- gsched.8.patch2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 08:22:06 2010 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95AC6106566B for ; Sun, 29 Aug 2010 08:22:06 +0000 (UTC) (envelope-from cvoth@telus.net) Received: from defout.telus.net (outbound02.telus.net [199.185.220.221]) by mx1.freebsd.org (Postfix) with ESMTP id 16EC18FC1E for ; Sun, 29 Aug 2010 08:22:04 +0000 (UTC) Received: from edmwaa03.telusplanet.net ([66.183.53.162]) by priv-edmwes34.telusplanet.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20100829074554.PFFW17370.priv-edmwes34.telusplanet.net@edmwaa03.telusplanet.net> for ; Sun, 29 Aug 2010 01:45:54 -0600 Received: from oliver.bc.lan (d66-183-53-162.bchsia.telus.net [66.183.53.162]) by edmwaa03.telusplanet.net (BorderWare Security Platform) with ESMTP id CFB033566BE3053E for ; Sun, 29 Aug 2010 01:45:54 -0600 (MDT) Received: from [10.111.111.112] (unknown [10.111.111.112]) by oliver.bc.lan (Postfix) with ESMTP id B25F76455 for ; Sun, 29 Aug 2010 00:45:53 -0700 (PDT) Message-ID: <4C7A1031.90405@telus.net> Date: Sun, 29 Aug 2010 00:45:53 -0700 From: Carl Voth User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.7) Gecko/20100713 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: freebsd-doc@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=OLenbRwo57T6Sn1+VhldvRIs5GzSCS4oRO9p7f0eBGE= c=1 sm=0 a=8nJEP1OIZ-IA:10 a=HNgjH8kF64GtJ7EcXKEMsQ==:17 a=sY9VHECwn3CnRxvCY28A:9 a=34NJvY7KM5RNr7MIAXYpe8Z2JDAA:4 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-Mailman-Approved-At: Sun, 29 Aug 2010 11:14:28 +0000 Cc: Subject: gpart man page error X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 08:22:06 -0000 There is a typo in the gpart(8) man page. The 'efi' partition type GUID is given as c12a7328-f81f-11d2-ba4b-00a0c93ec93ab when it should actually be c12a7328-f81f-11d2-ba4b-00a0c93ec93b Hopefully this does not reflect an error in gpart source code as well. --Carl From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 08:35:09 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF98B1065674 for ; Sun, 29 Aug 2010 08:35:09 +0000 (UTC) (envelope-from pierre.dubuc@simple-it.fr) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF698FC13 for ; Sun, 29 Aug 2010 08:35:08 +0000 (UTC) Received: by vws7 with SMTP id 7so4864258vws.13 for ; Sun, 29 Aug 2010 01:35:08 -0700 (PDT) Received: by 10.220.62.136 with SMTP id x8mr1903751vch.177.1283070908235; Sun, 29 Aug 2010 01:35:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.190.132 with HTTP; Sun, 29 Aug 2010 01:34:48 -0700 (PDT) In-Reply-To: <20100828212659.GA5246@gothic.blackend.org> References: <20100828212659.GA5246@gothic.blackend.org> From: Pierre Dubuc Date: Sun, 29 Aug 2010 10:34:48 +0200 Message-ID: To: Marc Fonvieille X-Mailman-Approved-At: Sun, 29 Aug 2010 11:15:57 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-doc Subject: Re: Tutorial FreeBSD on a French website X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 08:35:09 -0000 Hello Marc, I understand. Please let me know if you reconsider this part of your website. Regards -- Pierre Dubuc Directeur du d=E9veloppement Email : pierre.dubuc@simple-it.fr T=E9l : +33 (0)1 80 88 80 35 Fax : +33 (0)1 80 88 80 31 Simple IT 23 Rue Le Peletier 75009 Paris France http://www.siteduzero.com 2010/8/28 Marc Fonvieille > On Thu, Aug 26, 2010 at 04:40:14PM +0200, Pierre Dubuc wrote: > > Hello, > > > > I would like to inform you that a user of the French online community > "Site > > du Z=E9ro" (www.siteduzero.com, a tutorial website) made a very nice an= d > > complete tutorial on FreeBSD. > > You can see it on the following address : > > > http://www.siteduzero.com/tutoriel-3-273305-freebsd-et-l-envers-du-decor.= html > > > > I let you browse it to see how high the quality of this tutorial is. Of > > course, the aim is not to replace the official handbook. > > This tutorial could be an interesting alternative for beginners, which > could > > be noticed on the part "Ressources web" of the French FreeBSD website. > > > > Hello Pierre, > > Your tutorial is really interesting and may help a lot of newcomers. > > Regarding the addition of the link to the translated (the french one in > this case) version of the FreeBSD website, it is difficult. The > translated versions, are translations of the main (english) website so > we shouldn't add directly a link to a french, german, whatever version > if this link is not already on the main site. > For the moment we hardly add links on the main FreeBSD website to externa= l > tutorials (out from some sites like FreeBSDDiary, etc.), perhaps we shoul= d > reconsider this and work on a more extended > http://www.freebsd.org/docs/webresources.html page. > > -- > Marc > From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 11:21:51 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86ACF10656BD; Sun, 29 Aug 2010 11:21:51 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F0B98FC21; Sun, 29 Aug 2010 11:21:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7TBLp24020947; Sun, 29 Aug 2010 11:21:51 GMT (envelope-from uqs@freefall.freebsd.org) Received: (from uqs@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7TBLp1p020943; Sun, 29 Aug 2010 11:21:51 GMT (envelope-from uqs) Date: Sun, 29 Aug 2010 11:21:51 GMT Message-Id: <201008291121.o7TBLp1p020943@freefall.freebsd.org> To: uqs@FreeBSD.org, freebsd-doc@FreeBSD.org, uqs@FreeBSD.org From: uqs@FreeBSD.org Cc: Subject: Re: docs/150082: [patch] gsched.8 fixes for errors in EXAMPLES section X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 11:21:51 -0000 Synopsis: [patch] gsched.8 fixes for errors in EXAMPLES section Responsible-Changed-From-To: freebsd-doc->uqs Responsible-Changed-By: uqs Responsible-Changed-When: Sun Aug 29 11:21:50 UTC 2010 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=150082 From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 12:13:06 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0725D10656AA; Sun, 29 Aug 2010 12:13:06 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D19638FC1E; Sun, 29 Aug 2010 12:13:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7TCD5rC072792; Sun, 29 Aug 2010 12:13:05 GMT (envelope-from blackend@freefall.freebsd.org) Received: (from blackend@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7TCD5qn072788; Sun, 29 Aug 2010 12:13:05 GMT (envelope-from blackend) Date: Sun, 29 Aug 2010 12:13:05 GMT Message-Id: <201008291213.o7TCD5qn072788@freefall.freebsd.org> To: jamesthefishy@gmail.com, blackend@FreeBSD.org, freebsd-doc@FreeBSD.org From: blackend@FreeBSD.org Cc: Subject: Re: docs/145817: [handbook] I believe the freebsd-update handbook page contains one extra step. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 12:13:06 -0000 Synopsis: [handbook] I believe the freebsd-update handbook page contains one extra step. State-Changed-From-To: open->closed State-Changed-By: blackend State-Changed-When: Sun Aug 29 12:10:19 UTC 2010 State-Changed-Why: As said in a note: "Depending on whether any libraries version numbers got bumped, there may only be two install phases instead of three." I think you missed this note, and in your case: upgrading from 7.2-R to 7.3-R two install phases are enough. So no need to change the doc. http://www.freebsd.org/cgi/query-pr.cgi?pr=145817 From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 13:58:50 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121D910656AA for ; Sun, 29 Aug 2010 13:58:50 +0000 (UTC) (envelope-from charlie@begeistert.org) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.29.28]) by mx1.freebsd.org (Postfix) with ESMTP id CE0FC8FC15 for ; Sun, 29 Aug 2010 13:58:49 +0000 (UTC) Received: from [77.10.11.71] (helo=fuchsia.local) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1OpiDi-0001OF-9j for doc@freebsd.org; Sun, 29 Aug 2010 15:46:51 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: doc@freebsd.org Date: Sun, 29 Aug 2010 15:46:49 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Charlie Clark" Message-ID: User-Agent: Opera Mail/10.61 (MacIntel) X-Df-Sender: 827922 Cc: Subject: Updating virtualisation docs X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 13:58:50 -0000 Hi, first of all great that there is such a section. I hit a wall a while back with FreeBSD 7.x on Parallels 4 on MacOS X. I couldn't get it to upgrade successfully to 8. Well, the upgrade went ahead but the network stack wouldn't work. I recently tried a separate 8.1 install and after a number of tries came up with the following settings: 1) FreeBSD 8.x needs bridged networking, ie. a dedicated device. It can be installed on shared networking using the boot-only image but will subsequently fail to load a network device. 2) If installing on a shared network then when selecting an FTP server passive mode must be used. 3) A single slice for "/" seems to make sense on VMs like Parallels which can dynamically resize. I've been so often bitten by "/" filling up when installing ports, etc. that this option could, in my view, do with some greater publicity. If desirable I can supply screenshots of my install. Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 From owner-freebsd-doc@FreeBSD.ORG Sun Aug 29 22:30:30 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4240F10656A9; Sun, 29 Aug 2010 22:30:30 +0000 (UTC) (envelope-from jamesthefishy@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA688FC14; Sun, 29 Aug 2010 22:30:29 +0000 (UTC) Received: by pxi17 with SMTP id 17so2181752pxi.13 for ; Sun, 29 Aug 2010 15:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WPlE+QF4DQVBIcJt9UvGkcLUNcM8Ll6QdeJQ7/H4Q8s=; b=MKvPBPjfpCe5tLbZ8ULpIrnJ9bmhTNtZUvv4WXmnelbf98HFqs7gP+L4DLcTOkMiOm nepecwFJ5WkxPLGLU+EYmgSBqd/TDIFmH1ZGe0Ff6viifb99MiccxQA8MjdOgoj4Xldq fX+RoVoxCQqrzocet2WgLC8GlQgRwy4F9SUtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=ewadojcxxqRjLSRFHmnHxlRufkBdT1ikUXukiLHuo7uHDzJVOA8OdbyDFtD31X1fTJ UZ0OiGzHb9XSKZuH35DolZy9qb7m5eLKVaMkJ78TyOx9y83LvlziYaJ7nTqVqltfjRsj +c7H6X7szQ50qZdAsC2IBhcnoC/cGqZMTw5Ig= Received: by 10.114.156.10 with SMTP id d10mr4071127wae.229.1283119497373; Sun, 29 Aug 2010 15:04:57 -0700 (PDT) Received: from mjbrune.org (c-67-170-46-147.hsd1.wa.comcast.net [67.170.46.147]) by mx.google.com with ESMTPS id d2sm2640040wam.14.2010.08.29.15.04.56 (version=SSLv3 cipher=RC4-MD5); Sun, 29 Aug 2010 15:04:56 -0700 (PDT) Message-ID: <4C7ADA96.4040407@gmail.com> Date: Sun, 29 Aug 2010 15:09:26 -0700 From: James Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.8) Gecko/20100811 Thunderbird/3.1.2 MIME-Version: 1.0 To: blackend@FreeBSD.org References: <201008291213.o7TCD5qn072788@freefall.freebsd.org> In-Reply-To: <201008291213.o7TCD5qn072788@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-doc@FreeBSD.org Subject: Re: docs/145817: [handbook] I believe the freebsd-update handbook page contains one extra step. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2010 22:30:30 -0000 On 08/29/10 05:13, blackend@FreeBSD.org wrote: > Synopsis: [handbook] I believe the freebsd-update handbook page contains one extra step. > > State-Changed-From-To: open->closed > State-Changed-By: blackend > State-Changed-When: Sun Aug 29 12:10:19 UTC 2010 > State-Changed-Why: > As said in a note: "Depending on whether any libraries version numbers > got bumped, there may only be two install phases instead of three." I > think you missed this note, and in your case: upgrading from 7.2-R to > 7.3-R two install phases are enough. So no need to change the doc. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=145817 > Oh I am sorry, you are correct. I must have missed it. From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 00:05:26 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18413106566C for ; Mon, 30 Aug 2010 00:05:26 +0000 (UTC) (envelope-from blahbleh666@hotmail.com) Received: from snt0-omc1-s34.snt0.hotmail.com (snt0-omc1-s34.snt0.hotmail.com [65.55.90.45]) by mx1.freebsd.org (Postfix) with ESMTP id E394A8FC16 for ; Mon, 30 Aug 2010 00:05:25 +0000 (UTC) Received: from SNT130-W13 ([65.55.90.7]) by snt0-omc1-s34.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 29 Aug 2010 16:53:24 -0700 Message-ID: X-Originating-IP: [76.201.155.84] From: J D To: Date: Sun, 29 Aug 2010 18:53:24 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 29 Aug 2010 23:53:24.0938 (UTC) FILETIME=[5E8212A0:01CB47D5] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kernel Building Documentation for 8.1-REL X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 00:05:26 -0000 Greetings FreeBSD Team! I'm having difficulty building and installing a new kernel while following = the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-buil= ding.html it appears that this page especially is out of date. It only mentions the = requirement of ssys and sbase distribution sets=2C but much googling (as I = run into each problem) suggests that more sets of sources are necessary. I= eventually installed them all=2C because I don't know which are necessary.= Another page that could use some help is the description of the configura= tion file: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-conf= ig.html as it no longer matches the config file in i386 very closely. I (and probably many others) would appreciate if these pages were corrected= . Pretty please? :) Much thanks for all that you do! -Jared = From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 00:10:02 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3055310656AA for ; Mon, 30 Aug 2010 00:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DF52F8FC21 for ; Mon, 30 Aug 2010 00:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U0A1P0085838 for ; Mon, 30 Aug 2010 00:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U0A1BQ085837; Mon, 30 Aug 2010 00:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2010 00:10:01 GMT Resent-Message-Id: <201008300010.o7U0A1BQ085837@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1615C10656AE for ; Mon, 30 Aug 2010 00:08:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id BA50D8FC22 for ; Mon, 30 Aug 2010 00:08:22 +0000 (UTC) Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA11.westchester.pa.mail.comcast.net with comcast id 0JRg1f0040xGWP85BQ8Nbb; Mon, 30 Aug 2010 00:08:22 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta12.westchester.pa.mail.comcast.net with comcast id 0Q8M1f00Z3LrwQ23YQ8NGv; Mon, 30 Aug 2010 00:08:22 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 8218D9B425; Sun, 29 Aug 2010 17:08:20 -0700 (PDT) Message-Id: <20100830000820.8218D9B425@icarus.home.lan> Date: Sun, 29 Aug 2010 17:08:20 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/150101: gsched(8) -- cites da0 then gives examples for ad0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 00:10:02 -0000 >Number: 150101 >Category: docs >Synopsis: gsched(8) -- cites da0 then gives examples for ad0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 00:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Aug 2 07:35:23 PDT 2010 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64 >Description: Looks like a simple typo. The EXAMPLE section indicates how to create a scheduling provider for /dev/da0, but then all the proceeding examples talk about /dev/ad0: EXAMPLES The following example shows how to create a scheduling provider for disk /dev/da0 , and how to destroy it. # Load the geom_sched module: kldload geom_sched # Load some scheduler classes used by geom_sched: kldload gsched_rr gsched_as # Configure device ad0 to use scheduler 'rr': geom sched insert -s rr ad0 # Now provider ad0 uses the 'rr' algorithm; # the new geom is ad0.sched. # Remove the scheduler on the device: geom sched destroy -v ad0.sched. >How-To-Repeat: n/a >Fix: Change /dev/da0 in the first paragraph under EXAMPLE to /dev/ad0. Also while you're there, remove the extraneous space between the device name and the comma (e.g. /dev/da0 , and ...). :-) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 00:40:01 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EBC2106566C for ; Mon, 30 Aug 2010 00:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F00FC8FC1B for ; Mon, 30 Aug 2010 00:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U0e0aV016835 for ; Mon, 30 Aug 2010 00:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U0e0d8016834; Mon, 30 Aug 2010 00:40:00 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2010 00:40:00 GMT Resent-Message-Id: <201008300040.o7U0e0d8016834@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 348C410656A6 for ; Mon, 30 Aug 2010 00:34:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8D2008FC13 for ; Mon, 30 Aug 2010 00:34:06 +0000 (UTC) Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta12.westchester.pa.mail.comcast.net with comcast id 0P5a1f0051c6gX85CQa76d; Mon, 30 Aug 2010 00:34:07 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta23.westchester.pa.mail.comcast.net with comcast id 0Qa61f00D3LrwQ23jQa7g6; Mon, 30 Aug 2010 00:34:07 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 5077B9B425; Sun, 29 Aug 2010 17:34:05 -0700 (PDT) Message-Id: <20100830003405.5077B9B425@icarus.home.lan> Date: Sun, 29 Aug 2010 17:34:05 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/150102: gsched(8) -- "geom sched insert" example uses incorrect flags X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 00:40:01 -0000 >Number: 150102 >Category: docs >Synopsis: gsched(8) -- "geom sched insert" example uses incorrect flags >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 00:40:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 8.1-STABLE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Aug 2 07:35:23 PDT 2010 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_8_amd64 amd64 >Description: The EXAMPLE section of gsched(8) states that to make a device use the "rr" scheduler, you should use "geom sched insert -s rr ". This simply does not work (geom states "illegal option -- s"). What it should say is to use -a, not -s. >How-To-Repeat: Follow EXAMPLE instructions. >Fix: See above. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 05:18:39 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCBE910656B6; Mon, 30 Aug 2010 05:18:39 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A398F8FC0A; Mon, 30 Aug 2010 05:18:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U5IdFO004677; Mon, 30 Aug 2010 05:18:39 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U5Id7B004673; Mon, 30 Aug 2010 05:18:39 GMT (envelope-from maxim) Date: Mon, 30 Aug 2010 05:18:39 GMT Message-Id: <201008300518.o7U5Id7B004673@freefall.freebsd.org> To: freebsd@jdc.parodius.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/150101: gsched(8) -- cites da0 then gives examples for ad0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 05:18:39 -0000 Synopsis: gsched(8) -- cites da0 then gives examples for ad0 State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Mon Aug 30 05:17:04 UTC 2010 State-Changed-Why: Duplicate of docs/150082 (already fixed). http://www.freebsd.org/cgi/query-pr.cgi?pr=150101 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 05:18:59 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 579D91065670; Mon, 30 Aug 2010 05:18:59 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3B38FC12; Mon, 30 Aug 2010 05:18:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U5IxbZ004725; Mon, 30 Aug 2010 05:18:59 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U5IxE2004721; Mon, 30 Aug 2010 05:18:59 GMT (envelope-from maxim) Date: Mon, 30 Aug 2010 05:18:59 GMT Message-Id: <201008300518.o7U5IxE2004721@freefall.freebsd.org> To: freebsd@jdc.parodius.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/150102: gsched(8) -- "geom sched insert" example uses incorrect flags X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 05:18:59 -0000 Synopsis: gsched(8) -- "geom sched insert" example uses incorrect flags State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Mon Aug 30 05:18:46 UTC 2010 State-Changed-Why: Duplicate of docs/150082 (already fixed). http://www.freebsd.org/cgi/query-pr.cgi?pr=150102 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 07:06:52 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E1F10656A3; Mon, 30 Aug 2010 07:06:51 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB8148FC17; Mon, 30 Aug 2010 07:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U76pn3017864; Mon, 30 Aug 2010 07:06:51 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U76pJP017860; Mon, 30 Aug 2010 07:06:51 GMT (envelope-from maxim) Date: Mon, 30 Aug 2010 07:06:51 GMT Message-Id: <201008300706.o7U76pJP017860@freefall.freebsd.org> To: wblock@wonkity.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/148534: [patch] iscontrol.8 missing option X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 07:06:52 -0000 Synopsis: [patch] iscontrol.8 missing option State-Changed-From-To: patched->closed State-Changed-By: maxim State-Changed-When: Mon Aug 30 07:06:33 UTC 2010 State-Changed-Why: Merged to RELENG_8. http://www.freebsd.org/cgi/query-pr.cgi?pr=148534 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 07:11:36 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9139210656AE; Mon, 30 Aug 2010 07:11:36 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 68B898FC15; Mon, 30 Aug 2010 07:11:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7U7BarS028478; Mon, 30 Aug 2010 07:11:36 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7U7BaNF028474; Mon, 30 Aug 2010 07:11:36 GMT (envelope-from maxim) Date: Mon, 30 Aug 2010 07:11:36 GMT Message-Id: <201008300711.o7U7BaNF028474@freefall.freebsd.org> To: wblock@wonkity.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/148697: [patch] u3g.4 duplicate "Is" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 07:11:36 -0000 Synopsis: [patch] u3g.4 duplicate "Is" State-Changed-From-To: patched->closed State-Changed-By: maxim State-Changed-When: Mon Aug 30 07:11:19 UTC 2010 State-Changed-Why: Merged to RELENG_8. http://www.freebsd.org/cgi/query-pr.cgi?pr=148697 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 08:32:53 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11EE41065696 for ; Mon, 30 Aug 2010 08:32:53 +0000 (UTC) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (ns0.blackend.org [82.227.222.164]) by mx1.freebsd.org (Postfix) with ESMTP id 812618FC24 for ; Mon, 30 Aug 2010 08:32:51 +0000 (UTC) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.4/8.13.3) with ESMTP id o7U8Wnx9012965; Mon, 30 Aug 2010 10:32:49 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost [127.0.0.1]) by gothic.blackend.org (8.14.4/8.14.4) with ESMTP id o7U8WnPa001535; Mon, 30 Aug 2010 10:32:49 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.14.4/8.14.4/Submit) id o7U8Wm4V001534; Mon, 30 Aug 2010 10:32:48 +0200 (CEST) (envelope-from marc) Date: Mon, 30 Aug 2010 10:32:48 +0200 From: Marc Fonvieille To: J D Message-ID: <20100830083248.GA1499@gothic.blackend.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Useless-Header: blackend.org X-Operating-System: FreeBSD 8.1-RELEASE User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-doc@freebsd.org Subject: Re: Kernel Building Documentation for 8.1-REL X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 08:32:53 -0000 On Sun, Aug 29, 2010 at 06:53:24PM -0500, J D wrote: > > Greetings FreeBSD Team! > > I'm having difficulty building and installing a new kernel while following the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html > > it appears that this page especially is out of date. It only mentions the requirement of ssys and sbase distribution sets, but much googling (as I run into each problem) suggests that more sets of sources are necessary. I eventually installed them all, because I don't know which are necessary. Another page that could use some help is the description of the configuration file: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html > > as it no longer matches the config file in i386 very closely. > > I (and probably many others) would appreciate if these pages were corrected. Pretty please? :) > Yes, some parts need to be updated. Could you please fill-in a PR about that, it helps us to keep a track of things. -- Marc From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 11:06:06 2010 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB9CC10656AC for ; Mon, 30 Aug 2010 11:06:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D96D38FC1E for ; Mon, 30 Aug 2010 11:06:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UB66ZS086684 for ; Mon, 30 Aug 2010 11:06:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UB66b0086682 for freebsd-doc@FreeBSD.org; Mon, 30 Aug 2010 11:06:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Aug 2010 11:06:06 GMT Message-Id: <201008301106.o7UB66b0086682@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD doc list Cc: Subject: Current unassigned doc problem reports X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 11:06:07 -0000 (Note: an HTML version of this report is available at http://www.freebsd.org/cgi/query-pr-summary.cgi?category=doc .) The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o docs/150030 doc [patch] dbopen(3) manpage not updated with r190497 cha o docs/149979 doc [PATCH] Add RETURN VALUES section to devclass_get_maxu o docs/149978 doc [PATCH] Address missing EINVAL requirement for cpu_set o docs/149950 doc [patch] glob(3)'s reference to regex(3) is spelled inc o docs/149925 doc [patch] [geom] add MOUNTVER and SCHED class entries an o docs/149845 doc unify spelling of blocksize, block-size and block size o docs/149574 doc [patch] update mi_switch(9) man page o docs/149522 doc Russian network article: incorrect translation about n o docs/149238 doc ntptrace(8) man page is still around, ntptrace is not o docs/149106 doc xfs.5: non-working mount example o docs/149051 doc [request] No document for clang or clang++ o docs/149047 doc [patch] tcsh(1) bears no mention of brace expansion in o docs/148987 doc [patch] {MD[245]|SHA_|SHA1_|SHA256_}{End|File|FileChun o docs/148984 doc [handbook] Mistake in section 16.15.4 of the handbook o docs/148683 doc [patch] connect(2) man page does not show ECONNRESET e o docs/148680 doc [sysctl][patch] Document some sys/kern sysctls p docs/148535 doc [patch] kldload.8 -q option corrections o docs/148071 doc Failover mode between wired and wireless interfaces o docs/148037 doc bge(4) does not list all devices in if_bge.c / if_bger o docs/147995 doc elf.5 man page has has missing reference o docs/147268 doc Imporve Porters Handbook section 4.4 - Patching o docs/146958 doc bad link to "XaQti XMAC II datasheet" in sk(4) manual o docs/146521 doc [handbook] Update IPv6 system handbook section to ment o docs/146195 doc [patch] wrap ata.4 lines on terminal boundary o docs/146047 doc [kld] [patch] the kldstat(2) manual needs to be more p o docs/145719 doc [patch] 7.3 relnotes erroneously describes new getpage o docs/145699 doc hexdump(1) mutes all format qualifier output following o docs/145644 doc Add artical about creating manpage from scratch o docs/145069 doc Dialup firewalling with FreeBSD article out dated. o docs/145051 doc [patch] missing closing parenthesis in 7.3 relnotes ar o docs/144986 doc [pf] pf.conf example should show allowing icmp through o docs/144893 doc [handbook] handbook section 18.16.1 Disk Encryption wi o docs/144818 doc all mailinglist archives dated 19970101 contain traili o docs/144630 doc [patch] domainname(1) manpage contains old information o docs/144543 doc [handbook] IPFW doc change o docs/144537 doc Missing _mdconfig_list and _mdconfig2_list explanation o docs/144534 doc [patch] fdescfs(5) and devfs(5) both provide /dev/fd/{ o docs/144515 doc [handbook] Expand handbook Table of contents o docs/144488 doc share/examples/etc/make.conf: contains dangerous examp o docs/144408 doc [patch] update makefs(8) (remove device option) o docs/143850 doc procfs(5) manpage for status > controlling terminal is o docs/143472 doc gethostname(3) references undefined value: HOST_NAME_M o docs/143416 doc [handbook] IPFW handbook page issues o docs/143408 doc man filedesc(9) is missing o docs/143342 doc Developer's handbook contains stale information. o docs/143330 doc [patch] strtonum(3) does undocumented clobbering of er o docs/142917 doc top(1) man page does not include information about VCS o docs/142437 doc [request] Errata Notices Index missing a docs/142341 doc jail(8): Jail escape when cwd is moved from the host s o docs/142168 doc [patch] ld(1): ldd(1) not mentioned in ld(1) manpage o docs/141032 doc misleading documentation for rtadvd.conf(5) raflags se s docs/140847 doc [request] add documentation on ECMP and new route args o docs/140495 doc [patch] /etc/rc.conf.d is not documented in rc.conf(5) o docs/140457 doc [patch] Grammar fix for isspace(3) o docs/140444 doc [patch] New Traditional Chinese translation of custom- o docs/140435 doc ls(1), section STANDARD: the -A is exception from POSI o docs/140375 doc [UPDATE] Updated zh_TW.Big5/articles/nanobsd o docs/140369 doc [patch] src/contrib/pf/man/pf.4 o docs/140075 doc release notes: missing word "NOT", which changes all t o docs/139336 doc [request] ZFS documentation suggestion o docs/139165 doc gssapi.3 man page out of sync with between crypto and o docs/139153 doc [patch] the hier(7) man page needs to be updated o docs/139018 doc translation of submitting.sgml from docproj/submitting o docs/138887 doc manpage ports(7) incorrect o docs/138845 doc Exceeding kern.ipc.maxpipekva refers to tuning(7) whic o docs/138663 doc system(3) man page confuses users about "return value o docs/138485 doc bpf(4) and ip(4) man pages missing important corner ca o docs/137762 doc [handbook] proposed: mention "make delete-old" in sec o docs/136712 doc [handbook] [patch] draft new section on gmirror per pa o docs/136666 doc [handbook] Configure serial port for remote kernel deb o docs/136035 doc ftpchroot(5) omits an important option p docs/136029 doc MALLOC_PRODUCTION knob should be mentioned somewhere, o docs/135999 doc Netgear GS105v3 should be added to list of switches th o docs/135516 doc pax(1) manual not mentioning chflags unawareness o docs/135475 doc [patch] jot(1) manpage and behaviour differ o docs/134226 doc /usr/share/examples/ftpd/ftpd.conf does not exist. o docs/134222 doc installation failure of japanese docs o docs/134123 doc The RUNQUEUE(9) man page is out of date o docs/132884 doc [request] No manpage for SYSINIT and SYSUNINIT o docs/132839 doc [patch] Fix example script in ldap-auth article o docs/132718 doc [handbook] Information about adding a new mirror is ou o docs/132311 doc [patch] man5/nsmb.conf.5 o docs/132260 doc dhcpd(8) pid not stored in documented location o docs/132190 doc EPERM explanation for send(2), sendto(2), and sendmsg( o docs/132113 doc [handbook] Update handbook jails creation o docs/131918 doc [patch] Fixes for the BPF(4) man page o docs/131684 doc [patch] articles/linux-comparison: replace Addenda by o docs/131626 doc [patch] dump(8) "recommended" cache option confusing o docs/131625 doc [patch] Typos in ed(1) man page o docs/130364 doc Man page for top needs explanation of CPU states o docs/130238 doc nfs.lockd man page doesn't mention NFSLOCKD option or o docs/129671 doc New TCP chapter for Developer's Handbook (from rwatson o docs/129464 doc using packages system o docs/129095 doc ipfw(8): Can not check that packet originating/destine o docs/128524 doc No geom documentation for loading gjournal(8) s docs/128356 doc [request] add Firefox plugin for FreeBSD manual pages o docs/127908 doc [patch] readdir(3) error documentation s docs/127844 doc Example code skeleton_capture_n.c in meteor(4) manpage o docs/127253 doc Error in Handbook: http://www.freebsd.org/doc/en/books o docs/126590 doc [patch] Write routine called forever in Sample Echo Ps o docs/126484 doc libc function res-zonscut2 is not documented o docs/125921 doc lpd(8) talks about blocks in minfree while it is KB in o docs/125751 doc man 3 pthread_getschedparam section ERRORS incomplete f kern/124111 docs i386_set_ldt(2): kernel says see i386_set_ldt; man pag f docs/122052 doc minor update on handbook section 20.7.1 o docs/121952 doc Handbook chapter on Network Address Translation wrong o docs/121871 doc ftpd does not interpret configuration files as documen o docs/121585 doc [handbook] Wrong multicast specification o docs/121565 doc dhcp-options(5) manpage incorrectly formatted omitting s docs/121541 doc [request] no man pages for wlan_scan_ap o docs/121312 doc RELNOTES_LANG breaks release if not en_US.ISO8859-1 o docs/121173 doc [patch] mq_getattr(2): mq_flags mistakenly described a s docs/120917 doc [request]: Man pages mising for thr_xxx syscalls o docs/120539 doc Inconsistent ipfw's man page o docs/120125 doc [patch] Installing FreeBSD 7.0 via serial console and o docs/120024 doc resolver(5) and hosts(5) need updated for IPv6 o docs/119545 doc books/arch-handbook/usb/chapter.sgml formatting o docs/118902 doc [patch] wrong signatures in d2i_RSAPublicKey man pages o docs/118332 doc man page for top does not describe STATE column wait e o docs/118214 doc close(2) error returns incomplete o docs/118020 doc ipfilter(4): man pages query for man 4 ipfilter return o docs/117747 doc 'break' system call needs a man page o docs/116116 doc mktemp (3) re/move note o docs/116080 doc PREFIX is documented, but not the more important LOCAL o docs/115065 doc [patch] sync ps.1 with p_flag and keywords o docs/114371 doc [patch] [ip6] rtadvd.con(5) should show how to adverti o docs/114139 doc mbuf(9) has misleading comments on M_DONTWAIT and M_TR o docs/113194 doc [patch] [request] crontab.5: handling of day-in-month o docs/112804 doc groff(1) command should be called to explicitly use "p o docs/112682 doc Handbook GEOM_GPT explanation does not provide accurat o docs/111425 doc Missing chunks of text in historical manpages o docs/111265 doc [request] Clarify how to set common shell variables o docs/111147 doc hostapd.conf is not documented o docs/110999 doc carp(4) should document unsupported interface types o docs/110692 doc wi(4) man page doesn't say WPA is not supported o docs/110376 doc [patch] add some more explanations for the iwi/ipw fir o docs/110253 doc [patch] rtprio(1): remove processing starvation commen o docs/110062 doc [patch] mount_nfs(8) fails to mention a failure condit o docs/110061 doc [patch] tuning(7) missing reference to vfs.read_max o docs/109981 doc No manual entry for post-grohtml o docs/109977 doc No manual entry for ksu o docs/109973 doc No manual entry for c++filt o docs/109972 doc No manual entry for zless/bzless f docs/109226 doc [request] No manual entry for sntp o docs/109201 doc [request]: manual for callbootd a docs/108980 doc list of missing man pages o docs/108101 doc /boot/default/loader.conf contains an incorrect commen o docs/106135 doc [request] articles/vinum needs to be updated o docs/105608 doc fdc(4) debugging description staled o docs/104879 doc Howto: Listen to IMA ADPCM .wav files on FreeBSD box o docs/102719 doc [patch] ng_bpf(4) example leads to unneeded promiscuos o docs/101464 doc sync ru_RU.KOI8-R/articles/portbuild/article.html with o docs/100196 doc man login.conf does explain not "unlimited" o docs/99506 doc FreeBSD Handbook addition: IPv6 Server Settings o docs/98974 doc Missing tunables in loader(8) manpage o docs/98115 doc Missing parts after rendering handbook to RTF format o docs/96207 doc Comments of a sockaddr_un structure could confuse one o docs/94625 doc [patch] growfs man page -- document "panic: not enough o docs/92626 doc jail manpage should mention disabling some periodic sc o docs/91506 doc ndis(4) man page should be more specific about support o docs/91174 doc [REQUEST] Handbook: Addition of Oracle 9i installation o docs/91149 doc read(2) can return EINVAL for unaligned access to bloc o docs/88512 doc [patch] mount_ext2fs(8) man page has no details on lar o docs/87936 doc Handbook chapter on NIS/YP lacks good information on a o docs/87857 doc ifconfig(8) wireless options order matters o docs/86342 doc bikeshed entry of Handbook is wrong o docs/85128 doc [patch] loader.conf(5) autoboot_delay incompletly desc o docs/84956 doc [patch] intro(5) manpage doesn't mention API coverage o docs/84932 doc new document: printing with an Epson ALC-3000N on Free o docs/84670 doc [patch] tput(1) manpage missing ENVIRONMENT section wi o docs/84317 doc fdp-primer doesn't show class=USERNAME distinctively o docs/84271 doc [patch] compress(1) doesn't warn about nasty link hand o docs/83820 doc getino(3) manpage not installed o docs/81611 doc [patch] natd runs with -same_ports by default o docs/78480 doc Networked printer setup unnecessarily complex in handb o docs/61605 doc [request] Improve documentation for i386 disk geometry o docs/61301 doc [patch] Manpage patch for aue(4) to enable HomePNA fun o docs/59835 doc ipfw(8) man page does not warn about accepted but mean o docs/59477 doc Outdated Info Documents at http://docs.freebsd.org/inf o docs/59044 doc [patch] doc.docbook.mk does not properly handle a sour s docs/54752 doc bus_dma explained in ISA section in Handbook: should b o docs/53751 doc bus_dma(9) incorrectly documents BUS_DMA_ALLOCNOW o docs/53596 doc Updates to mt(1) manual page o docs/53271 doc bus_dma(9) fails to document alignment restrictions o docs/50211 doc [patch] doc.docbook.mk: fix textfile creation o docs/43823 doc [patch] update to environ(7) manpage o docs/41089 doc pax(1) -B option does not mention interaction with -z o docs/40423 doc Keyboard(4)'s definition of parameters to GETFKEY/SETF o docs/38982 doc [patch] developers-handbook/Jail fix o docs/38556 doc EPS file of beastie, as addition to existing examples s docs/35678 doc docproj Makefiles for web are broken for paths with sp s docs/33589 doc [patch] to doc.docbook.mk to post process .tex files. a docs/30008 doc [patch] French softupdates document should be translat o docs/27605 doc [patch] Cross-document references () o docs/26286 doc *printf(3) etc should gain format string warnings o docs/24786 doc missing FILES descriptions in sa(4) s docs/20028 doc ASCII docs should reflect tags in the sourc 197 problems total. From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 13:10:05 2010 Return-Path: Delivered-To: freebsd-docs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E679A106566C for ; Mon, 30 Aug 2010 13:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D69188FC21 for ; Mon, 30 Aug 2010 13:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UDA5WP013114 for ; Mon, 30 Aug 2010 13:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UDA5BP013107; Mon, 30 Aug 2010 13:10:05 GMT (envelope-from gnats) Date: Mon, 30 Aug 2010 13:10:05 GMT Message-Id: <201008301310.o7UDA5BP013107@freefall.freebsd.org> To: freebsd-docs@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/124111: commit references a PR X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 13:10:06 -0000 The following reply was made to PR kern/124111; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/124111: commit references a PR Date: Mon, 30 Aug 2010 13:08:27 +0000 (UTC) Author: tijl Date: Mon Aug 30 13:08:13 2010 New Revision: 211995 URL: http://svn.freebsd.org/changeset/base/211995 Log: MFC r182959: Remove warning about static LDT segment allocation. Applications continue using it after ~7 years since warning was introduced, and there is no reason to discourage them. PR: kern/124111 Approved by: kib (mentor) Modified: stable/6/sys/i386/i386/sys_machdep.c Directory Properties: stable/6/sys/ (props changed) stable/6/sys/contrib/pf/ (props changed) stable/6/sys/dev/cxgb/ (props changed) Modified: stable/6/sys/i386/i386/sys_machdep.c ============================================================================== --- stable/6/sys/i386/i386/sys_machdep.c Mon Aug 30 13:05:21 2010 (r211994) +++ stable/6/sys/i386/i386/sys_machdep.c Mon Aug 30 13:08:13 2010 (r211995) @@ -500,9 +500,6 @@ i386_get_ldt(td, uap) return(error); } -static int ldt_warnings; -#define NUM_LDT_WARNINGS 10 - int i386_set_ldt(td, uap, descs) struct thread *td; @@ -549,12 +546,6 @@ i386_set_ldt(td, uap, descs) } if (!(uap->start == LDT_AUTO_ALLOC && uap->num == 1)) { - /* complain a for a while if using old methods */ - if (ldt_warnings++ < NUM_LDT_WARNINGS) { - printf("Warning: pid %d used static ldt allocation.\n", - td->td_proc->p_pid); - printf("See the i386_set_ldt man page for more info\n"); - } /* verify range of descriptors to modify */ largest_ld = uap->start + uap->num; if (uap->start >= MAX_LD || _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 13:10:31 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B8D10656A9; Mon, 30 Aug 2010 13:10: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 648798FC19; Mon, 30 Aug 2010 13:10:31 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0712C46B29; Mon, 30 Aug 2010 09:10:31 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F01DA8A03C; Mon, 30 Aug 2010 09:10:29 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org, Alexander Fiveg Date: Mon, 30 Aug 2010 08:16:11 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <20100827201140.GA2812@debmaster-laptop> In-Reply-To: <20100827201140.GA2812@debmaster-laptop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008300816.11278.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 30 Aug 2010 09:10:29 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 13:10:31 -0000 On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > Hi, > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > GDB": > "... > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > ... > " > Actually I couldn't debug my modules using .ko-file. Moreover, I've find out that .ko files do not contain sections with debugging info. With .kld-file debugging works out. Do I something incorrectly or the info in the Developers Book is outdated? With newer versions of kgdb you shouldn't need to manually invoke 'add-symbol- file'. Kernel modules are treated as shared libraries and should automatically be loaded. Try using 'info sharedlibrary' to see the list of kernel modules and if symbols for them are loaded already. -- John Baldwin From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 13:18:51 2010 Return-Path: Delivered-To: freebsd-docs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C122510656A4; Mon, 30 Aug 2010 13:18:51 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97AF38FC1F; Mon, 30 Aug 2010 13:18:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UDIph7023500; Mon, 30 Aug 2010 13:18:51 GMT (envelope-from tijl@freefall.freebsd.org) Received: (from tijl@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UDIplF023496; Mon, 30 Aug 2010 13:18:51 GMT (envelope-from tijl) Date: Mon, 30 Aug 2010 13:18:51 GMT Message-Id: <201008301318.o7UDIplF023496@freefall.freebsd.org> To: tedu@fogcreek.com, tijl@FreeBSD.org, freebsd-docs@FreeBSD.org, tijl@FreeBSD.org From: tijl@FreeBSD.org Cc: Subject: Re: kern/124111: i386_set_ldt(2): kernel says see i386_set_ldt; man page doesn't help X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 13:18:51 -0000 Synopsis: i386_set_ldt(2): kernel says see i386_set_ldt; man page doesn't help State-Changed-From-To: feedback->closed State-Changed-By: tijl State-Changed-When: Mon Aug 30 13:14:28 UTC 2010 State-Changed-Why: The warning has been removed from 6-STABLE now. Responsible-Changed-From-To: freebsd-docs->tijl Responsible-Changed-By: tijl Responsible-Changed-When: Mon Aug 30 13:14:28 UTC 2010 Responsible-Changed-Why: The warning has been removed from 6-STABLE now. http://www.freebsd.org/cgi/query-pr.cgi?pr=124111 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 16:12:57 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BF0B106566C; Mon, 30 Aug 2010 16:12:57 +0000 (UTC) (envelope-from pebu3op@googlemail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 811E08FC08; Mon, 30 Aug 2010 16:12:55 +0000 (UTC) Received: by ewy4 with SMTP id 4so3571832ewy.13 for ; Mon, 30 Aug 2010 09:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=badbaG216MEApN2909jiRjsOdZZV9j+MQNQbobCgVck=; b=kxNPIHplJ/6YzkUTT/Sz42gV/fOMJVjMyvrjcpkBdF6hx6KO93rrPZxNcpFx2LcKiy joDQPu5ug5RYdMtMjyr7cyvvY0K0viAMii3AFUMzDIKld17goEruhlwAYe0GdCt49V/u XrW5CYhOytWH8Sh+4H4nZMDoP/4ThExlvc0V8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=deKjsDvqEL0QR2Bu6h7JJb2wDziZnz5z+QPMtp5VxLRGIfF6n+9NGK1m4B075cJWkT Y1m78qTuFz4GO1HZU5jO/jEk9ryPVxZYsmL8nD6bpqziFcyNES6EBcLjFVIDhC3V7GzY iQ6Y3ywjHOkLmlXHqjMWJ9xsA7qiwB0bfZN5E= Received: by 10.216.7.129 with SMTP id 1mr5104650wep.90.1283184774889; Mon, 30 Aug 2010 09:12:54 -0700 (PDT) Received: from debmaster-laptop ([130.149.220.190]) by mx.google.com with ESMTPS id k7sm4558220wej.26.2010.08.30.09.12.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 09:12:53 -0700 (PDT) Date: Mon, 30 Aug 2010 18:12:50 +0200 From: Alexander Fiveg To: John Baldwin Message-ID: <20100830161250.GA3135@debmaster-laptop> Mail-Followup-To: John Baldwin , freebsd-hackers@freebsd.org, doc@freebsd.org References: <20100827201140.GA2812@debmaster-laptop> <201008300816.11278.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201008300816.11278.jhb@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Fiveg List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 16:12:57 -0000 On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > Hi, > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > GDB": > > "... > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > > ... > > " > > Actually I couldn't debug my modules using .ko-file. Moreover, I've find out > that .ko files do not contain sections with debugging info. With .kld-file > debugging works out. Do I something incorrectly or the info in the Developers > Book is outdated? > > With newer versions of kgdb you shouldn't need to manually invoke 'add-symbol- > file'. Kernel modules are treated as shared libraries and should > automatically be loaded. Try using 'info sharedlibrary' to see the list of > kernel modules and if symbols for them are loaded already. Yes, the .ko files are loaded automatically. The problem is that they do not contain debugging info. I have always to load the .kld file in order to debug a module: (kgdb) f 9 #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from /boot/kernel/if_ringmap.ko (kgdb) info locals No symbol table info available. (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld 0xc4dafc70 add symbol table from file "/home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld" at .text_addr = 0xc4dafc70 (y or n) y Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld...done. (kgdb) f 9 #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../dev/e1000/ringmap_8254.c:142 142 co->ring->slot[slot_num].ts = co->ring->last_ts; (kgdb) info locals co = (struct capt_object *) 0xc4d68380 adapter = (struct adapter *) 0xc4e77000 __func__ = "E\000\000�\034@\000\000\211\203�E\000\000\017\206B\022\000\000\2039\000\213A\004\017\205�\f\000\000\001��1�" Is there any way to get the all symbols and needed debug info without loading the .kld file ? Alex > > -- > John Baldwin > _______________________________________________ > 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" -- Alexander Fiveg Key fingerprint = ECBB 747C 919D 78F5 E8EC 7DBC 8B46 376D 107B CCAA From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 16:30:45 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A813C1065673; Mon, 30 Aug 2010 16:30:45 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C29348FC25; Mon, 30 Aug 2010 16:30:44 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA14332; Mon, 30 Aug 2010 19:30:43 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C7BDCB2.8090803@icyb.net.ua> Date: Mon, 30 Aug 2010 19:30:42 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.8) Gecko/20100823 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, doc@freebsd.org, pebu3op@googlemail.com References: <20100827201140.GA2812@debmaster-laptop> <201008300816.11278.jhb@freebsd.org> <20100830161250.GA3135@debmaster-laptop> In-Reply-To: <20100830161250.GA3135@debmaster-laptop> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 16:30:45 -0000 on 30/08/2010 19:12 Alexander Fiveg said the following: > Yes, the .ko files are loaded automatically. The problem is that they do > not contain debugging info. I have always to load the .kld file in order to > debug a module: хытшзъ > Is there any way to get the all symbols and needed debug info without > loading the .kld file ? As I've already suggested the symbols are in *.symbols files. If you have those then they should be loaded automatically, as John has suggested. If you don't have them, then arrange to have them. -- Andriy Gapon From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 17:00:07 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DFB61065695 for ; Mon, 30 Aug 2010 17:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB958FC21 for ; Mon, 30 Aug 2010 17:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UH07TW044593 for ; Mon, 30 Aug 2010 17:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UH07J3044586; Mon, 30 Aug 2010 17:00:07 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2010 17:00:07 GMT Resent-Message-Id: <201008301700.o7UH07J3044586@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jared Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5EBC1065693 for ; Mon, 30 Aug 2010 16:51:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D5C2E8FC34 for ; Mon, 30 Aug 2010 16:51:53 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7UGprTF005644 for ; Mon, 30 Aug 2010 16:51:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7UGpr3e005643; Mon, 30 Aug 2010 16:51:53 GMT (envelope-from nobody) Message-Id: <201008301651.o7UGpr3e005643@www.freebsd.org> Date: Mon, 30 Aug 2010 16:51:53 GMT From: Jared To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/150124: Request for update of "building the kernel" section of the handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 17:00:07 -0000 >Number: 150124 >Category: docs >Synopsis: Request for update of "building the kernel" section of the handbook >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 17:00:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jared >Release: i386 8.1-REL >Organization: >Environment: (sorry I don't have this handy, but I don't think it's necessary) >Description: I'm having difficulty building and installing a new kernel while following the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html it appears that this page especially is out of date. It only mentions the requirement of ssys and sbase distribution sets, but much googling (as I run into each problem) suggests that more sets of sources are necessary. I eventually installed them all, because I don't know which are necessary. Another page that could use some help is the description of the configuration file: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html as it no longer matches the config file in i386 very closely. I (and probably many others) would appreciate if these pages were corrected. Pretty please? :) Much thanks for all that you do! >How-To-Repeat: Try building a kernel whilst following the page. You will not succeed due to lack of additional source code sets. >Fix: I installed all the sources and it satisfied all requirements. Surely not every set is necessary for a vanilla compile (I was just adding sound support and removing support for hardware i don't have). >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 17:14:25 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 085C41065675; Mon, 30 Aug 2010 17:14:25 +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 CE0FB8FC13; Mon, 30 Aug 2010 17:14:24 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 68CB346B0C; Mon, 30 Aug 2010 13:14:24 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id A40278A03C; Mon, 30 Aug 2010 13:14:23 -0400 (EDT) From: John Baldwin To: Alexander Fiveg Date: Mon, 30 Aug 2010 13:10:37 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <20100827201140.GA2812@debmaster-laptop> <201008300816.11278.jhb@freebsd.org> <20100830161250.GA3135@debmaster-laptop> In-Reply-To: <20100830161250.GA3135@debmaster-laptop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201008301310.38148.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 30 Aug 2010 13:14:23 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-hackers@freebsd.org, doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 17:14:25 -0000 On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > Hi, > > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules U= sing > > > GDB": > > > "... > > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > > > ... > > > " > > > Actually I couldn't debug my modules using .ko-file. Moreover, I've f= ind out=20 > > that .ko files do not contain sections with debugging info. With .kld-f= ile=20 > > debugging works out. Do I something incorrectly or the info in the Deve= lopers=20 > > Book is outdated? > >=20 > > With newer versions of kgdb you shouldn't need to manually invoke 'add-= symbol- > > file'. Kernel modules are treated as shared libraries and should=20 > > automatically be loaded. Try using 'info sharedlibrary' to see the lis= t of=20 > > kernel modules and if symbols for them are loaded already. > Yes, the .ko files are loaded automatically. The problem is that they do > not contain debugging info. I have always to load the .kld file in order = to=20 > debug a module: >=20 > (kgdb) f 9 > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from > /boot/kernel/if_ringmap.ko > (kgdb) info locals > No symbol table info available. >=20 > (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules/rin= gmap/if_ringmap.kld 0xc4dafc70 > add symbol table from file "/home/alexandre/p4/ringmap/current/sys/module= s/ringmap/if_ringmap.kld" > at > .text_addr =3D 0xc4dafc70 > (y or n) y > Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/ringm= ap/if_ringmap.kld...done. >=20 > (kgdb) f 9=20 > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () > at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../dev/e= 1000/ringmap_8254.c:142 > 142 co->ring->slot[slot_num].ts =3D co->ring->last_ts; >=20 > (kgdb) info locals > co =3D (struct capt_object *) 0xc4d68380 > adapter =3D (struct adapter *) 0xc4e77000 > __func__ =3D "E\000\000=EF=BF=BD\034@\000\000\211\203=EF=BF=BDE\000\000\0= 17\206B\022\000\000\2039\000\213A\004\017\205=EF=BF=BD\f\000\000\001=EF=BF= =BD=EF=BF=BD1=EF=BF=BD" >=20 >=20 > Is there any way to get the all symbols and needed debug info without > loading the .kld file ? How are you compiling the kld? If you are building it by hand, use 'make DEBUG_FLAGS=3D-g' when you build and install the kld. That should bu= ild with debug symbols enabled and install the ko.symbols file which kgdb will find and use. =2D-=20 John Baldwin From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 18:38:16 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B61E210656B5; Mon, 30 Aug 2010 18:38:16 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DE238FC20; Mon, 30 Aug 2010 18:38:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UIcGng046508; Mon, 30 Aug 2010 18:38:16 GMT (envelope-from vwe@freefall.freebsd.org) Received: (from vwe@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UIcGgV046504; Mon, 30 Aug 2010 18:38:16 GMT (envelope-from vwe) Date: Mon, 30 Aug 2010 18:38:16 GMT Message-Id: <201008301838.o7UIcGgV046504@freefall.freebsd.org> To: vwe@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-doc@FreeBSD.org From: vwe@FreeBSD.org Cc: Subject: Re: docs/150098: [all] document naming conventions of jail names X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 18:38:16 -0000 Old Synopsis: Jail names New Synopsis: [all] document naming conventions of jail names Responsible-Changed-From-To: freebsd-bugs->freebsd-doc Responsible-Changed-By: vwe Responsible-Changed-When: Mon Aug 30 18:34:35 UTC 2010 Responsible-Changed-Why: over to the documentation team http://www.freebsd.org/cgi/query-pr.cgi?pr=150098 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 20:34:09 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C20FE10656AC; Mon, 30 Aug 2010 20:34:09 +0000 (UTC) (envelope-from pebu3op@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E5D8C8FC0A; Mon, 30 Aug 2010 20:34:08 +0000 (UTC) Received: by bwz20 with SMTP id 20so4767665bwz.13 for ; Mon, 30 Aug 2010 13:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=fNJoURYUUg9EbMwZk3AFJ5Dso4ALeUlBSB5YFgXhHOk=; b=d20+F8ZJH9umbtepvhgbm3SGOwLalLXBIktMY1gSHMuAoZD5jaMLaW1+HNSNYrm9Y0 OkT0x6Yek1gdygc6FtZRydbR1mVkGROvlFAlR4GYJlPPibmDUDsoy0Os5jK4E+Y9L+HK FMc4IyM0VHAFBwV9LAIZg5UR99Y6cBBswz+1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=oAOZhlU0fCiY4NyLnQ5SSAN1snPndKXTWopjGPc5nthJa4ZpbxHAnMntJoNhWxR5Gw zN3hQDhck3Leljyty0eG4J0CIU42lLOGTEJKUwfxO3amZf15ikhaSP6W0o2ws7A/ACQk 1t+tmuIbNlrkGMveZHKMzjCrSxVPbdcTWRLiw= Received: by 10.204.78.143 with SMTP id l15mr3773532bkk.22.1283200447526; Mon, 30 Aug 2010 13:34:07 -0700 (PDT) Received: from debmaster-laptop ([130.149.220.190]) by mx.google.com with ESMTPS id d27sm5572626bku.22.2010.08.30.13.34.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 13:34:06 -0700 (PDT) Date: Mon, 30 Aug 2010 22:34:04 +0200 From: Alexander Fiveg To: John Baldwin Message-ID: <20100830203404.GC3135@debmaster-laptop> Mail-Followup-To: John Baldwin , freebsd-hackers@freebsd.org, doc@freebsd.org References: <20100827201140.GA2812@debmaster-laptop> <201008300816.11278.jhb@freebsd.org> <20100830161250.GA3135@debmaster-laptop> <201008301310.38148.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201008301310.38148.jhb@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Fiveg List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 20:34:09 -0000 On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > > Hi, > > > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > > > GDB": > > > > "... > > > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > > > > ... > > > > " > > > > Actually I couldn't debug my modules using .ko-file. Moreover, I've find out > > > that .ko files do not contain sections with debugging info. With .kld-file > > > debugging works out. Do I something incorrectly or the info in the Developers > > > Book is outdated? > > > > > > With newer versions of kgdb you shouldn't need to manually invoke 'add-symbol- > > > file'. Kernel modules are treated as shared libraries and should > > > automatically be loaded. Try using 'info sharedlibrary' to see the list of > > > kernel modules and if symbols for them are loaded already. > > Yes, the .ko files are loaded automatically. The problem is that they do > > not contain debugging info. I have always to load the .kld file in order to > > debug a module: > > > > (kgdb) f 9 > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from > > /boot/kernel/if_ringmap.ko > > (kgdb) info locals > > No symbol table info available. > > > > (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld 0xc4dafc70 > > add symbol table from file "/home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld" > > at > > .text_addr = 0xc4dafc70 > > (y or n) y > > Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld...done. > > > > (kgdb) f 9 > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () > > at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../dev/e1000/ringmap_8254.c:142 > > 142 co->ring->slot[slot_num].ts = co->ring->last_ts; > > > > (kgdb) info locals > > co = (struct capt_object *) 0xc4d68380 > > adapter = (struct adapter *) 0xc4e77000 > > __func__ = "E\000\000�\034@\000\000\211\203�E\000\000\017\206B\022\000\000\2039\000\213A\004\017\205�\f\000\000\001��1�" > > > > > > Is there any way to get the all symbols and needed debug info without > > loading the .kld file ? > > How are you compiling the kld? If you are building it by hand, use > 'make DEBUG_FLAGS=-g' when you build and install the kld. That should build > with debug symbols enabled and install the ko.symbols file which kgdb will > find and use. Thanks a lot!. That is what I want to know. But I think this option is not mentioned anywhere. I could not find it in "man make make.conf" and also no mention about it in FreeBSD Developers' Handbook. Alex > > -- > John Baldwin -- Alexander Fiveg Key fingerprint = ECBB 747C 919D 78F5 E8EC 7DBC 8B46 376D 107B CCAA From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 21:07:21 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0426110656A9; Mon, 30 Aug 2010 21:07:21 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CF9CA8FC13; Mon, 30 Aug 2010 21:07:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UL7KhK096486; Mon, 30 Aug 2010 21:07:20 GMT (envelope-from bcr@freefall.freebsd.org) Received: (from bcr@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UL7Kib096482; Mon, 30 Aug 2010 21:07:20 GMT (envelope-from bcr) Date: Mon, 30 Aug 2010 21:07:20 GMT Message-Id: <201008302107.o7UL7Kib096482@freefall.freebsd.org> To: trasz@FreeBSD.org, bcr@FreeBSD.org, freebsd-doc@FreeBSD.org, bcr@FreeBSD.org From: bcr@FreeBSD.org Cc: Subject: Re: docs/143342: Developer's handbook contains stale information. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 21:07:21 -0000 Synopsis: Developer's handbook contains stale information. State-Changed-From-To: open->analyzed State-Changed-By: bcr State-Changed-When: Mon Aug 30 21:03:35 UTC 2010 State-Changed-Why: Take this one and set it to analyzed as there was some work done offline on this issue already. Responsible-Changed-From-To: freebsd-doc->bcr Responsible-Changed-By: bcr Responsible-Changed-When: Mon Aug 30 21:03:35 UTC 2010 Responsible-Changed-Why: Take this one and set it to analyzed as there was some work done offline on this issue already. http://www.freebsd.org/cgi/query-pr.cgi?pr=143342 From owner-freebsd-doc@FreeBSD.ORG Mon Aug 30 21:46:24 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F50410656A7; Mon, 30 Aug 2010 21:46:24 +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 D1F968FC0C; Mon, 30 Aug 2010 21:46:23 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4FC9C46B5B; Mon, 30 Aug 2010 17:46:23 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E53138A04E; Mon, 30 Aug 2010 17:46:14 -0400 (EDT) From: John Baldwin To: Alexander Fiveg Date: Mon, 30 Aug 2010 17:34:01 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <20100827201140.GA2812@debmaster-laptop> <201008301310.38148.jhb@freebsd.org> <20100830203404.GC3135@debmaster-laptop> In-Reply-To: <20100830203404.GC3135@debmaster-laptop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201008301734.01740.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 30 Aug 2010 17:46:14 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-hackers@freebsd.org, doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 21:46:24 -0000 On Monday, August 30, 2010 4:34:04 pm Alexander Fiveg wrote: > On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > > > Hi, > > > > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modul= es Using > > > > > GDB": > > > > > "... > > > > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > > > > > ... > > > > > " > > > > > Actually I couldn't debug my modules using .ko-file. Moreover, I'= ve find out=20 > > > > that .ko files do not contain sections with debugging info. With .k= ld-file=20 > > > > debugging works out. Do I something incorrectly or the info in the = Developers=20 > > > > Book is outdated? > > > >=20 > > > > With newer versions of kgdb you shouldn't need to manually invoke '= add-symbol- > > > > file'. Kernel modules are treated as shared libraries and should=20 > > > > automatically be loaded. Try using 'info sharedlibrary' to see the= list of=20 > > > > kernel modules and if symbols for them are loaded already. > > > Yes, the .ko files are loaded automatically. The problem is that they= do > > > not contain debugging info. I have always to load the .kld file in or= der to=20 > > > debug a module: > > >=20 > > > (kgdb) f 9 > > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from > > > /boot/kernel/if_ringmap.ko > > > (kgdb) info locals > > > No symbol table info available. > > >=20 > > > (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules= /ringmap/if_ringmap.kld 0xc4dafc70 > > > add symbol table from file "/home/alexandre/p4/ringmap/current/sys/mo= dules/ringmap/if_ringmap.kld" > > > at > > > .text_addr =3D 0xc4dafc70 > > > (y or n) y > > > Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/r= ingmap/if_ringmap.kld...done. > > >=20 > > > (kgdb) f 9=20 > > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () > > > at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../d= ev/e1000/ringmap_8254.c:142 > > > 142 co->ring->slot[slot_num].ts =3D co->ring->last_ts; > > >=20 > > > (kgdb) info locals > > > co =3D (struct capt_object *) 0xc4d68380 > > > adapter =3D (struct adapter *) 0xc4e77000 > > > __func__ =3D "E\000\000=EF=BF=BD\034@\000\000\211\203=EF=BF=BDE\000\0= 00\017\206B\022\000\000\2039\000\213A\004\017\205=EF=BF=BD\f\000\000\001=EF= =BF=BD=EF=BF=BD1=EF=BF=BD" > > >=20 > > >=20 > > > Is there any way to get the all symbols and needed debug info without > > > loading the .kld file ? > >=20 > > How are you compiling the kld? If you are building it by hand, use > > 'make DEBUG_FLAGS=3D-g' when you build and install the kld. That shoul= d build > > with debug symbols enabled and install the ko.symbols file which kgdb w= ill > > find and use. > Thanks a lot!. That is what I want to know. But I think this option is no= t=20 > mentioned anywhere. I could not find it in "man make make.conf" and also= =20 > no mention about it in FreeBSD Developers' Handbook.=20 It's a bit of a "feature" of the bsd.*.mk files that if you define 'DEBUG_FLAGS' it is added to CFLAGS (and CXXFLAGS) and that any resulting binaries are not stripped, etc. The same trick can be used to build debug versions of binaries and libraries. It probably is underdocumented. Not sure make.conf(5) is the right place as the typical usage is on the command line, not in /etc/make.conf or /etc/src.conf. However, I can't think of a better place. Maybe src.conf(5)? =2D-=20 John Baldwin From owner-freebsd-doc@FreeBSD.ORG Tue Aug 31 19:27:22 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF92F10656CD; Tue, 31 Aug 2010 19:27:22 +0000 (UTC) (envelope-from pebu3op@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 211218FC17; Tue, 31 Aug 2010 19:27:21 +0000 (UTC) Received: by bwz20 with SMTP id 20so5667456bwz.13 for ; Tue, 31 Aug 2010 12:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:reply-to:mail-followup-to:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=xXU6XnTMhcHF4/5CfNrs1OOZOGlBGxVv7+35HQE6BKY=; b=YSLovpT9ilJsrQwAcEJUA/mWYjuwuzu3v+PcDpb90Q0EiHNT1X4WFW62pK4YYbMEoL poLdrSY6xwA+RR8K+MoSEqs/IogPj0NK3WLdr5x7uKleKq9cpuHUaqSmmwcUmMu3e44d QDxctULarUUWHPOY1CfSy8gua7brzBOHQ15SI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; b=LI9PQiryc0AJ9c5P4YUDsfAPcxWA0POdXcRagSFJBBrcigrbw1u/im7SbJt40ISEEN 73AG+kA9AB4cZfFtJobmpLtSDMTjBUudyLHnvayOYIA6YbyhHPtDxtsVDMi+naFXf4pG /F/So+DfODiPBf26cf1KSebBGt65Dt2ZiAEt8= Received: by 10.204.45.136 with SMTP id e8mr4907302bkf.94.1283282840627; Tue, 31 Aug 2010 12:27:20 -0700 (PDT) Received: from debmaster-laptop ([130.149.220.190]) by mx.google.com with ESMTPS id f18sm6542426bkf.3.2010.08.31.12.27.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 31 Aug 2010 12:27:19 -0700 (PDT) Date: Tue, 31 Aug 2010 21:27:16 +0200 From: Alexander Fiveg To: John Baldwin Message-ID: <20100831192716.GB5521@debmaster-laptop> Mail-Followup-To: John Baldwin , freebsd-hackers@freebsd.org, doc@freebsd.org References: <20100827201140.GA2812@debmaster-laptop> <201008301310.38148.jhb@freebsd.org> <20100830203404.GC3135@debmaster-laptop> <201008301734.01740.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201008301734.01740.jhb@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, doc@freebsd.org Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Fiveg List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 19:27:23 -0000 On Mon, Aug 30, 2010 at 05:34:01PM -0400, John Baldwin wrote: > On Monday, August 30, 2010 4:34:04 pm Alexander Fiveg wrote: > > On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > > > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > > > > Hi, > > > > > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > > > > > GDB": > > > > > > "... > > > > > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > > > > > > ... > > > > > > " > > > > > > Actually I couldn't debug my modules using .ko-file. Moreover, I've find out > > > > > that .ko files do not contain sections with debugging info. With .kld-file > > > > > debugging works out. Do I something incorrectly or the info in the Developers > > > > > Book is outdated? > > > > > > > > > > With newer versions of kgdb you shouldn't need to manually invoke 'add-symbol- > > > > > file'. Kernel modules are treated as shared libraries and should > > > > > automatically be loaded. Try using 'info sharedlibrary' to see the list of > > > > > kernel modules and if symbols for them are loaded already. > > > > Yes, the .ko files are loaded automatically. The problem is that they do > > > > not contain debugging info. I have always to load the .kld file in order to > > > > debug a module: > > > > > > > > (kgdb) f 9 > > > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from > > > > /boot/kernel/if_ringmap.ko > > > > (kgdb) info locals > > > > No symbol table info available. > > > > > > > > (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld 0xc4dafc70 > > > > add symbol table from file "/home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld" > > > > at > > > > .text_addr = 0xc4dafc70 > > > > (y or n) y > > > > Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld...done. > > > > > > > > (kgdb) f 9 > > > > #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () > > > > at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../dev/e1000/ringmap_8254.c:142 > > > > 142 co->ring->slot[slot_num].ts = co->ring->last_ts; > > > > > > > > (kgdb) info locals > > > > co = (struct capt_object *) 0xc4d68380 > > > > adapter = (struct adapter *) 0xc4e77000 > > > > __func__ = "E\000\000�\034@\000\000\211\203�E\000\000\017\206B\022\000\000\2039\000\213A\004\017\205�\f\000\000\001��1�" > > > > > > > > > > > > Is there any way to get the all symbols and needed debug info without > > > > loading the .kld file ? > > > > > > How are you compiling the kld? If you are building it by hand, use > > > 'make DEBUG_FLAGS=-g' when you build and install the kld. That should build > > > with debug symbols enabled and install the ko.symbols file which kgdb will > > > find and use. > > Thanks a lot!. That is what I want to know. But I think this option is not > > mentioned anywhere. I could not find it in "man make make.conf" and also > > no mention about it in FreeBSD Developers' Handbook. > > It's a bit of a "feature" of the bsd.*.mk files that if you define > 'DEBUG_FLAGS' it is added to CFLAGS (and CXXFLAGS) and that any resulting > binaries are not stripped, etc. The same trick can be used to build debug > versions of binaries and libraries. It probably is underdocumented. Not > sure make.conf(5) is the right place as the typical usage is on the command > line, not in /etc/make.conf or /etc/src.conf. However, I can't think of a > better place. Maybe src.conf(5)? Anyway, "FreeBSD Developers' Handbook" wouldn't be wrong place for it :) > > -- > John Baldwin -- Alexander Fiveg Key fingerprint = ECBB 747C 919D 78F5 E8EC 7DBC 8B46 376D 107B CCAA From owner-freebsd-doc@FreeBSD.ORG Tue Aug 31 20:52:16 2010 Return-Path: Delivered-To: doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ABB510656AA; Tue, 31 Aug 2010 20:52:16 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from mxout0.bln1.prohost.de (mxout1.bln1.prohost.de [213.160.84.47]) by mx1.freebsd.org (Postfix) with ESMTP id 9EEF38FC1E; Tue, 31 Aug 2010 20:52:15 +0000 (UTC) Received: from Benedicts-Macbook-Pro.local (p508D654E.dip.t-dialin.net [80.141.101.78]) (authenticated bits=0) by mx1.bln1.prohost.de (8.14.1/8.14.1) with ESMTP id o7VKfSFC005940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Aug 2010 22:41:29 +0200 Message-ID: <4C7D68FF.9080209@FreeBSD.org> Date: Tue, 31 Aug 2010 22:41:35 +0200 From: Benedict Reuschling Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: John Baldwin , freebsd-hackers@FreeBSD.org, doc@FreeBSD.org References: <20100827201140.GA2812@debmaster-laptop> <201008301310.38148.jhb@freebsd.org> <20100830203404.GC3135@debmaster-laptop> <201008301734.01740.jhb@freebsd.org> <20100831192716.GB5521@debmaster-laptop> In-Reply-To: <20100831192716.GB5521@debmaster-laptop> X-Enigmail-Version: 1.1.1 OpenPGP: id=4A819348 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Null-Tag: 52368e8987b6b36ade734295e7113781 Cc: Subject: Re: Debugging Loadable Modules Using GDB X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bcr@FreeBSD.org List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 20:52:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 31.08.10 21:27, schrieb Alexander Fiveg: > On Mon, Aug 30, 2010 at 05:34:01PM -0400, John Baldwin wrote: >> On Monday, August 30, 2010 4:34:04 pm Alexander Fiveg wrote: >>> On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: >>> > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: >>>>> On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: >>>>> > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: >>>>>>> Hi, >>>>>>> from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using >>>>>>> GDB": >>>>>>> "... >>>>>>> (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 >>>>>>> ... >>>>>>> " >>>>>>> Actually I couldn't debug my modules using .ko-file. Moreover, I've find out >>>>>> that .ko files do not contain sections with debugging info. With .kld-file >>>>>> debugging works out. Do I something incorrectly or the info in the Developers >>>>>> Book is outdated? >>>>>> >>>>>> With newer versions of kgdb you shouldn't need to manually invoke 'add-symbol- >>>>>> file'. Kernel modules are treated as shared libraries and should >>>>>> automatically be loaded. Try using 'info sharedlibrary' to see the list of >>>>>> kernel modules and if symbols for them are loaded already. >>>>> Yes, the .ko files are loaded automatically. The problem is that they do >>>>> not contain debugging info. I have always to load the .kld file in order to >>>>> debug a module: >>>>> >>>>> (kgdb) f 9 >>>>> #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () from >>>>> /boot/kernel/if_ringmap.ko >>>>> (kgdb) info locals >>>>> No symbol table info available. >>>>> >>>>> (kgdb) add-symbol-file /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld 0xc4dafc70 >>>>> add symbol table from file "/home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld" >>>>> at >>>>> .text_addr = 0xc4dafc70 >>>>> (y or n) y >>>>> Reading symbols from /home/alexandre/p4/ringmap/current/sys/modules/ringmap/if_ringmap.kld...done. >>>>> >>>>> (kgdb) f 9 >>>>> #9 0xc4dc558b in rm_8254_delayed_interrupt_per_packet () >>>>> at /home/alexandre/p4/ringmap/current/sys/modules/ringmap/../../dev/e1000/ringmap_8254.c:142 >>>>> 142 co->ring->slot[slot_num].ts = co->ring->last_ts; >>>>> >>>>> (kgdb) info locals >>>>> co = (struct capt_object *) 0xc4d68380 >>>>> adapter = (struct adapter *) 0xc4e77000 >>>>> __func__ = "E\000\000�\034@\000\000\211\203�E\000\000\017\206B\022\000\000\2039\000\213A\004\017\205�\f\000\000\001��1�" >>>>> >>>>> >>>>> Is there any way to get the all symbols and needed debug info without >>>>> loading the .kld file ? >>>> >>>> How are you compiling the kld? If you are building it by hand, use >>>> 'make DEBUG_FLAGS=-g' when you build and install the kld. That should build >>>> with debug symbols enabled and install the ko.symbols file which kgdb will >>>> find and use. >>> Thanks a lot!. That is what I want to know. But I think this option is not >>> mentioned anywhere. I could not find it in "man make make.conf" and also >>> no mention about it in FreeBSD Developers' Handbook. >> >> It's a bit of a "feature" of the bsd.*.mk files that if you define >> 'DEBUG_FLAGS' it is added to CFLAGS (and CXXFLAGS) and that any resulting >> binaries are not stripped, etc. The same trick can be used to build debug >> versions of binaries and libraries. It probably is underdocumented. Not >> sure make.conf(5) is the right place as the typical usage is on the command >> line, not in /etc/make.conf or /etc/src.conf. However, I can't think of a >> better place. Maybe src.conf(5)? > > Anyway, "FreeBSD Developers' Handbook" wouldn't be wrong place for it :) I recently grabbed that the PR regarding the removal of the two sections in question: http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/143342 Since I'm pretty blank when it come to knowledge about kld-debugging, I would appreciate some help integrating these changes you are discussing. If someone would write some sections about how this is being done, I volunteer to do the doc-related parts (formatting, grammar, sgml-markup and such). Otherwise, I would just remove these sections and close the PR. Regards Benedict Reuschling Mail: bcr@FreeBSD.org The FreeBSD Documentation Project FreeBSD German Documentation Project - https://doc.bsdgroup.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx9aPcACgkQTSZQLkqBk0j4hwCgj2DHo7PPNsDbWELdVXn8Dw4g UBQAnRGZB666EVGbU0u4ALLFWJPTbJ/C =u0gb -----END PGP SIGNATURE----- From owner-freebsd-doc@FreeBSD.ORG Tue Aug 31 22:00:47 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 572181065698; Tue, 31 Aug 2010 22:00:47 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2D6A58FC13; Tue, 31 Aug 2010 22:00:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7VM0l4l042697; Tue, 31 Aug 2010 22:00:47 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7VM0lsS042687; Tue, 31 Aug 2010 22:00:47 GMT (envelope-from arundel) Date: Tue, 31 Aug 2010 22:00:47 GMT Message-Id: <201008312200.o7VM0lsS042687@freefall.freebsd.org> To: arundel@FreeBSD.org, freebsd-doc@FreeBSD.org, freebsd-geom@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: docs/149925: [patch] [geom] add MOUNTVER and SCHED class entries and a reference to gsched(8) to the geom(8) manual X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 22:00:47 -0000 Synopsis: [patch] [geom] add MOUNTVER and SCHED class entries and a reference to gsched(8) to the geom(8) manual Responsible-Changed-From-To: freebsd-doc->freebsd-geom Responsible-Changed-By: arundel Responsible-Changed-When: Tue Aug 31 21:58:59 UTC 2010 Responsible-Changed-Why: This PR is probably more suitable for geom instead of doc. http://www.freebsd.org/cgi/query-pr.cgi?pr=149925 From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 08:50:03 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4AB910656A6 for ; Wed, 1 Sep 2010 08:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A3E888FC0C for ; Wed, 1 Sep 2010 08:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o818o389048833 for ; Wed, 1 Sep 2010 08:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o818o32X048832; Wed, 1 Sep 2010 08:50:03 GMT (envelope-from gnats) Date: Wed, 1 Sep 2010 08:50:03 GMT Message-Id: <201009010850.o818o32X048832@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Maxim Konovalov Cc: Subject: docs/149522 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 08:50:03 -0000 The following reply was made to PR docs/149522; it has been noted by GNATS. From: Maxim Konovalov To: Ildar Hizbulin Cc: bug-followup@freebsd.org Subject: docs/149522 Date: Wed, 1 Sep 2010 12:45:24 +0400 (MSD) Hello, It looks like you missed a word "instead" in the English version of the document: "If you only want to allow machines within your own network to synchronize their clocks with your server, but ensure they are not allowed to configure the server or used as peers to synchronize against, add restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap instead [...]" ^^^^^^^ So, the translation is correct. Can I close the PR? -- Maxim Konovalov From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 10:54:45 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 678D510656BA; Wed, 1 Sep 2010 10:54:45 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBBD8FC13; Wed, 1 Sep 2010 10:54:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o81Asjxb081966; Wed, 1 Sep 2010 10:54:45 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o81AsjEC081962; Wed, 1 Sep 2010 10:54:45 GMT (envelope-from maxim) Date: Wed, 1 Sep 2010 10:54:45 GMT Message-Id: <201009011054.o81AsjEC081962@freefall.freebsd.org> To: joshwebb@gmail.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/121871: ftpd does not interpret configuration files as documented X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 10:54:45 -0000 Synopsis: ftpd does not interpret configuration files as documented State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Wed Sep 1 10:52:36 UTC 2010 State-Changed-Why: This is well-known mess with the different versions of ftpd in the base system. There are already several opened PRs regarding this issue (e.g. docs/44519, docs/93785). http://www.freebsd.org/cgi/query-pr.cgi?pr=121871 From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 10:59:27 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7411310656BC; Wed, 1 Sep 2010 10:59:27 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3738FC20; Wed, 1 Sep 2010 10:59:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o81AxRPV084357; Wed, 1 Sep 2010 10:59:27 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o81AxQUe084353; Wed, 1 Sep 2010 10:59:26 GMT (envelope-from maxim) Date: Wed, 1 Sep 2010 10:59:26 GMT Message-Id: <201009011059.o81AxQUe084353@freefall.freebsd.org> To: f5_b@163.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/134226: /usr/share/examples/ftpd/ftpd.conf does not exist. X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 10:59:27 -0000 Synopsis: /usr/share/examples/ftpd/ftpd.conf does not exist. State-Changed-From-To: open->closed State-Changed-By: maxim State-Changed-When: Wed Sep 1 10:59:15 UTC 2010 State-Changed-Why: This is well-known mess with the different versions of ftpd in the base system. There are already several opened PRs regarding this issue (e.g. docs/44519, docs/93785). http://www.freebsd.org/cgi/query-pr.cgi?pr=134226 From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 12:09:14 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8D791065705; Wed, 1 Sep 2010 12:09:14 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8EF8D8FC1B; Wed, 1 Sep 2010 12:09:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o81C9E8P061472; Wed, 1 Sep 2010 12:09:14 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o81C9E6D061468; Wed, 1 Sep 2010 12:09:14 GMT (envelope-from maxim) Date: Wed, 1 Sep 2010 12:09:14 GMT Message-Id: <201009011209.o81C9E6D061468@freefall.freebsd.org> To: till.plewe@gmail.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/139153: [patch] the hier(7) man page needs to be updated X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 12:09:14 -0000 Synopsis: [patch] the hier(7) man page needs to be updated State-Changed-From-To: open->patched State-Changed-By: maxim State-Changed-When: Wed Sep 1 12:08:58 UTC 2010 State-Changed-Why: Fixed in HEAD. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=139153 From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 12:10:06 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E9F1065696 for ; Wed, 1 Sep 2010 12:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD678FC12 for ; Wed, 1 Sep 2010 12:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o81CA6tT061574 for ; Wed, 1 Sep 2010 12:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o81CA6ED061573; Wed, 1 Sep 2010 12:10:06 GMT (envelope-from gnats) Date: Wed, 1 Sep 2010 12:10:06 GMT Message-Id: <201009011210.o81CA6ED061573@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: docs/139153: commit references a PR X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 12:10:06 -0000 The following reply was made to PR docs/139153; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: docs/139153: commit references a PR Date: Wed, 1 Sep 2010 12:09:20 +0000 (UTC) Author: maxim Date: Wed Sep 1 12:08:54 2010 New Revision: 212094 URL: http://svn.freebsd.org/changeset/base/212094 Log: o Sync the man page with the reality: nfs/ includes are under include/ and include/fs/. PR: docs/139153 Submitted by: gjb MFC after: 1 week Modified: head/share/man/man7/hier.7 Modified: head/share/man/man7/hier.7 ============================================================================== --- head/share/man/man7/hier.7 Wed Sep 1 12:08:32 2010 (r212093) +++ head/share/man/man7/hier.7 Wed Sep 1 12:08:54 2010 (r212094) @@ -250,6 +250,8 @@ per-process file descriptors file system FIFOs file system .It Pa msdosfs/ MS-DOS file system +.It Pa nfs/ +C include files for NFS (Network File System) version 2, 3 and 4 .It Pa ntfs/ NTFS file system .It Pa nullfs/ @@ -334,7 +336,7 @@ include files for the UNI signalling pro .It Pa netsmb/ SMB/CIFS requester .It Pa nfs/ -C include files for NFS (Network File System) +C include files for NFS (Network File System) version 2 and 3 (legacy) .It Pa objc/ Objective C include files .It Pa openssl/ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-doc@FreeBSD.ORG Wed Sep 1 22:46:53 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5348E1065694 for ; Wed, 1 Sep 2010 22:46:53 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id E44298FC14 for ; Wed, 1 Sep 2010 22:46:52 +0000 (UTC) Received: by qwg5 with SMTP id 5so323221qwg.13 for ; Wed, 01 Sep 2010 15:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Hwraj7hwgc6niSz16W0qiFm23BbmFBf2Lgb9CwRJkaQ=; b=TJuyO5U6taEsNqI5qdGw+SZqa5kNwcgefAm8uM1sCaFosaYSD13tu06RxtJghonFs+ 3IUKvpaRSYuM7SX6hs/cOngHEtF1oeQFtbnN+M6PQkxGquu5ve1UQdPTXxgITeuA9c3v 9dyR9r8eIHcWYDPoEJMvEAKM/XgVaCaYPBXIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=sCbubhbUYSJ+P04B8VZH+RPeLEHrDSIQu1+lfO2a0f2XI/Aw7LQrSblTHYz/wwi7CD ptgnKRPViQBW+akYmjSam1sQYItT6eA7kDWB6trP/Q/HqXrDyenBLH9XP3e2yTA9v9wU MbZGcAZAHkeW/Q5A6t4XeFIRvajXubzgCIX9E= MIME-Version: 1.0 Received: by 10.224.127.196 with SMTP id h4mr4289380qas.180.1283381210570; Wed, 01 Sep 2010 15:46:50 -0700 (PDT) Sender: pali.gabor@googlemail.com Received: by 10.229.251.141 with HTTP; Wed, 1 Sep 2010 15:46:50 -0700 (PDT) Date: Thu, 2 Sep 2010 00:46:50 +0200 X-Google-Sender-Auth: 6_AZrxSHnQPEnMnCX8dP2x8dfQI Message-ID: From: Gabor PALI To: doc@freebsd.org, current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 22:46:53 -0000 Hello there, I am looking for volunteers who are interested in writing documentation, i.e. working with the FreeBSD Handbook and the documentation set. Many of our great documentation writers have decided to retire from their work over the last years, which means the FreeBSD Documentation Project is in need of talented, skilled, determined, and ambitious people who would help to maintain the tradition of producing high quality documentation for the FreeBSD operating system. The documentation set is prepared in DocBook that might seem a bit complicated at first sight, but I can assure you it can be learned quickly. All you need is good writing skills in English, some knowledge of FreeBSD systems, and willingness to learn even more about them. To coordinate and encourage the efforts, I have created a site [1] called "The FreeBSD Contributor's Documentation Project" that contains the necessary information. Note that there are many ways of contribution: you can comment open Problem Reports or write patches (by using Mercurial Queues for example), etc. depending on your free time. I can help with anything at the regular weekly IRC meetings, and you can contact me via email directly any time, and hopefully other documentation developers will also join me. Thank you for any help in advance. :g [1] http://doc.hu.freebsd.org/ From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 00:07:22 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F0531065696 for ; Thu, 2 Sep 2010 00:07:22 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id 49D1C8FC17 for ; Thu, 2 Sep 2010 00:07:22 +0000 (UTC) Received: (qmail 17189 invoked by uid 0); 1 Sep 2010 23:40:42 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 1 Sep 2010 23:40:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=X33Ld+19bxixvWrRNCCVTHH282hy8toNEGNhFpe4/1fUpArZDcE5qt4at4NvGZOVol4kDxo+7tuBGK24le94YKD5+2xoxwpFbfzkh8zEDpROCOmAsaI9a7EB8EUMDz51; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Oqwv3-0000OF-73 for doc@freebsd.org; Wed, 01 Sep 2010 17:40:42 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 01 Sep 2010 17:37:39 -0600 Date: Wed, 1 Sep 2010 17:37:39 -0600 From: Chad Perrin To: doc@freebsd.org Message-ID: <20100901233739.GB7180@guilt.hydra> Mail-Followup-To: doc@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 00:07:22 -0000 --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 02, 2010 at 12:46:50AM +0200, Gabor PALI wrote: > Hello there, [snip] I'd love to help out. I'll give the documentation project page a thorough look and start figuring out: 1. how I can fit this into my schedule 2. how to work with DocBook 3. what specifically I'll want to do to pitch in I'm pleasantly surprised to see you're using Mercurial for the project, too. That'll make things eas(y|ier). --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkx+48MACgkQ9mn/Pj01uKVtZQCgltuyddw5R62IuuDBng+fnYwc eSwAoOajZoliglEdKgb2Jz7qZK6SbZey =qHWw -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX-- From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 00:12:34 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C9E10656B8 for ; Thu, 2 Sep 2010 00:12:34 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6BD08FC17 for ; Thu, 2 Sep 2010 00:12:33 +0000 (UTC) Received: by qwg5 with SMTP id 5so414072qwg.13 for ; Wed, 01 Sep 2010 17:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=FZzAK4xHzpjQDLfC2FeL6PzbbfBVyaZegzkA+qbX5TI=; b=HmbKpjf9gMMlbyHm5joO+ZzYlV4MXfXDrWEqspTs58afRFLKEO7ZmXGe4DqX7WuYgA 9iDd3b5Uj99ux2HiQE+0fVB+zqB+cpnYG12QSthh4EzoxFkNFajnWHospJwc5Sra+e58 EIN2mc80tr7ClxBNtj8cL9aK2bjk8+DN8bJeU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=VP9yltjdSrAlz4X+YgE6jsyU/icIJ9mnSAEfUmgb5xWSC1TfCtVfI3R8UYKCmmM4pb pRLgRXyfYoPubyO2LVslx08i0ctZvLDSlMpe6mQdNE4T2xU9v3axlQ7FX44nJPwUpEyc ctKEqtpvtmWmQb1u/dqUMiybkcH1yz9jEbvWk= MIME-Version: 1.0 Received: by 10.224.113.101 with SMTP id z37mr5769026qap.103.1283386352867; Wed, 01 Sep 2010 17:12:32 -0700 (PDT) Sender: pali.gabor@googlemail.com Received: by 10.229.251.141 with HTTP; Wed, 1 Sep 2010 17:12:32 -0700 (PDT) In-Reply-To: <20100901233739.GB7180@guilt.hydra> References: <20100901233739.GB7180@guilt.hydra> Date: Thu, 2 Sep 2010 02:12:32 +0200 X-Google-Sender-Auth: xuUlFvQ9ptWIVH1xn6mRc0gvyAM Message-ID: From: Gabor PALI To: doc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 00:12:34 -0000 Hi, On Thu, Sep 2, 2010 at 1:37 AM, Chad Perrin wrote: > I'd love to help out. =A0I'll give the documentation project page a > thorough look and start figuring out Great, I am happy to hear. > I'm pleasantly surprised to see you're using Mercurial for the project, > too. =A0That'll make things eas(y|ier). It is just a Mercurial mirror, the real repository is still in CVS :) But anyhow, I agree that using hg might make the work easier, especially when you are thinking in long term. :g From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 06:07:39 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6AA71065697; Thu, 2 Sep 2010 06:07:39 +0000 (UTC) (envelope-from maxim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BE0758FC23; Thu, 2 Sep 2010 06:07:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8267dJi085850; Thu, 2 Sep 2010 06:07:39 GMT (envelope-from maxim@freefall.freebsd.org) Received: (from maxim@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8267dS0085846; Thu, 2 Sep 2010 06:07:39 GMT (envelope-from maxim) Date: Thu, 2 Sep 2010 06:07:39 GMT Message-Id: <201009020607.o8267dS0085846@freefall.freebsd.org> To: wblock@wonkity.com, maxim@FreeBSD.org, freebsd-doc@FreeBSD.org From: maxim@FreeBSD.org Cc: Subject: Re: docs/148535: [patch] kldload.8 -q option corrections X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 06:07:40 -0000 Synopsis: [patch] kldload.8 -q option corrections State-Changed-From-To: patched->closed State-Changed-By: maxim State-Changed-When: Thu Sep 2 06:07:20 UTC 2010 State-Changed-Why: Merged to RELENG_8. http://www.freebsd.org/cgi/query-pr.cgi?pr=148535 From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 06:34:05 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD7E310656FD; Thu, 2 Sep 2010 06:34:05 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9B38FC0C; Thu, 2 Sep 2010 06:34:04 +0000 (UTC) Received: by qyk4 with SMTP id 4so199987qyk.13 for ; Wed, 01 Sep 2010 23:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=uR8j2MS+heGyugP5QOgANj5UqUU9R06oXdCzSqjKREE=; b=IYAH3QReDNasgoBIaCewCGG3K3hrL+3pUuG2aZ3foZuLNNhn0+JxwWKgzMg/leyxn3 sTDU89YldgTXY1Zcu1CmLxdVo+zyqRWByeBTXpLpLqWnW5IY6bGJ58Lg8pZKmxIv1dqG oxZXqJSGAGMA9/xIyeh8+9aQhihJgGpd2H6tc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QeVJh0Ys7x7uxMCokkMLj/c5X9aOVeK8k3ahRGdBsxRXj3TskrMV3i9mEQFKPEz9iK 4UKJRYZw6kUIUHQ7przdxGP+2wvEXigo2/tX9sezMzQdoVTiV3zBOiVaGtA/aaUnoUGd z2057pqJOrYg3p1SyNdoMjSqP/oDZ0mbbDDDM= MIME-Version: 1.0 Received: by 10.229.189.211 with SMTP id df19mr6749274qcb.146.1283407533860; Wed, 01 Sep 2010 23:05:33 -0700 (PDT) Received: by 10.220.91.209 with HTTP; Wed, 1 Sep 2010 23:05:33 -0700 (PDT) In-Reply-To: References: Date: Thu, 2 Sep 2010 02:05:33 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Gabor PALI Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: doc@freebsd.org, current@freebsd.org Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 06:34:05 -0000 On Wed, Sep 1, 2010 at 6:46 PM, Gabor PALI wrote: > Hello there, > > I am looking for volunteers who are interested in writing > documentation, i.e. working with the FreeBSD Handbook and the > documentation set. Many of our great documentation writers have > decided to retire from their work over the last years, which means the > FreeBSD Documentation Project is in need of talented, skilled, > determined, and ambitious people who would help to maintain the > tradition of producing high quality documentation for the FreeBSD > operating system. > > The documentation set is prepared in DocBook that might seem a bit > complicated at first sight, but I can assure you it can be learned > quickly. All you need is good writing skills in English, some > knowledge of FreeBSD systems, and willingness to learn even more about > them. To coordinate and encourage the efforts, I have created a site > [1] called "The FreeBSD Contributor's Documentation Project" that > contains the necessary information. Note that there are many ways of > contribution: you can comment open Problem Reports or write patches > (by using Mercurial Queues for example), etc. depending on your free > time. I can help with anything at the regular weekly IRC meetings, > and you can contact me via email directly any time, and hopefully > other documentation developers will also join me. > > > Thank you for any help in advance. > > :g > > [1] http://doc.hu.freebsd.org/ I want to repeat my suggestion once more : Please separate Handbook with respect to distributions , i.e. , maintain a different Handbook for each distribution . I think , this is more easier to maintain a combined Handbook . A combined Handbook is giving also an impression that the both distinct distributions are the SAME . Then what is the difference between distributions 7.3 and 8.1 ? Personally I do NOT have any idea about differences , because up to now I did not see such a document associated with distributions . The combined Handbook is making it very difficult to make any improvement suggestions , because it requires knowledge of related two distinct distributions . For example , the current Handbook is about Release 7.3 and 8.1 . If a person is using 8.x series , and NOT 7.x series will be in difficulty to identify her/his suggestion whether it is contrary to her/his unused distribution . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 08:02:20 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C58B1065739; Thu, 2 Sep 2010 08:02:20 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (unknown [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id D942B8FCA4; Thu, 2 Sep 2010 08:02:19 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 400B62A28CC9; Thu, 2 Sep 2010 10:02:19 +0200 (CEST) Date: Thu, 2 Sep 2010 10:02:19 +0200 From: Ed Schouten To: Mehmet Erol Sanliturk Message-ID: <20100902080219.GH64651@hoeg.nl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wr26kid6E8rFCMyi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Gabor PALI , doc@freebsd.org, FreeBSD Current Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 08:02:20 -0000 --Wr26kid6E8rFCMyi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Mehmet Erol Sanliturk wrote: > Please separate Handbook with respect to distributions , i.e. , maintain a > different Handbook for each distribution . The problem with that is that it will cause documentation for older, but still supported releases, to become stale. Most doc changes apply to functionality provided by both releases, or at least functionality that is MFC'd. --=20 Ed Schouten WWW: http://80386.nl/ --Wr26kid6E8rFCMyi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkx/WgsACgkQ52SDGA2eCwUe2QCfZ7wxAqq+a13Oev3vAqjE9MP+ ehAAn1ViEV0vbwAN8g3uJXj9HdLwiCSL =Jmhx -----END PGP SIGNATURE----- --Wr26kid6E8rFCMyi-- From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 10:13:15 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B063A10656EE; Thu, 2 Sep 2010 10:13:15 +0000 (UTC) (envelope-from niclas.zeising@gmail.com) Received: from mxf2.bahnhof.se (mxf2.bahnhof.se [213.80.101.26]) by mx1.freebsd.org (Postfix) with ESMTP id 692688FC19; Thu, 2 Sep 2010 10:13:15 +0000 (UTC) Received: from localhost (mxf2.local [127.0.0.1]) by mxf2-reinject (Postfix) with ESMTP id E36369696A2; Thu, 2 Sep 2010 11:45:58 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MXF2) X-Spam-Score: 4.468 X-Spam-Level: **** X-Spam-Status: No, score=4.468 tagged_above=-99 required=5 tests=[DNS_FROM_RFC_POST=1.708, RATWARE_GECKO_BUILD=1.691, SPF_NEUTRAL=1.069] Received: from mxf2.bahnhof.se ([127.0.0.1]) by localhost (mxf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wH+DbuV35U8w; Thu, 2 Sep 2010 11:45:53 +0200 (CEST) Received: from [10.32.0.4] (h-90-99.A163.priv.bahnhof.se [79.136.90.99]) by mxf2.bahnhof.se (Postfix) with ESMTP id D983F969685; Thu, 2 Sep 2010 11:45:53 +0200 (CEST) Message-ID: <4C7F724F.2060305@gmail.com> Date: Thu, 02 Sep 2010 11:45:51 +0200 From: Niclas Zeising User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Gabor PALI References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: doc@freebsd.org, current@freebsd.org Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 10:13:15 -0000 On 2010-09-02 00:46, Gabor PALI wrote: > Hello there, > > I am looking for volunteers who are interested in writing > documentation, i.e. working with the FreeBSD Handbook and the > documentation set. Many of our great documentation writers have > decided to retire from their work over the last years, which means the > FreeBSD Documentation Project is in need of talented, skilled, > determined, and ambitious people who would help to maintain the > tradition of producing high quality documentation for the FreeBSD > operating system. > > The documentation set is prepared in DocBook that might seem a bit > complicated at first sight, but I can assure you it can be learned > quickly. All you need is good writing skills in English, some > knowledge of FreeBSD systems, and willingness to learn even more about > them. To coordinate and encourage the efforts, I have created a site > [1] called "The FreeBSD Contributor's Documentation Project" that > contains the necessary information. Note that there are many ways of > contribution: you can comment open Problem Reports or write patches > (by using Mercurial Queues for example), etc. depending on your free > time. I can help with anything at the regular weekly IRC meetings, > and you can contact me via email directly any time, and hopefully > other documentation developers will also join me. > > > Thank you for any help in advance. > > :g > > [1] http://doc.hu.freebsd.org/ Hi! Just a nitpick, would it be possible to move that site to the wiki, where most other stuff related to FreeBSD development is? It's not meant as critique towards your work, just a suggestion. Also, a list of open tasks would probably be valuable. For instance a list where people who find errors or discrepancies in the docs can add them so other people find them and can work on them. I know this is what the PR system is built for, but the PR system might be a bid cumbersome for just making annotations and stuff like that. Just some suggestions on how to make this flow better. Hopefully I will have some time to actually do some of the work involved too. :) Keep up the good work! Best Regards! //Niclas From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 11:20:04 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1784106575B for ; Thu, 2 Sep 2010 11:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 84E188FC21 for ; Thu, 2 Sep 2010 11:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82BK4nw037346 for ; Thu, 2 Sep 2010 11:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82BK4WV037345; Thu, 2 Sep 2010 11:20:04 GMT (envelope-from gnats) Resent-Date: Thu, 2 Sep 2010 11:20:04 GMT Resent-Message-Id: <201009021120.o82BK4WV037345@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Bartels Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 769871065698 for ; Thu, 2 Sep 2010 11:13:01 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 65E7B8FC1C for ; Thu, 2 Sep 2010 11:13:01 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o82BD0i5066548 for ; Thu, 2 Sep 2010 11:13:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o82BD06e066545; Thu, 2 Sep 2010 11:13:00 GMT (envelope-from nobody) Message-Id: <201009021113.o82BD06e066545@www.freebsd.org> Date: Thu, 2 Sep 2010 11:13:00 GMT From: Frank Bartels To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/150219: zfs(8) manual page misses jail/unjail X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 11:20:04 -0000 >Number: 150219 >Category: docs >Synopsis: zfs(8) manual page misses jail/unjail >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Sep 02 11:20:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frank Bartels >Release: 8.1-RELEASE >Organization: CameloT e.K. >Environment: FreeBSD angus 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Jul 22 19:02:43 CEST 2010 knarf@angus:/usr/obj/usr/src/sys/ANGUS amd64 >Description: It seems RELENG_8 is missing the updates to zfs(8) regarding jail/unjail. In RELENG_7 the commands are present in the manual page: zfs jail jailid filesystem Attaches the given file system to the given jail. From now on this file system tree can be managed from within a jail if the "jailed" property has been set. To use this functionality, sysctl secu- rity.jail.enforce_statfs should be set to 0 and sysctl secu- rity.jail.mount_allowed should be set to 1. zfs unjail jailid filesystem Detaches the given file system from the given jail. >How-To-Repeat: # zfs |& grep -i jail jail unjail # man zfs | grep -i jail Formatting page, please wait...Done. # >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 11:22:23 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D3C41065758; Thu, 2 Sep 2010 11:22:23 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id EFB4F8FC12; Thu, 2 Sep 2010 11:22:22 +0000 (UTC) Received: by qyk4 with SMTP id 4so466807qyk.13 for ; Thu, 02 Sep 2010 04:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=z31nLoWYoRb/k+cymfcgocJaZYQDS+/MW+1zqvFtIc4=; b=aIn0+0Z1+VBonKdajdyHsj9LjJEI1/tnPu70hIGJYjRfdOaO9flP74RBxacYIuKrfy tWZGNMSjKAHLOqhgVbSr3d+y7e0IcUfFZVhpdMMw69bFoApPPaurwOk5cXZT3rfX4FQ6 5EmlpczmbhF99daZUppxNsH1oqIWOD+TWTi9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ridqYodbXBiP4vSlwC5BbRHYV7m9hJCY+xdQV5BbD1jaj4G3r+hbY9aFdgtEH+9SVo 7ERjt6xefhzCKZajVM4m82rABoX6KfYjEwgnLLlNFkVAXvt3n0eleLIJwnCHDMhBx0TY V2SFd5baC+iJOJ/zIN3T5ScxgEf1yn9Hn4RBA= MIME-Version: 1.0 Received: by 10.224.10.211 with SMTP id q19mr6366526qaq.196.1283426542121; Thu, 02 Sep 2010 04:22:22 -0700 (PDT) Sender: pali.gabor@googlemail.com Received: by 10.229.251.141 with HTTP; Thu, 2 Sep 2010 04:22:21 -0700 (PDT) In-Reply-To: <4C7F724F.2060305@gmail.com> References: <4C7F724F.2060305@gmail.com> Date: Thu, 2 Sep 2010 13:22:21 +0200 X-Google-Sender-Auth: C_2JIPMvaCenoEubpsuNqHy-6UA Message-ID: From: Gabor PALI To: Niclas Zeising Content-Type: text/plain; charset=ISO-8859-1 Cc: doc@freebsd.org, current@freebsd.org Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 11:22:23 -0000 Hello, On Thu, Sep 2, 2010 at 11:45 AM, Niclas Zeising wrote: > would it be possible to move that site to the wiki, where > most other stuff related to FreeBSD development is? Almost all parts are on the FreeBSD wiki already. Only the main coordination page (which is only a single HTML page), the Mercurial repository, and the generated PR list are outside of that. > Also, a list of open tasks would probably be valuable. Yes, indeed. > For instance a list where people who find errors or discrepancies in the docs can add them so > other people find them and can work on them. There is one already [1]. :g [1] http://wiki.freebsd.org/ContribDoc/Tasks From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 18:20:03 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E273106574A for ; Thu, 2 Sep 2010 18:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 52BD08FC1B for ; Thu, 2 Sep 2010 18:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82IK37f075830 for ; Thu, 2 Sep 2010 18:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82IK37M075829; Thu, 2 Sep 2010 18:20:03 GMT (envelope-from gnats) Date: Thu, 2 Sep 2010 18:20:03 GMT Message-Id: <201009021820.o82IK37M075829@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: docs/35422: commit references a PR X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 18:20:03 -0000 The following reply was made to PR docs/35422; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: docs/35422: commit references a PR Date: Thu, 2 Sep 2010 18:10:25 +0000 (UTC) Author: yongari Date: Thu Sep 2 18:10:11 2010 New Revision: 212157 URL: http://svn.freebsd.org/changeset/base/212157 Log: Unlike most other controllers, NS DP83815/DP83816 controllers seem to pad with 0xFF when it encounter short frames. According to RFC 1042 the pad bytes should be 0x00. Because manual padding consumes extra CPU cycles, introduce a new tunable which controls the padding behavior. Turning this tunable on will have driver pad manually but it's disabled by default. Users can enable software padding by setting the following tunable to non-zero value. dev.sis.%d.manual_pad="1" PR: kern/35422 (patch not used) Modified: head/sys/dev/sis/if_sis.c head/sys/dev/sis/if_sisreg.h Modified: head/sys/dev/sis/if_sis.c ============================================================================== --- head/sys/dev/sis/if_sis.c Thu Sep 2 17:51:41 2010 (r212156) +++ head/sys/dev/sis/if_sis.c Thu Sep 2 18:10:11 2010 (r212157) @@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include @@ -150,6 +151,7 @@ static int sis_rxeof(struct sis_softc *) static void sis_start(struct ifnet *); static void sis_startl(struct ifnet *); static void sis_stop(struct sis_softc *); +static void sis_add_sysctls(struct sis_softc *); static void sis_watchdog(struct sis_softc *); @@ -710,24 +712,24 @@ sis_miibus_statchg(device_t dev) (ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) return; - sc->sis_link = 0; + sc->sis_flags &= ~SIS_FLAG_LINK; if ((mii->mii_media_status & (IFM_ACTIVE | IFM_AVALID)) == (IFM_ACTIVE | IFM_AVALID)) { switch (IFM_SUBTYPE(mii->mii_media_active)) { case IFM_10_T: - sc->sis_link++; CSR_WRITE_4(sc, SIS_TX_CFG, SIS_TXCFG_10); + sc->sis_flags |= SIS_FLAG_LINK; break; case IFM_100_TX: - sc->sis_link++; CSR_WRITE_4(sc, SIS_TX_CFG, SIS_TXCFG_100); + sc->sis_flags |= SIS_FLAG_LINK; break; default: break; } } - if (sc->sis_link == 0) { + if ((sc->sis_flags & SIS_FLAG_LINK) == 0) { /* * Stopping MACs seem to reset SIS_TX_LISTPTR and * SIS_RX_LISTPTR which in turn requires resetting @@ -1122,6 +1124,8 @@ sis_attach(device_t dev) break; } + sis_add_sysctls(sc); + /* Allocate DMA'able memory. */ if ((error = sis_dma_alloc(sc)) != 0) goto fail; @@ -1698,7 +1702,7 @@ sis_tick(void *xsc) mii = device_get_softc(sc->sis_miibus); mii_tick(mii); sis_watchdog(sc); - if (sc->sis_link == 0) + if ((sc->sis_flags & SIS_FLAG_LINK) == 0) sis_miibus_statchg(sc->sis_dev); callout_reset(&sc->sis_stat_ch, hz, sis_tick, sc); } @@ -1829,9 +1833,41 @@ sis_encap(struct sis_softc *sc, struct m bus_dma_segment_t segs[SIS_MAXTXSEGS]; bus_dmamap_t map; int error, i, frag, nsegs, prod; + int padlen; prod = sc->sis_tx_prod; txd = &sc->sis_txdesc[prod]; + if ((sc->sis_flags & SIS_FLAG_MANUAL_PAD) != 0 && + (*m_head)->m_pkthdr.len < SIS_MIN_FRAMELEN) { + m = *m_head; + padlen = SIS_MIN_FRAMELEN - m->m_pkthdr.len; + if (M_WRITABLE(m) == 0) { + /* Get a writable copy. */ + m = m_dup(*m_head, M_DONTWAIT); + m_freem(*m_head); + if (m == NULL) { + *m_head = NULL; + return (ENOBUFS); + } + *m_head = m; + } + if (m->m_next != NULL || M_TRAILINGSPACE(m) < padlen) { + m = m_defrag(m, M_DONTWAIT); + if (m == NULL) { + m_freem(*m_head); + *m_head = NULL; + return (ENOBUFS); + } + } + /* + * Manually pad short frames, and zero the pad space + * to avoid leaking data. + */ + bzero(mtod(m, char *) + m->m_pkthdr.len, padlen); + m->m_pkthdr.len += padlen; + m->m_len = m->m_pkthdr.len; + *m_head = m; + } error = bus_dmamap_load_mbuf_sg(sc->sis_tx_tag, txd->tx_dmamap, *m_head, segs, &nsegs, 0); if (error == EFBIG) { @@ -1918,7 +1954,7 @@ sis_startl(struct ifnet *ifp) SIS_LOCK_ASSERT(sc); if ((ifp->if_drv_flags & (IFF_DRV_RUNNING | IFF_DRV_OACTIVE)) != - IFF_DRV_RUNNING || sc->sis_link == 0) + IFF_DRV_RUNNING || (sc->sis_flags & SIS_FLAG_LINK) == 0) return; for (queued = 0; !IFQ_DRV_IS_EMPTY(&ifp->if_snd) && @@ -2025,6 +2061,13 @@ sis_initl(struct sis_softc *sc) return; } + if (sc->sis_type == SIS_TYPE_83815 || sc->sis_type == SIS_TYPE_83816) { + if (sc->sis_manual_pad != 0) + sc->sis_flags |= SIS_FLAG_MANUAL_PAD; + else + sc->sis_flags &= ~SIS_FLAG_MANUAL_PAD; + } + /* * Short Cable Receive Errors (MP21.E) * also: Page 78 of the DP83815 data sheet (september 2002 version) @@ -2125,7 +2168,7 @@ sis_initl(struct sis_softc *sc) /* Clear MAC disable. */ SIS_CLRBIT(sc, SIS_CSR, SIS_CSR_TX_DISABLE | SIS_CSR_RX_DISABLE); - sc->sis_link = 0; + sc->sis_flags &= ~SIS_FLAG_LINK; mii_mediachg(mii); ifp->if_drv_flags |= IFF_DRV_RUNNING; @@ -2148,7 +2191,6 @@ sis_ifmedia_upd(struct ifnet *ifp) SIS_LOCK(sc); mii = device_get_softc(sc->sis_miibus); - sc->sis_link = 0; if (mii->mii_instance) { struct mii_softc *miisc; LIST_FOREACH(miisc, &mii->mii_phys, mii_list) @@ -2304,7 +2346,7 @@ sis_stop(struct sis_softc *sc) CSR_WRITE_4(sc, SIS_TX_LISTPTR, 0); CSR_WRITE_4(sc, SIS_RX_LISTPTR, 0); - sc->sis_link = 0; + sc->sis_flags &= ~SIS_FLAG_LINK; /* * Free data in the RX lists. @@ -2351,6 +2393,32 @@ sis_shutdown(device_t dev) return (0); } +static void +sis_add_sysctls(struct sis_softc *sc) +{ + struct sysctl_ctx_list *ctx; + struct sysctl_oid_list *children; + char tn[32]; + int unit; + + ctx = device_get_sysctl_ctx(sc->sis_dev); + children = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->sis_dev)); + + unit = device_get_unit(sc->sis_dev); + /* + * Unlike most other controllers, NS DP83815/DP83816 controllers + * seem to pad with 0xFF when it encounter short frames. According + * to RFC 1042 the pad bytes should be 0x00. Turning this tunable + * on will have driver pad manully but it's disabled by default + * because it will consume extra CPU cycles for short frames. + */ + sc->sis_manual_pad = 0; + snprintf(tn, sizeof(tn), "dev.sis.%d.manual_pad", unit); + TUNABLE_INT_FETCH(tn, &sc->sis_manual_pad); + SYSCTL_ADD_INT(ctx, children, OID_AUTO, "manual_pad", + CTLFLAG_RW, &sc->sis_manual_pad, 0, "Manually pad short frames"); +} + static device_method_t sis_methods[] = { /* Device interface */ DEVMETHOD(device_probe, sis_probe), Modified: head/sys/dev/sis/if_sisreg.h ============================================================================== --- head/sys/dev/sis/if_sisreg.h Thu Sep 2 17:51:41 2010 (r212156) +++ head/sys/dev/sis/if_sisreg.h Thu Sep 2 18:10:11 2010 (r212157) @@ -449,7 +449,10 @@ struct sis_softc { device_t sis_miibus; uint8_t sis_type; uint8_t sis_rev; - uint8_t sis_link; + uint32_t sis_flags; +#define SIS_FLAG_MANUAL_PAD 0x0800 +#define SIS_FLAG_LINK 0x8000 + int sis_manual_pad; uint32_t sis_srr; struct sis_desc *sis_rx_list; struct sis_desc *sis_tx_list; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 20:40:04 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07C8410656F2 for ; Thu, 2 Sep 2010 20:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D083B8FC15 for ; Thu, 2 Sep 2010 20:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82Ke3h3020844 for ; Thu, 2 Sep 2010 20:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82Ke3gv020843; Thu, 2 Sep 2010 20:40:03 GMT (envelope-from gnats) Date: Thu, 2 Sep 2010 20:40:03 GMT Message-Id: <201009022040.o82Ke3gv020843@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Jason Helfman Cc: Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Helfman List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 20:40:04 -0000 The following reply was made to PR docs/147268; it has been noted by GNATS. From: Jason Helfman To: bug-followup@FreeBSD.org, aldis@bsdroot.lv Cc: Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching Date: Thu, 02 Sep 2010 13:28:35 -0700 This is a multi-part message in MIME format. --------------010806020605050709080300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit --------------010806020605050709080300 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch.txt" --- book.sgml 2010-08-25 02:55:41.000000000 -0700 +++ book.sgml 2010-09-02 13:18:58.000000000 -0700 @@ -735,6 +735,16 @@ USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*\.(c|cpp|h) + + If you want to create a patch file based off of an original + file, you can copy the original file to a .orig + extension and then modify the original file. Run makepatch + , and this will write out an appropriate patch file + to the files directory of the port. If you feel the &os; community + would benefit from your patch, you + may submit a problem report for + consideration. --------------010806020605050709080300-- From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 20:40:05 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B158010656DE for ; Thu, 2 Sep 2010 20:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 85D098FC1C for ; Thu, 2 Sep 2010 20:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82Ke57n020857 for ; Thu, 2 Sep 2010 20:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82Ke5N7020856; Thu, 2 Sep 2010 20:40:05 GMT (envelope-from gnats) Date: Thu, 2 Sep 2010 20:40:05 GMT Message-Id: <201009022040.o82Ke5N7020856@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: "Jason" Cc: Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 20:40:05 -0000 The following reply was made to PR docs/147268; it has been noted by GNATS. From: "Jason" To: bug-followup@freebsd.org Cc: aldis@bsdroot.lv Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching Date: Thu, 02 Sep 2010 13:21:14 -0700 --- book.sgml 2010-08-25 02:55:41.000000000 -0700 +++ book.sgml 2010-09-02 13:18:58.000000000 -0700 @@ -735,6 +735,16 @@ USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*\.(c|cpp|h) + + If you want to create a patch file based off of an original + file, you can copy the original file to a .orig + extension and then modify the original file. Run makepatch + , and this will write out an appropriate patch file + to the files directory of the port. If you feel the &os; community + would benefit from your patch, you + may submit a problem report for + consideration. From owner-freebsd-doc@FreeBSD.ORG Thu Sep 2 22:14:48 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4204106574C; Thu, 2 Sep 2010 22:14:48 +0000 (UTC) (envelope-from pgj@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AEBB8FC18; Thu, 2 Sep 2010 22:14:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o82MEmUS024228; Thu, 2 Sep 2010 22:14:48 GMT (envelope-from pgj@freefall.freebsd.org) Received: (from pgj@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o82MEmRf024224; Thu, 2 Sep 2010 22:14:48 GMT (envelope-from pgj) Date: Thu, 2 Sep 2010 22:14:48 GMT Message-Id: <201009022214.o82MEmRf024224@freefall.freebsd.org> To: pgj@FreeBSD.org, freebsd-doc@FreeBSD.org, pgj@FreeBSD.org From: pgj@FreeBSD.org Cc: Subject: Re: docs/147268: Imporve Porters Handbook section 4.4 - Patching X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 22:14:48 -0000 Synopsis: Imporve Porters Handbook section 4.4 - Patching Responsible-Changed-From-To: freebsd-doc->pgj Responsible-Changed-By: pgj Responsible-Changed-When: Thu Sep 2 22:13:36 UTC 2010 Responsible-Changed-Why: I take this. http://www.freebsd.org/cgi/query-pr.cgi?pr=147268 From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 00:24:16 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FDEB1065675; Fri, 3 Sep 2010 00:24:16 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id CB2398FC0A; Fri, 3 Sep 2010 00:24:15 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 4DE9D40A7C; Fri, 3 Sep 2010 02:06:38 +0200 (CEST) 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 0xe3gadJc0SC; Fri, 3 Sep 2010 02:06:30 +0200 (CEST) Received: from [192.168.1.3] (unknown [187.6.89.97]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id B474D40A61; Fri, 3 Sep 2010 02:06:29 +0200 (CEST) References: <20100902080219.GH64651@hoeg.nl> From: Daniel Gerzo Content-Type: text/plain; charset=us-ascii In-Reply-To: <20100902080219.GH64651@hoeg.nl> Message-Id: <45764F17-2279-4520-93D7-8F0B8BE991DE@rulez.sk> Date: Thu, 2 Sep 2010 19:54:39 -0300 To: Ed Schouten Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPod Mail 8A293) X-Mailer: iPod Mail (8A293) Cc: "doc@freebsd.org" , "current@freebsd.org" Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 00:24:16 -0000 I actually think there is some point in this idea. The problem is that many t= imes we just leave notes or warnings specific for given releases, which can m= any times lead to confusion (or people just don't notice) and as time goes a= nd we cut the support for given releases they get stale (e.g. We had many of= those for 5.x). We could just maintain the handbook in separate branches like we do with src= , keeping them all built online, and merge relevant things where appropriate= . This will, however, add quite a lot (for my taste) of additional work for u= s. Daniel Gerzo On 2.9.2010, at 5:02, Ed Schouten wrote: > * Mehmet Erol Sanliturk wrote: >> Please separate Handbook with respect to distributions , i.e. , maintain a= >> different Handbook for each distribution . >=20 > The problem with that is that it will cause documentation for older, but > still supported releases, to become stale. Most doc changes apply to > functionality provided by both releases, or at least functionality that > is MFC'd. >=20 > --=20 > Ed Schouten > WWW: http://80386.nl/ From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 04:39:54 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B3710656AB; Fri, 3 Sep 2010 04:39:54 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 694BA8FC12; Fri, 3 Sep 2010 04:39:53 +0000 (UTC) Received: by fxm4 with SMTP id 4so967301fxm.13 for ; Thu, 02 Sep 2010 21:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=80npj9X5rhUhMB2n6muOQ2y3EMslgiHfd3zaQS3sd0Q=; b=oUt9oXjes35V1EpmtjmpuBpFzNr6rxFnCl89yO8T4Uxcpxq+ZkMsjI1jM8fml4zSrL 1zgzKlFxS0aq0i7N1+uXhg1l+W1/ADGg/OUy+otUEYdHglD/r7mBWDi/fQ2+pMNqWhpv U5JEzSaNz9q/25LEwCxUf3ZiYsXwv9eMFx4gU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JGheYsI1pQKwdhLQsvn5dnGtUOWAmdOuR8oULQ3fJzHN2VywRwlCQBtKCgCsgZCokJ I2qnEwbiCMT914cedKwFOVLRRZpY8quxrXeeQuOG9dcgZxSrOMr8Gpg+if5OdnnMlxGr MLWiE5ohHr2qbVDaZf+nI8wwDsBXpsRYv1uCo= MIME-Version: 1.0 Received: by 10.223.123.199 with SMTP id q7mr71255far.84.1283487056449; Thu, 02 Sep 2010 21:10:56 -0700 (PDT) Received: by 10.223.120.147 with HTTP; Thu, 2 Sep 2010 21:10:56 -0700 (PDT) In-Reply-To: <45764F17-2279-4520-93D7-8F0B8BE991DE@rulez.sk> References: <20100902080219.GH64651@hoeg.nl> <45764F17-2279-4520-93D7-8F0B8BE991DE@rulez.sk> Date: Thu, 2 Sep 2010 23:10:56 -0500 Message-ID: From: Adam Vande More To: Daniel Gerzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ed Schouten , "doc@freebsd.org" , "current@freebsd.org" Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 04:39:54 -0000 On Thu, Sep 2, 2010 at 5:54 PM, Daniel Gerzo wrote: > I actually think there is some point in this idea. The problem is that many > times we just leave notes or warnings specific for given releases, which can > many times lead to confusion (or people just don't notice) and as time goes > and we cut the support for given releases they get stale (e.g. We had many > of those for 5.x). > > We could just maintain the handbook in separate branches like we do with > src, keeping them all built online, and merge relevant things where > appropriate. This will, however, add quite a lot (for my taste) of > additional work for us. > Wouldn't it be a lot easier to have a nice article on installing /usr/ports/misc/freebsd-doc-* from the date of the release of the installed system? Or maybe offer archive web access to a handbook snapshot from that date(Django does something similar)? Maintaining separate handbook branches seems unrealistic if there aren't enough doc contributors to maintain one to expectations, and IME discrepancies aren't very frequent. -- Adam Vande More From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 04:41:05 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3050910656DF; Fri, 3 Sep 2010 04:41:05 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 082008FC1A; Fri, 3 Sep 2010 04:41:02 +0000 (UTC) Received: by fxm4 with SMTP id 4so967716fxm.13 for ; Thu, 02 Sep 2010 21:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=34uUpeOnuVkOiyZiVbv5vkAJoSj67+tRbnu7G7QDmRY=; b=DZOBR7nPTnrjfTIKDUIQMP0dJwGtjT1nPFXkCDorQnTLE0LwLu3oP+PPt+UClv8oK1 4GX71lLbpUkcNSuu/wcTMCzA0Z6pv5yEZJ4i1i/3WThoNGeJKvuk8cMvrbGE6D6xHOXV U8Eb38q5N03dqq/xnRKTUT8FCVMuWuS6q/zt0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rGKji6nKpqMgKU8vIzNk26lo9jpRUioWkqHbvSSbDaqir1G7m1y3C2oMQYipS57STj AFOrsWi8TQl2nb//USoilH8zFxn3+P0RcpfQB4/qhBrcdZ+c0YxwFlhQUuRdUNjH1/H5 4pUYqHjI4i2OD07iyVYnWrArY5iMqKnIM7vd0= MIME-Version: 1.0 Received: by 10.223.117.4 with SMTP id o4mr131052faq.8.1283488862080; Thu, 02 Sep 2010 21:41:02 -0700 (PDT) Received: by 10.223.120.147 with HTTP; Thu, 2 Sep 2010 21:41:01 -0700 (PDT) In-Reply-To: References: <20100902080219.GH64651@hoeg.nl> <45764F17-2279-4520-93D7-8F0B8BE991DE@rulez.sk> Date: Thu, 2 Sep 2010 23:41:01 -0500 Message-ID: From: Adam Vande More To: Daniel Gerzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ed Schouten , "doc@freebsd.org" , "current@freebsd.org" Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 04:41:05 -0000 On Thu, Sep 2, 2010 at 11:10 PM, Adam Vande More wrote: > Wouldn't it be a lot easier to have a nice article on installing > /usr/ports/misc/freebsd-doc-* from the date of the release of the installed > system? Or maybe offer archive web access to a handbook snapshot from that > date(Django does something similar)? Maintaining separate handbook branches > seems unrealistic if there aren't enough doc contributors to maintain one to > expectations, and IME discrepancies aren't very frequent. > I need to add to that installing release specific handbook/documentation via sysinstall is the Easy Button. -- Adam Vande More From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 10:40:07 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9268210656AE for ; Fri, 3 Sep 2010 10:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6FF8D8FC1E for ; Fri, 3 Sep 2010 10:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o83Ae75G006502 for ; Fri, 3 Sep 2010 10:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o83Ae72M006501; Fri, 3 Sep 2010 10:40:07 GMT (envelope-from gnats) Resent-Date: Fri, 3 Sep 2010 10:40:07 GMT Resent-Message-Id: <201009031040.o83Ae72M006501@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gireesh Nagabhushana Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 283FA106580E for ; Fri, 3 Sep 2010 10:37:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 17A338FC20 for ; Fri, 3 Sep 2010 10:37:36 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o83AbYnN037459 for ; Fri, 3 Sep 2010 10:37:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o83AbYid037458; Fri, 3 Sep 2010 10:37:34 GMT (envelope-from nobody) Message-Id: <201009031037.o83AbYid037458@www.freebsd.org> Date: Fri, 3 Sep 2010 10:37:34 GMT From: Gireesh Nagabhushana To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/150244: MULTI_DRIVER_MODULE is only in man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 10:40:07 -0000 >Number: 150244 >Category: docs >Synopsis: MULTI_DRIVER_MODULE is only in man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 03 10:40:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Gireesh Nagabhushana >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD tonglu.asicdesigners 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r211419M: Wed Aug 18 17:49:06 IST 2010 root@tonglu.asicdesigners:/export/head_2010_08_17/sys/amd64/compile/DNG1808 amd64 >Description: Man page - DRIVER_MODULE(9) - still has MULTI_DRIVER_MODULE. But based on search in Internet, it looks like MULTI_DRIVER_MODULE has been removed. I also didn't see this in source. >How-To-Repeat: - >Fix: Remove lines about MULTI_DRIVER_MODULE from man page of DRIVER_MODULE(9). Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 211419) +++ Makefile (working copy) @@ -600,7 +600,7 @@ domain.9 pfctlinput2.9 \ domain.9 pffindproto.9 \ domain.9 pffindtype.9 -MLINKS+=DRIVER_MODULE.9 MULTI_DRIVER_MODULE.9 +MLINKS+=DRIVER_MODULE.9 MLINKS+=EVENTHANDLER.9 EVENTHANDLER_DECLARE.9 \ EVENTHANDLER.9 EVENTHANDLER_DEREGISTER.9 \ EVENTHANDLER.9 eventhandler_deregister.9 \ Index: DRIVER_MODULE.9 =================================================================== --- DRIVER_MODULE.9 (revision 211419) +++ DRIVER_MODULE.9 (working copy) @@ -40,7 +40,6 @@ .In sys/bus.h .In sys/module.h .Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg" -.Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t devclass" "modeventhand_t evh" "void *arg" .Sh DESCRIPTION The .Fn DRIVER_MODULE @@ -97,10 +96,6 @@ .Dv NULL pointer. .Pp -.Fn MULTI_DRIVER_MODULE -is a special version of -.Fn DRIVER_MODULE , -which takes a list of drivers instead of a single driver instance. .Sh SEE ALSO .Xr device 9 , .Xr driver 9 , >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 13:04:32 2010 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5097A10657F4; Fri, 3 Sep 2010 13:04:32 +0000 (UTC) (envelope-from danger@rulez.sk) Received: from services.syscare.sk (services.syscare.sk [188.40.39.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0676B8FC0C; Fri, 3 Sep 2010 13:04:31 +0000 (UTC) Received: from services.syscare.sk (services [188.40.39.36]) by services.syscare.sk (Postfix) with ESMTP id 04F58415BC; Fri, 3 Sep 2010 15:04:31 +0200 (CEST) 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 1471jSM6ltWW; Fri, 3 Sep 2010 15:04:29 +0200 (CEST) Received: from [192.168.1.2] (unknown [189.72.205.172]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: danger@rulez.sk) by services.syscare.sk (Postfix) with ESMTPSA id 832D7415A0; Fri, 3 Sep 2010 15:04:28 +0200 (CEST) References: <20100902080219.GH64651@hoeg.nl> <45764F17-2279-4520-93D7-8F0B8BE991DE@rulez.sk> In-Reply-To: Mime-Version: 1.0 (iPod Mail 8A293) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <95629F52-ADF7-4D96-8153-4C9C4E894780@rulez.sk> X-Mailer: iPod Mail (8A293) From: Daniel Gerzo Date: Fri, 3 Sep 2010 10:04:04 -0300 To: Adam Vande More Cc: Ed Schouten , "doc@freebsd.org" , "current@freebsd.org" Subject: Re: Call for Documentation Contributors X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 13:04:32 -0000 On 3.9.2010, at 1:10, Adam Vande More wrote: >>=20 > Wouldn't it be a lot easier to have a nice article on installing > /usr/ports/misc/freebsd-doc-* from the date of the release of the installe= d > system? Or maybe offer archive web access to a handbook snapshot from tha= t > date(Django does something similar)? FYI we have archive of hadbooks and FAQs for past releases at http://docs.fr= eebsd.org/doc/. People just often don't know or are lazy to browse there, ev= en though I believe it is linked from the footer of the handbook. The proble= m here is that we happen to cover all the supported releases in a single han= dbook which simply leads to confusion...on the other hand you may be right t= hat discrepancies don't happen that often and the additional work is not wor= th it. > Maintaining separate handbook branches > seems unrealistic if there aren't enough doc contributors to maintain one t= o > expectations, and IME discrepancies aren't very frequent. From owner-freebsd-doc@FreeBSD.ORG Fri Sep 3 18:30:02 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9985B10656B8 for ; Fri, 3 Sep 2010 18:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 59D3A8FC19 for ; Fri, 3 Sep 2010 18:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o83IU2Hr096876 for ; Fri, 3 Sep 2010 18:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o83IU203096875; Fri, 3 Sep 2010 18:30:02 GMT (envelope-from gnats) Resent-Date: Fri, 3 Sep 2010 18:30:02 GMT Resent-Message-Id: <201009031830.o83IU203096875@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Pyhalov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9FB410656B9 for ; Fri, 3 Sep 2010 18:27:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A8A668FC26 for ; Fri, 3 Sep 2010 18:27:15 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o83IRFjl044966 for ; Fri, 3 Sep 2010 18:27:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o83IRFxE044965; Fri, 3 Sep 2010 18:27:15 GMT (envelope-from nobody) Message-Id: <201009031827.o83IRFxE044965@www.freebsd.org> Date: Fri, 3 Sep 2010 18:27:15 GMT From: Alexander Pyhalov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/150255: dtrace description should mention makeoptions DEBUG=-g X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2010 18:30:02 -0000 >Number: 150255 >Category: docs >Synopsis: dtrace description should mention makeoptions DEBUG=-g >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 03 18:30:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Pyhalov >Release: 9.0-current >Organization: SFEDU >Environment: FreeBSD freebsd.cc.rsu.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Fri Sep 3 22:40:30 MSD 2010 root@freebsd.cc.rsu.ru:/usr/obj/usr/src/sys/MyKern i386 >Description: Documentation in handbook doesn't clearly state that "makeoptions DEBUG=-g" option should be present in kernel config for DTrace to work. In the absence of this options all (or most) dtrace scripts complain on unknown uid_t symbol in psinfo.d, because this symbol is not found in kernel debugging info. This can be seen with ctfdump - kernel contains CTF data but no info about uid_t (and some other symbols). >How-To-Repeat: Create kernel config with options KDTRACE_HOOKS and DDB_CTF but without "makeoptions DEBUG=-g", then execute "make kernel WITH_CTF=1 KERNCONF=YourConfig". >Fix: Document this behavior. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-doc@FreeBSD.ORG Sat Sep 4 19:00:13 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C188D10656B4; Sat, 4 Sep 2010 19:00:13 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98DEB8FC14; Sat, 4 Sep 2010 19:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o84J0DKR045007; Sat, 4 Sep 2010 19:00:13 GMT (envelope-from gjb@freefall.freebsd.org) Received: (from gjb@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o84J0Dsw044993; Sat, 4 Sep 2010 19:00:13 GMT (envelope-from gjb) Date: Sat, 4 Sep 2010 19:00:13 GMT Message-Id: <201009041900.o84J0Dsw044993@freefall.freebsd.org> To: gjb@FreeBSD.org, freebsd-doc@FreeBSD.org, gjb@FreeBSD.org From: gjb@FreeBSD.org Cc: Subject: Re: docs/150098: [all] document naming conventions of jail names X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 19:00:13 -0000 Synopsis: [all] document naming conventions of jail names Responsible-Changed-From-To: freebsd-doc->gjb Responsible-Changed-By: gjb Responsible-Changed-When: Sat Sep 4 18:59:11 UTC 2010 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=150098