From owner-freebsd-questions@FreeBSD.ORG Fri Jan 19 22:39:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C24CD16A402 for ; Fri, 19 Jan 2007 22:39:51 +0000 (UTC) (envelope-from fkraiem@enib.fr) Received: from smtp24.orange.fr (smtp24.orange.fr [193.252.22.27]) by mx1.freebsd.org (Postfix) with ESMTP id 62F6A13C461 for ; Fri, 19 Jan 2007 22:39:51 +0000 (UTC) (envelope-from fkraiem@enib.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2406.orange.fr (SMTP Server) with ESMTP id 95D3D1C00093 for ; Fri, 19 Jan 2007 23:39:50 +0100 (CET) Received: from ana.fkraiem.org (ABordeaux-256-1-30-39.w90-11.abo.wanadoo.fr [90.11.73.39]) by mwinf2406.orange.fr (SMTP Server) with ESMTP id 6D26A1C0008F for ; Fri, 19 Jan 2007 23:39:50 +0100 (CET) X-ME-UUID: 20070119223950447.6D26A1C0008F@mwinf2406.orange.fr From: Firas Kraiem To: freebsd-questions@freebsd.org Date: Fri, 19 Jan 2007 23:39:48 +0100 User-Agent: KMail/1.9.4 References: <007f01c73c17$cd0dda60$030210ac@ENKITE.local> In-Reply-To: <007f01c73c17$cd0dda60$030210ac@ENKITE.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701192339.48836.fkraiem@enib.fr> Subject: Re: Problems with custom kernel fbsd 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 22:39:51 -0000 On Friday 19 January 2007 23:18, James Hein wrote: > Hello, > My kernel for freebsd 6.2 is not compiling but only with my custom config. > I was able to compile it with the GENERIC kernel included, but my modified > one will not compile. All I see at the end of my compilation is: awk -f > /usr/home/ncvs/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld > export_syms | xargs -J% objcopy % zlib.kld ld -Bshareable -d -warn-common > -o zlib.ko.debug zlib.kld > objcopy --strip-debug zlib.ko.debug zlib.ko > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > It compiles ok with the generic kernel, but for whatever reason, my custom > one will not compile. My process was that I cvsupped the src files(for > fbsd 6.2 upgrade, from 6.1 p5), then cleaned out the /usr/obj stuff, then > went back to my cvsup src directory and did a make buildworld, then I > copied the GENERIC kernel file in sys/i386/conf to MAINSERVER, edited the > ident option of the kernel config to reflect the name, copied MAINSERVER to > /root/kernels then deleted the one in the conf directory and recreated it > as a symlink to the one in the kernels directory.(lrwxr-xr-x 1 root wheel > 24 Jan 18 19:42 MAINSERVER -> /root/kernels/MAINSERVER ---- ls from > conf directory.) Then, I went back to the top level of src, and did a make > -j4 buildkernel KERNCONF=MAINSERVER I did manage to get the generic config > working as is reflected by my uname: FreeBSD 6.2-RELEASE FreeBSD > 6.2-RELEASE #0: Fri Jan 19 01:48:20 CST 2007 > james@:/usr/obj/usr/home/ncvs/src/sys/GENERIC i386 > > Included is my hardware information from dmsg and my kernel config. If you > see something in my kernel config that doesn't look right, please let me > know. Thanks very much. > > James Hein Since you disabled inet6, you should also disable the ipv6 to ipv4 tunneling (device gif). Hope that helps. Firas