[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freeipmi-devel] 64-bit issues with OpenIPMI driver on FreeBSD-7.2
From: |
Dmitry Frolov |
Subject: |
Re: [Freeipmi-devel] 64-bit issues with OpenIPMI driver on FreeBSD-7.2 |
Date: |
Sun, 6 Dec 2009 11:45:06 +0600 |
Mark, this looks like a problem with alignment, did You use "pragma
pack" in your application?
2009/12/4 Mark Lokowich <address@hidden>:
> 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 (address@hidden)