From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 14:15:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970DE106566B for ; Sun, 5 Feb 2012 14:15:56 +0000 (UTC) (envelope-from james@mansionfamily.plus.com) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id EE1578FC08 for ; Sun, 5 Feb 2012 14:15:54 +0000 (UTC) Received: from server.barnhouse ([80.229.150.39]) by avasout07 with smtp id WEFs1i0010rF08o01EFtB4; Sun, 05 Feb 2012 14:15:53 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=bJaU0YCZ c=1 sm=1 a=KcaHU+F0vwy42TIp8RsFnw==:17 a=9EbS-GbK9s0A:10 a=HkRtrhXjjp8A:10 a=8nJEP1OIZ-IA:10 a=By7tuUd09d-DuYihoswA:9 a=VW03J1YhInPrevzfMuQA:7 a=wPNLvfGTeEIA:10 a=KcaHU+F0vwy42TIp8RsFnw==:117 Received: from [192.168.0.89] (James-PC.barnhouse [192.168.0.89]) by server.barnhouse (Postfix) with ESMTP id 2E965680776 for ; Sun, 5 Feb 2012 14:20:34 +0000 (GMT) Message-ID: <4F2E8F17.3020502@mansionfamily.plus.com> Date: Sun, 05 Feb 2012 14:15:51 +0000 From: james User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to build 9.0 from source? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: james@mansionfamily.plus.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 14:15:56 -0000 I installed 9.0 without sources. Now I'd like to try building the kernel (or specifically the mfi driver), so I've tried to get the sources. The handbook says (in 9.55) to use sysinstall to get the source configuration - but that doesn't seem to work and what its trying to fetch seems more like an 8.x source set, I fetched src.txz and unpacked it and sorted out the /usr/src/sys link, and 'make' in the root of that builds the boot code ok. However, there is no /usr/src/UPDATING to check per 9.5, and 'cd /usr/src;make buildkernel' tells me: make: don't know how t make buildkerel. Stop. /usr/src was empty before I set up the 'sys' link (which in my case points to a zfs volume). It seems wrong to m - how can I get sources etc installed so I can build the kernel? (And userspace if necessary - but its the mfi driver I want to fiddle with) James