From owner-freebsd-questions@freebsd.org Tue Jun 27 12:58:30 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 5920CDAA0ED for ; Tue, 27 Jun 2017 12:58:30 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF1A9653E9 for ; Tue, 27 Jun 2017 12:58:29 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id 131so5643978wmq.2 for ; Tue, 27 Jun 2017 05:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ty1XQYFShkamvbXFN9pHKs8VOMBWacJjZjPBrTCrqQk=; b=LPwBE+X2eBO6LGGt+iA+UQaRDQ6J6E5bgMC8pj4IIGpiMdwjkECdtFJZFLTTyjUXNs eEwafGNz/wnVZh1cT7wn/uhiMo8Rvve76OsqBL3701EviJRamr6TBg0vUSwmcskdARY0 S0Shy5Y3NfR1En8TfbX0+LWIwY8pfTE7B2l8G+CNeI1A8XjLHLcyIdnvKQ4V/iN9v7b6 /Fl+eAdJlUMRif65FIoCP4tL/r16nJyJ6vgFhrbFNSZrTgqGDqEouRA738N5XKs4yuY4 vyaatofgUm80iSuz20pmxOxCs34vGBqGfua9ZmT7fjNEEqWwOaNwiIGvOV0bh/kAnBdP nccw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ty1XQYFShkamvbXFN9pHKs8VOMBWacJjZjPBrTCrqQk=; b=qI388u3Q3RY4op9jY0Zyzk+2niWXNy8lAP4Jk9WQsjh5qRHcJR8CIF8AIEoj2YnpyO U3blJheJXSgxmDo4kvHDv5NBkjE9kdPu7vWdTobvt981AE7OcDeEMuRmTM8YGl/93hQU LfbY+lx/IN3A0ygRLn9/bSLK7HStric4m4TLx4yIPOHSiV+SO1vG8+arGevPzB/JDEri /znPqEiG9R89aqJDKR93DWDL39WSxtFip1mCjgevoIVr+xQRhHOUISmoX+WZ7GNQo8PX fMGSTSubNi6JeF9vaMkVquSIUBOkB3sanrYUi3ZJ2EEeC8gBSYm/uAB7qF0ZzPGdsQUP Zdpg== X-Gm-Message-State: AKS2vOwZxbfb+B5oYI7gCffs5Vyt8EtlfZgcZ2Mf9myAUONC02FE03kq X/Sg8o8Wc7ZU0OJ7f1o= X-Received: by 10.28.93.197 with SMTP id r188mr3237301wmb.44.1498568308193; Tue, 27 Jun 2017 05:58:28 -0700 (PDT) Received: from marcel-laptop.lan (212-198-10-164.rev.numericable.fr. [212.198.10.164]) by smtp.gmail.com with ESMTPSA id i64sm2515364wmd.33.2017.06.27.05.58.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Jun 2017 05:58:28 -0700 (PDT) Date: Tue, 27 Jun 2017 14:58:26 +0200 From: marcel To: Ian Smith Cc: freebsd-questions@freebsd.org Subject: Re: Error appear while building my custom kernel Message-ID: <20170627145826.69ea9de8@marcel-laptop.lan> In-Reply-To: <20170627002058.S99127@sola.nimnet.asn.au> References: <20170627002058.S99127@sola.nimnet.asn.au> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 27 Jun 2017 12:58:30 -0000 Le Tue, 27 Jun 2017 01:02:32 +1000 (EST), Ian Smith a =C3=A9crit : > In freebsd-questions Digest, Vol 682, Issue 1, Message: 6 > On Mon, 26 Jun 2017 12:53:12 +0200 marcel > wrote: > > Hi, > >=20 > > 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/kernelconfi= g.html > >=20 > > 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=3DMYKERNEL' . =20 >=20 > I think that chapter could emphasise more the second method shown as=20 > being generally more desirable - namely creating a config file to: >=20 > include GENERIC > ident MYKERNEL >=20 > options whatever > nooptions this that tother > device something another > nodevice whiskers jam >=20 > as shown in the referenced config(5) >=20 > Especially when other people might have to look it over, rather than=20 > 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. Okay, I take note, thanks for advice. >=20 > 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. Yeah, that was the problem, I'm sorry to haven't read more carefully the comments... >=20 > > Here is my kernel config file and the logs: > > https://bpaste.net/show/8d0b2e755142 > > =20 > > >From line 1 to line 369 it's the kernel config file and from line > > >370 =20 > > to the end it's the logs (sorry for that). =20 >=20 > The first and last dozen or so log lines would likely be enough :) And yeah, sorry for that too, next times I will be careful. >=20 > No I don't know what this problem might be, just suggesting that less=20 > might be more in terms of getting some knowing eyes on the problem. >=20 > Have you tried just 'make buildkernel KERNCONF=3DGENERIC' ? If that > works alright, it's a config file problem. Otherwise .. it's an > issue :) >=20 > FWIW, Ian Anyway, thanks for the answer, I have a working kernel now ! ;)