-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RemoteLUN!=0 is not supported #56
Comments
Hmm. I still get the same value when using ipmitool 1.8.16 from ubuntu 16.04:
So now I'm less sure that this is related to that particular entry in the changelog. My other theory is related to this comment. It looks to me (from a glance at FWIW, here is the FSR for the sensor in question: |
I think this line might be the problem: https://github.com/gebn/bmc/blob/455e4875b2/v2session.go#L155 But, when I hack it up to set RemoteLUN=1 when I only ask because if you've always hard-coded it to 0 then you may have never had the opportunity to test it. I'm trying to find the spot in the IPMI 2.0 spec which defines how these fields should be set, but haven't found it yet. |
I have a patch locally that works. I added |
Thanks for this. So in summary, you have an FSR specifying the sensor owner is
Can you confirm message serialising is absolved? Non-zero LUNs should be covered by the unit tests.
This definitely shouldn't be the case for a linear sensor like this one. I think IPMItool's behaviour is somewhat brute-force and paranoid, probably due to some poorly-implemented BMCs that are hopefully no longer in use. Does IPMItool show the FSR and reading factors responses match here? I'll take a look at your PR. |
Your summary is correct. Here's a snippet from
I can't reproduce that error now. I'm not sure what I did wrong when I was hacking things up in my first attempt.
You're right - that was a bad theory. |
I am testing out a new version of a BMC. This library is giving different readings from ipmitool. In the changelog for this version, they claim that ipmitool>=1.8.18 is required because "the issues with the older ipmitool was that the LUN of the sensor was not passed around with the sensor number".
Might this library have a similar issue as the older versions of ipmitool which would explain the discrepancy? I would be very willing to believe that the behavior exhibited by this BMC and by ipmitool is not according to spec.
The text was updated successfully, but these errors were encountered: