From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 22 05:00:38 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 625BC16A4DD for ; Sat, 22 Jul 2006 05:00:38 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E039B43D4C for ; Sat, 22 Jul 2006 05:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6M50b9l021485 for ; Sat, 22 Jul 2006 05:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6M50bBd021484; Sat, 22 Jul 2006 05:00:37 GMT (envelope-from gnats) Resent-Date: Sat, 22 Jul 2006 05:00:37 GMT Resent-Message-Id: <200607220500.k6M50bBd021484@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nick Barkas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32C6916A5E0 for ; Sat, 22 Jul 2006 04:54:21 +0000 (UTC) (envelope-from snb@smtp.earth.threerings.net) Received: from smtp.earth.threerings.net (mail.threerings.net [64.127.109.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ABAD43D49 for ; Sat, 22 Jul 2006 04:54:21 +0000 (GMT) (envelope-from snb@smtp.earth.threerings.net) Received: by smtp.earth.threerings.net (Postfix, from userid 1004) id EE36F662E; Fri, 21 Jul 2006 21:54:20 -0700 (PDT) Message-Id: <20060722045420.EE36F662E@smtp.earth.threerings.net> Date: Fri, 21 Jul 2006 21:54:20 -0700 (PDT) From: Nick Barkas To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/100703: Update port: sysutils/ipmi-kmod X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Barkas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jul 2006 05:00:38 -0000 >Number: 100703 >Category: ports >Synopsis: Update port: sysutils/ipmi-kmod >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 22 05:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nick Barkas >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: Three Rings Design >Environment: System: FreeBSD extranet.luna.threerings.net 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Mon Jun 26 09:06:24 UTC 2006 root@lab1.earth.threerings.net:/usr/obj/usr/src/sys/SMP i386 >Description: sysutils/ipmi-kmod seg faults on amd64 machines when running kldxref during installation, and when attempting to load ipmi.ko the machine will crash. Neither problems seems to occur if the module is not stripped prior to installation. >How-To-Repeat: Install sysutils/ipmi-kmod on a machine running FreeBSD amd64 and attempt to kldload ipmi.ko >Fix: This patch will cause ipmi.ko to not be stripped on amd64 machines, which solves the problem in my tests: Index: Makefile =================================================================== --- Makefile (revision 945) +++ Makefile (working copy) @@ -28,6 +28,11 @@ ONLY_FOR_ARCHS= i386 amd64 +# Don't strip module on amd64 systems +.if ${ARCH} == "amd64" +STRIP= +.endif + .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires kernel source to be installed .endif >Release-Note: >Audit-Trail: >Unformatted: