ports/100703: Update port: sysutils/ipmi-kmod
Nick Barkas
snb at threerings.net
Sat Jul 22 05:00:38 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list