From owner-freebsd-ports@FreeBSD.ORG Thu Jul 26 14:13:45 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 D0DF116A41F for ; Thu, 26 Jul 2007 14:13:45 +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 8BDF913C478 for ; Thu, 26 Jul 2007 14:13:45 +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 E8CA5ED5972; Thu, 26 Jul 2007 17:12:29 +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 tfj98mHrnEv2; Thu, 26 Jul 2007 17:12:28 +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 ABAA8ED597D; Thu, 26 Jul 2007 17:12:28 +0300 (EEST) Message-ID: <46A8AC15.4080509@icyb.net.ua> Date: Thu, 26 Jul 2007 17:13:41 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: Sam Lawrance Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: 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: Thu, 26 Jul 2007 14:13:45 -0000 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. Unfortunately I have not preserved the messages and the crash dumps but it is very reproduce the problem without system crash using kldxref as described above. Current maintainer of the port seems to be ports@, so maybe I should open a PR ? Some system info: FreeBSD 6.2-RELEASE-p3 amd64 uppc-kmod-0.8_1 ports tree was portsnapped last night -- Andriy Gapon