Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2006 21:54:20 -0700 (PDT)
From:      Nick Barkas <snb@threerings.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100703: Update port: sysutils/ipmi-kmod
Message-ID:  <20060722045420.EE36F662E@smtp.earth.threerings.net>
Resent-Message-ID: <200607220500.k6M50bBd021484@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060722045420.EE36F662E>