From owner-freebsd-stable@FreeBSD.ORG Sat Mar 5 10:35:14 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9402716A4CE for ; Sat, 5 Mar 2005 10:35:14 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1D6B43D3F for ; Sat, 5 Mar 2005 10:35:13 +0000 (GMT) (envelope-from rosti.bsd@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so886031wri for ; Sat, 05 Mar 2005 02:35:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=YKyEr/rAaLejdDEROLoRF61e012ENXYHa/95NDl1aQUcllmAq0R+Egj5fZGyOu0JvCoBFfG4mAg/uHwStitBhilPnwI4b+seWS7XgXrZnwOPBVbzIPoRIER/wpJJyuG8cj3k81rQNCD3sDy1+M6m3gWq7+v6XMzG3A1gPAYNG4U= Received: by 10.54.8.61 with SMTP id 61mr49288wrh; Sat, 05 Mar 2005 02:35:13 -0800 (PST) Received: from saturn ([212.143.154.227]) by smtp.gmail.com with ESMTP id d61sm326597wra.2005.03.05.02.35.11; Sat, 05 Mar 2005 02:35:13 -0800 (PST) Date: Sat, 5 Mar 2005 12:37:29 +0200 From: Rostislav Krasny To: Doug White Message-Id: <20050305123729.542203b7.rosti.bsd@gmail.com> In-Reply-To: <20050304234700.F4084@carver.gumbysoft.com> References: <20050303223712.2e697130.rosti.bsd@gmail.com> <20050304234700.F4084@carver.gumbysoft.com> X-Mailer: Sylpheed version 1.0.2 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: kern/67636 PR again? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 05 Mar 2005 10:35:14 -0000 On Fri, 4 Mar 2005 23:50:15 -0800 (PST) Doug White wrote: > On Thu, 3 Mar 2005, Rostislav Krasny wrote: > > > Hello there. > > > > Although the kern/67636 PR was closed before FreeBSD 5.3-RELEASE, > > I'm experiencing exactly the same problem on my FreeBSD > > 5.3-RELEASE-p5: > > > > saturn# ls -al /boot/kernel/ipl.ko > > -r-xr-xr-x 1 root wheel 92883 Jan 17 12:18 /boot/kernel/ipl.ko > > saturn# kldload -v /boot/kernel/ipl.ko > > kldload: can't load /boot/kernel/ipl.ko: No such file or directory > > saturn# dmesg | tail -1 > > link_elf: symbol in6_cksum undefined > > > > And following is the contents of my kernel build configuration file. > > As you can see I've disabled INET6 but enabled IPFIREWALL and > > IPDIVERT for some other use. Before trying ipl I was using ipfw with > > natd. > > ... and ipl, as configured stock, requires INET6. Compile your kernel > with INET6 or manually compile the ipfilter module to remove the > requirement: > > cd /sys/modules/ipfilter > make cleandir > make obj > make -DNOINET6 > make install > > You'll have to do this anytime you rebuild your kernel, unless you add > a line to /etc/make.conf like > > NOINET6=yes > > but I'm not sure what effect that will have on other code. Defining NOINET6 in the /etc/make.conf disables building IPv6 related programs and libraries during buildworld. I wonder why kernel code is using this environment variable without checking its own INET6 one too? Take a look on following locations: /usr/src/sys> grep -r NOINET6 * contrib/ipfilter/netinet/ip_compat.h: !defined(NOINET6)) || \ modules/ipfilter/Makefile:.if !defined(NOINET6) modules/pf/Makefile:.if defined(NOINET6)