From owner-freebsd-stable@FreeBSD.ORG Thu Aug 7 03:17:06 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 066C41065671 for ; Thu, 7 Aug 2008 03:17:06 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5132D8FC14 for ; Thu, 7 Aug 2008 03:17:05 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m773H2a7030557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 7 Aug 2008 12:47:04 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "Eugene Kazarinov" Date: Thu, 7 Aug 2008 12:47:00 +0930 User-Agent: KMail/1.9.7 References: <519867a90808061700i677df5e8u221fe39de2fd3e1@mail.gmail.com> <519867a90808061950p4a611403we7248af13e69dc5d@mail.gmail.com> <200808071244.03428.doconnor@gsoft.com.au> In-Reply-To: <200808071244.03428.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8176800.9yEyAgOFkh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200808071247.02042.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: FreeBSD Stable Subject: Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 03:17:06 -0000 --nextPart8176800.9yEyAgOFkh Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thu, 7 Aug 2008, Daniel O'Connor wrote: > > So, If I dont want to get error response "kernel: kldload: > > /boot/modules/ng_ipacct.ko: Unsupported file type" in > > /var/log/messages then I could remove /boot/modules/ng_ipacct.ko > > and /boot/modules/linker.hints > > last one containes: > > I think the 'Unsupported file type' *warning* is due to an odd issue > with amd64 kernel module support, it is harmless (although annoying). To clarify here.. There are 2 bits of code in the kernel for loading modules - they get=20 run in a certain (compiler/linker specific) order. It used to be they=20 were run one way but now it is the other way around. These bits of code=20 print warnings if the object format is wrong. So, one gets run on the module you want to load & fails (and prints the=20 message you see). The next one is run and it understands that file type=20 so loads it. If it was a bogus module that neither understood then the kldload would=20 return an error. I believe a work around was applied recently so this is not so much of a=20 problem any more. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart8176800.9yEyAgOFkh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iD8DBQBImmku5ZPcIHs/zowRAkVcAJ45tgsey+30S2kNDS0n1Wjcj/PeTwCaA1jt N3Yj8vBqLxnaxQ3KUxRmJ28= =EkUv -----END PGP SIGNATURE----- --nextPart8176800.9yEyAgOFkh--