From owner-freebsd-doc@FreeBSD.ORG Thu Jun 20 19:26:57 2013 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EAEC6828 for ; Thu, 20 Jun 2013 19:26:57 +0000 (UTC) (envelope-from tony@hain-global-consulting.com) Received: from express.tndh.net (express.tndh.net [IPv6:2001:470:e930:1240:20d:56ff:fe04:4c0a]) by mx1.freebsd.org (Postfix) with ESMTP id B87CC1112 for ; Thu, 20 Jun 2013 19:26:57 +0000 (UTC) Received: from express.tndh.local ([2001:470:e930:1240:20d:56ff:fe04:4c0a] helo=eaglet) by express.tndh.net with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1UpkVL-000C6q-Dz; Thu, 20 Jun 2013 12:26:55 -0700 From: "Tony Hain" To: "'Adam Vande More'" References: <023e01ce6d47$dab08470$90118d50$@hain-global-consulting.com> In-Reply-To: Subject: RE: broken instructions for buildkernel Date: Thu, 20 Jun 2013 12:26:47 -0700 Message-ID: <02c901ce6dec$1b330140$519903c0$@hain-global-consulting.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGGDX7KpgABsvxxFwVvgZBkOP92ZAHa0DPkmcDRmDA= Content-Language: en-us X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "express.tndh.net", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Thanks Adam. I had been on the page you sent for the 9.0 to 9.1 upgrade of this machine. My intent was not to upgrade the machine to 10.0, at this point it was just to build the kernel for a new VM. Granted I am not the most engrained in FreeBSD procedures, but to me that leads to the "building a kernel" page. [...] Content analysis details: (1.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 0.0 HTML_MESSAGE BODY: HTML included in message 1.4 DOS_OUTLOOK_TO_MX Delivered direct to MX with Outlook headers X-SA-Exim-Connect-IP: 2001:470:e930:1240:20d:56ff:fe04:4c0a X-SA-Exim-Mail-From: tony@hain-global-consulting.com X-SA-Exim-Scanned: No (on express.tndh.net); SAEximRunCond expanded to false Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: doc@freebsd.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 19:26:58 -0000 Thanks Adam. I had been on the page you sent for the 9.0 to 9.1 upgrade of this machine. My intent was not to upgrade the machine to 10.0, at this point it was just to build the kernel for a new VM. Granted I am not the most engrained in FreeBSD procedures, but to me that leads to the "building a kernel" page. While buildworld may not be a declared prereq, something in that process "fixes" a missing definition. No matter which distro of 10.0 I tried to build it would always exit on a missing prototype for yyparse, but after buildworld it just ran to completion. That sounds like a prereq to me... Even if it is not, a hint on one or both of the pages that reference building a kernel, about yyparse failures being fixed by buildworld would save people frustration and time. If I was the first to stumble over this, I wouldn't have been able to find discussion about it on the web, and still wouldn't know how to fix it. Tony From: Adam Vande More [mailto:amvandemore@gmail.com] Sent: Wednesday, June 19, 2013 7:01 PM To: Tony Hain Cc: doc@freebsd.org Subject: Re: broken instructions for buildkernel On Wed, Jun 19, 2013 at 6:51 PM, Tony Hain wrote: If buildworld is a prereq, why isn't that in the instruction sequence? Even if it is only required once, on a fresh install it should be possible to look at the FreeBSD docs and build a custom kernel without hitting errors and having to search for hints. It isn't a prereq. Those instructions have remained largely unchanged for years for a reason. You were following instructions on how to build a new kernel when in fact you were trying to upgrade FreeBSD. Use these steps and you'll get a lot farther: http://www.freebsd.org/doc/handbook/updating-upgrading.html -- Adam Vande More