Can you try the following patch?  I had a report of a similar problem 
and this fixed it.

-corey


         && (((ipmi->hacks & IPMI_CONN_HACK_20_AS_MAIN_ADDR)
          && (tmsg[3] == 0x20))
         || ((! (ipmi->hacks & IPMI_CONN_HACK_20_AS_MAIN_ADDR))
-            && (tmsg[3] == ipmi->ipmb_addr[chan]))))
+            && ((tmsg[3] == ipmi->ipmb_addr[chan])
+            /* Some systems don't swap rq and rs addresses :( */
+            || ((tmsg[3] == 0x81)
+                && (tmsg[0] == ipmi->ipmb_addr[chan]))))))
     {
         /* In some cases, a message from the IPMB looks like it came
            from the BMC itself, IMHO a misinterpretation of the
@@ -309,7 +312,10 @@
         if (((ipmi->hacks & IPMI_CONN_HACK_20_AS_MAIN_ADDR)
          && (tmsg[3] == 0x20))
         || ((!(ipmi->hacks & IPMI_CONN_HACK_20_AS_MAIN_ADDR))
-            && (tmsg[3] == ipmi->ipmb_addr[chan])))
+            && ((tmsg[3] == ipmi->ipmb_addr[chan])
+            /* Some systems don't swap rq and rs addresses :( */
+            || ((tmsg[3] == 0x81)
+                && (tmsg[0] == ipmi->ipmb_addr[chan])))))
         {
         ipmi_system_interface_addr_t *si_addr
             = (ipmi_system_interface_addr_t *) addr;


Eric J. Bowersox wrote:
> I'm attempting to create an IPMI connection to probe the sensors of a
> cluster node, but the OpenIPMI library seems unable to connect.  Turning
> on debugging output, I get a whole bunch of messages from the library
> that look like this:
>
> Dropped message seq 1 - netfn/cmd/addr mismatch
>  netfn     = 07, exp netfn = 07
>  cmd       = 38, exp cmd   = 38
>  addr      = 01 00 00 00 0f 00 81 00
>  exp addr= 0c 00 00 00 0f 00 00 00
>  data     =
>    20 1c c4 81 04 38 00 01 04 04 00 00 00 00 00 3a 01 00 00 00 0f 00 81
> 00 
>
> Now, obviously, the address we're getting back is the problem, in that
> it's sending out a system address and getting back an IPMB address.
> But, is this a problem with the library, or a problem with the BMC I'm
> talking to?  And how can this be worked around?
>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openipmi-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openipmi-developer
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to