From owner-freebsd-stable@FreeBSD.ORG Sat Nov 24 23:29:31 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A474721C for ; Sat, 24 Nov 2012 23:29:31 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4950E8FC1A for ; Sat, 24 Nov 2012 23:29:31 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id t11so2209685qaa.13 for ; Sat, 24 Nov 2012 15:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IrywRz0jy+cHCcY+OmUCVkRQcFOKXzdqjcU31vYUdnE=; b=LiaG/8uTQ2wiAwb+nsR6QnFGCriXkq79Lj1pbvi1uWRO+8D5+LM3zbK8ldRZaGrjp4 bYb/fIDuVxOGGmN+sWkmGvYNRUuzyFsVsNv7iMcTO+mHwh30qCoFyEJO7kLY14sgHEUl r5EsYvItviTlRkMCB34LMXbCK7jecLvbMJlFMuwAAKMV1G0I1iRn8rLNnkVifFtHVzvI zK+JZEdxZby7oZ5TV8iZ32XVeWW0WKW+mvewAEpNYoU4coM4sL/niHTaLPkWCtuIkA9r jHHPuWKSa8yIQY8vhgxtChC79skX3CyQkSY7X/49ov/es2nwb/dfn0EP0UbjukK9qeS9 MQhA== MIME-Version: 1.0 Received: by 10.229.137.131 with SMTP id w3mr1821677qct.40.1353799770381; Sat, 24 Nov 2012 15:29:30 -0800 (PST) Received: by 10.229.113.102 with HTTP; Sat, 24 Nov 2012 15:29:30 -0800 (PST) In-Reply-To: References: <27e2b51a63d1a04a3f5035ea2bfd215b.authenticated@ultimatedns.net> <1864583315.20121123233938@takeda.tk> <7d9b8b9da9bbf74a134fb581bc133ec1.authenticated@ultimatedns.net> <1147916428.20121124000013@takeda.tk> <8c535b696c2a9cd805d68f52633c3044.authenticated@ultimatedns.net> Date: Sun, 25 Nov 2012 00:29:30 +0100 Message-ID: Subject: Re: Where do I purchace an unlock code to build a custom kernel? From: Andreas Nilsson To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Warren Block , Derek Kulinski , bright@mu.org, FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 23:29:31 -0000 I full-heartedly agree that include-statement is good, but still $ wc -l /usr/src/sys/amd64/conf/MINI 174 /usr/src/sys/amd64/conf/MINI And this is just after removing network cards ( (usb)ethernet, (usb)wlan, raid drivers and firewire) for my pretty standard lenovo t510. There is so much in GENERIC today that seems to work just as well as modules. I guess one thread on a mailing list this summer tried to achieve a more modular config, which would make the include statement even more useful. Best regards Andreas On Sat, Nov 24, 2012 at 6:50 PM, Chris H wrote: > > On Sat, 24 Nov 2012, Chris H wrote: > > > >>> Hi Chris, > >>> > >>> Friday, November 23, 2012, 11:50:16 PM, you wrote: > >>> > >>>> Thank you! Yes, I _did_ know k7 was actually i(x)86, but figured > config(8) > >>>> would "throw me a bone" if it were wrong. > Greetings, and thank you for your reply. > >>>> Anyway, I'll take your advice. > >>> > >>> There are some architecture specific settings there, so it is best to > >>> actually do this and fail it early (well if you would do buildkernel > >>> it would be earlier :) than getting some strange errors. > >>> > >>> If you were thinking to just copy it to i386 directory, to save you > >>> future issues, I would recommend you to redo the config based on > >>> GENERIC in i386 directory. > >> > >> Understood. That's what I did (i386/GENERIC --> CUSTOM). > >> I _knew_ there would be issue(s) otherwise. > >> > >> Thank you again for the advice. Looks to be working as expected. :) > > > > Rather than copy and modify, a custom config can include the GENERIC > > config and override settings. That generally makes the custom config > > file smaller and easier to maintain: > > http://www.wonkity.com/~wblock/docs/html/kernelconfig.html > > Excellent advice. In fact I now feel fairly embarrassed, as your > suggestion seems so _obvious_. :P > > Thanks, that will _definitely_ be my course of action, going forward > (as will cross-compiling on my 6 core AMD64 for this k7) :) > > Best wishes. > > --Chris > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >