Mark, this looks like a problem with alignment, did You use "pragma
pack" in your application?

2009/12/4 Mark Lokowich <[email protected]>:
> I’m having problems using the OpenIPMI driver on a 64-bit FreeBSD-7.2
> system.  Seems that the ipmi_req structure is being sized at 0x20 bytes when
> it should be 0x28.  This is causing incorrect encoding of the ioctl
> IPMICTL_SEND_COMMAND, failing the operation.  I tried using the 32-bit
> compatibility mode, but this was creating other problems with casting and
> pointer widths.  This problem is only evident from a C++ application that
> uses the driver, not when built as a standalone IPMI test utility.  Any
> help?
>
>
>
> Thanks,
>
> Mark ([email protected])


_______________________________________________
Freeipmi-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to