Date: Mon, 26 Jun 2017 21:02:34 +0800 (CST) From: Aorey <aorey@126.com> To: questions@FreeBSD.org Subject: I need your help. Message-ID: <307a4f35.e1f9.15ce47f1c16.Coremail.aorey@126.com>
next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-questions@freebsd.org> 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 <freebsd-questions@mailman.ysv.freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <smithi@nimnet.asn.au> To: marcel <marcel.plouf@gmail.com> cc: freebsd-questions@freebsd.org Subject: Re: Error appear while building my custom kernel In-Reply-To: <mailman.99.1498478402.60436.freebsd-questions@freebsd.org> Message-ID: <20170627002058.S99127@sola.nimnet.asn.au> References: <mailman.99.1498478402.60436.freebsd-questions@freebsd.org> 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 <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=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 <marcel.plouf@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?307a4f35.e1f9.15ce47f1c16.Coremail.aorey>