From owner-freebsd-questions@freebsd.org Mon Jun 26 13:02:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9843D8650B for ; Mon, 26 Jun 2017 13:02:36 +0000 (UTC) (envelope-from aorey@126.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 92C8E784EA for ; Mon, 26 Jun 2017 13:02:36 +0000 (UTC) (envelope-from aorey@126.com) Received: by mailman.ysv.freebsd.org (Postfix) id 92285D8650A; Mon, 26 Jun 2017 13:02:36 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91C50D86509 for ; Mon, 26 Jun 2017 13:02:36 +0000 (UTC) (envelope-from aorey@126.com) Received: from m15-7.126.com (m15-7.126.com [220.181.15.7]) by mx1.freebsd.org (Postfix) with ESMTP id D58FA784E7 for ; Mon, 26 Jun 2017 13:02:35 +0000 (UTC) (envelope-from aorey@126.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=Dlzmd ZysqSMcI+4e5nYWGJ8Xa6+Jts4ZhyXK3FssIIw=; b=ItWKvuqdKGr6gsPWBidmW rgTkZvWmFS+vi9zUxBClO5fThMiX30rJjMJceod8TRJsCO+B/ZlWsfXoXFBdrZSJ UBIbxPqx16iR8RS1vPhMo0zjeGLfUNyv0dN1bOZ+vwP2vmfmUIXwXSHSWwZFIMQm jKWy8xXFcjXAEEiFlBNE2E= Received: from aorey$126.com ( [110.152.62.135] ) by ajax-webmail-wmsvr7 (Coremail) ; Mon, 26 Jun 2017 21:02:34 +0800 (CST) X-Originating-IP: [110.152.62.135] Date: Mon, 26 Jun 2017 21:02:34 +0800 (CST) From: Aorey To: questions@FreeBSD.org Subject: I need your help. X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 126com X-CM-CTRLDATA: iXH0wWZvb3Rlcl9odG09MTY3OjU2 MIME-Version: 1.0 Message-ID: <307a4f35.e1f9.15ce47f1c16.Coremail.aorey@126.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: B8qowADn7ebqBVFZFTtIAQ--.32170W X-CM-SenderInfo: 5druv5a6rslhhfrp/1tbiFwoDulhgki+c0AAAst X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 13:02:36 -0000 Hi~, I am a FreeBSD user, I need your help. From owner-freebsd-questions@freebsd.org Mon Jun 26 15:25:02 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62766D89D5A for ; Mon, 26 Jun 2017 15:25:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D116E7D270 for ; Mon, 26 Jun 2017 15:25:01 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v5QF2WUr089344; Tue, 27 Jun 2017 01:02:33 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 27 Jun 2017 01:02:32 +1000 (EST) From: Ian Smith To: marcel cc: freebsd-questions@freebsd.org Subject: Re: Error appear while building my custom kernel In-Reply-To: Message-ID: <20170627002058.S99127@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 15:25:02 -0000 In freebsd-questions Digest, Vol 682, Issue 1, Message: 6 On Mon, 26 Jun 2017 12:53:12 +0200 marcel wrote: > Hi, > > I tried to build the kernel from the FreeBSD 11 stable source, > following this chapter form the Handbook : > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html > > So, I've checked the source with subversion in /usr/src and then I've > edited the GENERIC config file and I have an error when I did 'make > buildkernel KERNCONF=MYKERNEL' . I think that chapter could emphasise more the second method shown as being generally more desirable - namely creating a config file to: include GENERIC ident MYKERNEL options whatever nooptions this that tother device something another nodevice whiskers jam as shown in the referenced config(5) Especially when other people might have to look it over, rather than trying to spot everything that differs from GENERIC - and then it would also be of a size that you can reasonably include into a list message. For instance I noticed in passing, while skimming, that you included device umass # Disks/Mass storage - Requires scbus and da for USB, but had commented out scbus and da in the ATA section. Not suggesting that might be the particular problem here, just an example. > Here is my kernel config file and the logs: > https://bpaste.net/show/8d0b2e755142 > > >From line 1 to line 369 it's the kernel config file and from line 370 > to the end it's the logs (sorry for that). The first and last dozen or so log lines would likely be enough :) No I don't know what this problem might be, just suggesting that less might be more in terms of getting some knowing eyes on the problem. Have you tried just 'make buildkernel KERNCONF=GENERIC' ? If that works alright, it's a config file problem. Otherwise .. it's an issue :) FWIW, Ian