From owner-freebsd-ports@FreeBSD.ORG Wed Aug 1 16:40:58 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D492616A417 for ; Wed, 1 Aug 2007 16:40:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from gateway.cybervisiontech.com.ua (gateway.cybervisiontech.com.ua [88.81.251.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8FC5513C458 for ; Wed, 1 Aug 2007 16:40:58 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (hq.cybervisiontech.com [127.0.0.1]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 73C0AED61C6; Wed, 1 Aug 2007 19:39:02 +0300 (EEST) X-Virus-Scanned: amavisd-new at cybervisiontech.com Received: from gateway.cybervisiontech.com.ua ([127.0.0.1]) by localhost (hq.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hFx5NLybVotb; Wed, 1 Aug 2007 19:39:01 +0300 (EEST) Received: from [10.2.1.87] (rein.cybervisiontech.com.ua [10.2.1.87]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 0DCDAED61C5; Wed, 1 Aug 2007 19:39:01 +0300 (EEST) Message-ID: <46B0B795.5070106@icyb.net.ua> Date: Wed, 01 Aug 2007 19:40:53 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: Sam Lawrance References: <46A8AC15.4080509@icyb.net.ua> In-Reply-To: <46A8AC15.4080509@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: uppc kmod installation problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 16:40:58 -0000 on 26/07/2007 17:13 Andriy Gapon said the following: > It seems that installation action of uppc-kmod port (do-install target) > uses incorrect tool to put uppc.ko in its destination. It seems that the > tool (${INSTALL_PROGRAM}) corrupts the .ko, so that it is not a valid > kernel module anymore. If I put uppc.ko into /boot/kernel and do kldxref > then kldxref complains about missing symbol table in uppc.ko and dumps > core. If the module is loaded then it crashes my system. > > On the other hand, if I simply copy uppc.ko from work directory then it > works ok. [snip] > Some system info: > FreeBSD 6.2-RELEASE-p3 amd64 [snip] This problem seems to be the same as the one described here: http://www.freebsd.org/cgi/query-pr.cgi?pr=100703 There seems to be something special about amd64, kernel modules and 'install -s' / strip. -- Andriy Gapon