From owner-freebsd-current@FreeBSD.ORG Thu Aug 11 13:57:28 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC4416A41F for ; Thu, 11 Aug 2005 13:57:28 +0000 (GMT) (envelope-from kaj@kth.se) Received: from mx2.kth.se (mx2.kth.se [130.237.48.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ADEF43D45 for ; Thu, 11 Aug 2005 13:57:28 +0000 (GMT) (envelope-from kaj@kth.se) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx2.kth.se (Postfix) with ESMTP id BC8BA140B12 for ; Thu, 11 Aug 2005 15:57:26 +0200 (CEST) Received: from mx2.kth.se ([127.0.0.1]) by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18357-01-51; Thu, 11 Aug 2005 15:57:25 +0200 (CEST) Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35]) by mx2.kth.se (Postfix) with ESMTP id DE96C140BA5; Thu, 11 Aug 2005 15:57:24 +0200 (CEST) Received: from kashyyyk.ite.kth.se (localhost.localdomain [127.0.0.1]) by kashyyyk.ite.kth.se (8.13.1/8.13.1) with ESMTP id j7BDvO1v025604; Thu, 11 Aug 2005 15:57:24 +0200 Received: (from kaj@localhost) by kashyyyk.ite.kth.se (8.13.1/8.13.1/Submit) id j7BDvOk0025601; Thu, 11 Aug 2005 15:57:24 +0200 X-Authentication-Warning: kashyyyk.ite.kth.se: kaj set sender to kaj@kth.se using -f Sender: kaj@kashyyyk.ite.kth.se To: current@freebsd.org From: Rasmus Kaj Organization: http://www.stacken.kth.se/ - Stacken computer club, Stockholm X-Face: M9cR~WYav<"fu%MaslX0`43PAYY?uIsM8[#E(0\Xuy9rj>4gE\h3jm.7DD?]R8*^7T\o&vT U@[53Dwkuup4[0@gw#~kyu>`unH?kVj9CJa02(h>Ki\+i=%rn%sDf^KC.!?IHkKjMAbkd\jgmphp^' d|Q; OeXEAhq?ybGqOs1CHb6TJT42'C`Krnk61//AOfXtNjj/t'`5>Vw0QX!dKfOL$.f+S"LIuwR<; I Z0Qnnx(F^F]o@*V%TUtEV'1Z[TkOl^FFV9Z~A[b19%}uP*,huCU Date: 11 Aug 2005 15:57:24 +0200 Message-ID: Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at kth.se Cc: Subject: Kernel module at amd64: unexpected relocation type X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 13:57:28 -0000 Hi! I get the message "kldload: unexpected relocation type 10" many times (som many the ringbuffer gets full and the first message I see is truncated) when loading a 3-rd part kernel module (nnpfs [1]). Relocation type 10 seems to be R_X86_64_32, "Add 32 bit zero extended symbol value", which sys/amd64/amd64/elf_machdep.c doesn't support. On the other hand R_X86_64_32S, "Add 32 bit sign extended symbol value", which sounds quite similar, is supported. Should support for R_X86_64_32 be added, or should I try to "fix" the kernel module so it doesn't use that relocation type? [1] nnpfs is a kernel to userland interface for file systems, used by arla, an AFS client. http://www.stacken.kth.se/projekt/arla/ --=20 Rasmus Kaj --+-- rasmus@kaj.se --+-- http://www.stacken.kth.se/~kaj/ Var glad! Det v=C3=A4rsta har =C3=A4nnu inte intr=C3=A4ffat -Ph. Johnnson