freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] [bug #37126] Intel M/B S3210SH: Segmentation fault (i38


From: Sergey Zaykov
Subject: [Freeipmi-devel] [bug #37126] Intel M/B S3210SH: Segmentation fault (i386)
Date: Wed, 22 Aug 2012 00:51:37 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0

Follow-up Comment #9, bug #37126 (project freeipmi):

FreeBSD Patch for cource code is:

--- libfreeipmi/driver/ipmi-kcs-driver.c.orig   2012-01-03 03:25:58.000000000
+0800
+++ libfreeipmi/driver/ipmi-kcs-driver.c        2012-01-06 04:38:31.485000601
+0800
@@ -491,7 +491,7 @@
 #ifdef __FreeBSD__
 #ifdef USE_IOPERM
   /* i386_set_ioperm has known problems on FBSD 5.x (bus errors). */
-  if (i386_set_ioperm (ctx->driver_address, 0x02, 0x01))
+  if (sysarch (I386_SET_IOPERM, (void *) (ctx->driver_address, 0x02, 0x01)))
     {
       KCS_ERRNO_TO_KCS_ERRNUM (ctx, errno);
       return (-1);
--- ipmi-oem/ipmi-oem.h.orig    2012-01-03 03:26:10.000000000 +0800
+++ ipmi-oem/ipmi-oem.h 2012-01-06 04:36:44.994004384 +0800
@@ -20,6 +20,7 @@
 #define _IPMI_OEM_H

 #include <freeipmi/freeipmi.h>
+#include <sys/limits.h>

 #include "tool-cmdline-common.h"
 #include "pstdout.h"


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37126>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]