From owner-freebsd-questions@freebsd.org Tue Jun 27 12:50:59 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 34DBFDA9D92 for ; Tue, 27 Jun 2017 12:50:59 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (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 B9A9B64D60 for ; Tue, 27 Jun 2017 12:50:58 +0000 (UTC) (envelope-from marcel.plouf@gmail.com) Received: by mail-wr0-x243.google.com with SMTP id z45so31898004wrb.2 for ; Tue, 27 Jun 2017 05:50:58 -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=Q7E2ScNAKJvdXFseMd8bWjozfPK2NAam4GYP6GieIAc=; b=ra8pxAUDfitSyc0bQcddJ49o2ITuzFi2yRI52gVUNyrj7DOjWnVB5VALI/28GlxzlH XI9oVpKrHYK3KK9b+lpjFpeyr2StENzAZGQlcHXt2P6p1h1cnVkuDW1Zc8MrZvrbR4jn 15PqaRuDF/vgqFOy89NI9j4F2W97DwrXtUpGB/QiVGyEkn6D1sUvGqhJ1l+lI3NGfbT6 JSCwDA2KfStyNTTEkUAQWy40F5HZtZt/nCHLTJeSmyLJBCT097ulPakhv5ZjnA2by86B W1scxelLN6y5CiXQX02zuPzb2ZzlmgTW3edopvVfRd5YAxL3xgfYmcOvbCiapMHjcL1k lX+w== 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=Q7E2ScNAKJvdXFseMd8bWjozfPK2NAam4GYP6GieIAc=; b=KNt8CElL2lGDwCbFpI+P6JMWAgxGjXOh5uGOjolLQch1MADRNfC9N3kdXKq3T5owG4 uuqgUOOPRFnRk7PlqN/wP1ni7xxmewtuKcNXLW8WIlJKUil01WpKdgCqn1UvxpfDVCO+ A4ZwFs3/FIVWMd3MFBD5TeP5vguF6uMY9aSp8pRwhz4ym1n8ILN2M8911mmTXl74pJia UJ1QvaPyEHzRr83UrTTNHmnB/uYy1x2ZitMoX2fDIosG0Bxt9I6HF+Xd+rFYuN26DUVs agqvLnycyu4/WAHqdpHC3HctDjKxc+dzYwkcfGDAuf03XrHjcuSatuXN4GvI0GUlfkPv xKSg== X-Gm-Message-State: AKS2vOwh1pW/cBBvjBZRYfYCXD/iKczjnHPe+7jWC23qFrqmX7f4ho+v kJCmFKA8CqYtSdys X-Received: by 10.223.146.161 with SMTP id 30mr18230295wrn.164.1498567857052; Tue, 27 Jun 2017 05:50:57 -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 k75sm4040499wmh.10.2017.06.27.05.50.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Jun 2017 05:50:56 -0700 (PDT) Date: Tue, 27 Jun 2017 14:50:55 +0200 From: marcel To: "Littlefield, Tyler" Cc: freebsd-questions@freebsd.org Subject: Re: Error appear while building my custom kernel Message-ID: <20170627145055.01042476@marcel-laptop.lan> In-Reply-To: <19495ee4-f27e-8592-31bb-1c8474bae626@tysdomain.com> References: <20170626125312.7fa7955f@marcel-laptop.lan> <19495ee4-f27e-8592-31bb-1c8474bae626@tysdomain.com> 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:50:59 -0000 Le Mon, 26 Jun 2017 12:03:15 -0400, "Littlefield, Tyler" a =C3=A9crit : > On 6/26/2017 6:53 AM, 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=3DMYKERNEL' . > > > > Here is my kernel config file and the logs: > > https://bpaste.net/show/8d0b2e755142 =20 >=20 > Things that stand out: > #device scbus # SCSI bus > (required for ATA/SCSI) The comment makes it pretty clear. > #device da # Direct Access > (disks) again kind of important. > #device ppbus # Parallel port > bus (required) This says required, so I'm not sure if disabling is > the best solution. I don't know if there's code that relies on it, > and once you have a working kernel it wouldn't be a bad idea to > comment it to find out if it is actually required. >=20 > I'm confused what you're going for here. I initially thought it was a > slim kernel, but you disable disks and then leave tons of ethernet > cards to compile. Yeah, sorry, I should have to read slower, I have not try to comment required device yet but I have now a working kernel by uncommenting those required device. Thanks for the answer. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >=20 >=20