From owner-freebsd-ipfw@FreeBSD.ORG Wed Mar 24 14:48:11 2010 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC6281065673 for ; Wed, 24 Mar 2010 14:48:11 +0000 (UTC) (envelope-from alex@wittig.name) Received: from hotzenplotz.wittig.name (unknown [IPv6:2002:5b8f:51e8::1]) by mx1.freebsd.org (Postfix) with ESMTP id 85CA98FC15 for ; Wed, 24 Mar 2010 14:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wittig.name; s=experimental; h=Sender:Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:From:Date:Message-ID; bh=giftYOEEu5vJOINV7BLhXwe9ZyCcvURdYsYvFqlX/KE=; b=PACMwS2DuXQBJdAupbct/C66g2IgXXgGKoZ+0z+y4QXWA65P3zgy4u/DAgtO4uqT2MiJMNhEn/fBGFVSdrPJ3FoKdD5hLfI3eA98tnBTiEsKw6ropMrhAZmXP3Q63ME1ulWr1x5Rf7HGCy13yPMSP3LDBWSU9EzHosV/wSmNiCc=; Received: from prokofiev.bt.pa.msu.edu ([35.9.70.209] helo=Schneeweisschen-II.local) by hotzenplotz.wittig.name with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NuRsQ-0003JL-4A for freebsd-ipfw@freebsd.org; Wed, 24 Mar 2010 15:48:10 +0100 Message-ID: <4BAA2627.8080203@wittig.name> Date: Wed, 24 Mar 2010 10:48:07 -0400 From: Alexander Wittig User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: alex@wittig.name Subject: r205511 - ipfw.ko has unresolved symbols X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2010 14:48:11 -0000 Hello Since the r205511 commit to 8-Stable my kernel can't load ipfw.ko any more. The error message in dmsg is: kernel: link_elf_obj: symbol ipfw_dyn_attach undefined kernel: linker_load_file: Unsupported file type A quick Google search for the first line brings up this message from last December (http://www.mail-archive.com/freebsd-ipfw@freebsd.org/msg02276.html): > On Thu, Dec 17, 2009 at 12:31:32PM -0500, David Horn wrote: > > I am seeing a kldload failure for ipfw.ko after the latest -current commits > > (fails for r200580 - r200633 inclusive) for ipfw: > > > > link_elf_obj: symbol ipfw_dyn_attach undefined > > not surprising, as i forgot to put the new filenames in the Makefile > for the module, and buildworld does not (and cannot) complain about > unresolved symbols. > > Just committed a fix in r200636 > > thanks > luigi > Is it possible that there is the same issue with this commit? For reference: uname -a FreeBSD hotzenplotz.wittig.name 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed Mar 24 14:36:45 CET 2010 root@hotzenplotz.wittig.name:/usr/obj/usr/src/sys/ALEX amd64 If I compile IPFW into the kernel everything works fine. Thanks, Alexander (please CC me in replies as I'm not on freebsd-ipfw@)