From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 15:06:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 613AE1065670 for ; Thu, 3 Apr 2008 15:06:32 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 2742A8FC20 for ; Thu, 3 Apr 2008 15:06:31 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 2A0B728469; Thu, 3 Apr 2008 11:06:31 -0400 (EDT) To: "Mr Y" References: <20def4870804010907n320956f1o5e0e56962a64e0fd@mail.gmail.com> <44k5jg1iwn.fsf@be-well.ilk.org> <20def4870804020801w2fbaed96led264c3189cc1a35@mail.gmail.com> From: Lowell Gilbert Date: Thu, 03 Apr 2008 11:06:30 -0400 In-Reply-To: <20def4870804020801w2fbaed96led264c3189cc1a35@mail.gmail.com> (Y.'s message of "Wed\, 2 Apr 2008 18\:01\:35 +0300") Message-ID: <443aq32d1l.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: kldload: unexpected relocation type 10 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: Thu, 03 Apr 2008 15:06:32 -0000 "Mr Y" writes: >> >> > I really don't know how to get rid of this message.. >> > >> > I get millions of these during kldload of a driver: >> > >> > kldload: unexpected relocation type 10 >> > >> > can't see anything wrong with my Makefile, like the google threads say, >> so >> > PLEASE HELP. >> >> The kernel module was built along with the kernel? > > > No, seperately. > > >> >> Does it matter which module, or are you getting this with any loadable >> module? >> > > didn't try any other module, this driver is my first work with FreeBSD.. I see. I had not understood that the module was something you were writing. You might want to try freebsd-hackers. I'm a bit out of date on kernel coding (in fact, I thought that relocations weren't needed any more, at least on new platforms).