-
Notifications
You must be signed in to change notification settings - Fork 4
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
Failed to send rsp msg intermittently #1
Comments
The issue occurs when there are mutliple writes to the kcs device wihtout read.
|
It can also happen if the host decides to reset the state machine before the bridge finishes writing, but before a new command is sent down the channel and read(). I fixed some edge cases around this behavior in a rewrite of the bridge However, I still haven't made the EINVAL error message more clear as a normal (non-exceptional) error case that the host can direct. |
Good to know there is another implementation of kcsbridge. Comparing the code, it looks like:
@wak-google Could you kindly tell which the edge cases are? And will you push Google's re-write of kcsbridge to the community? |
We have verified that the rewrite of kcsbridge in https://github.com/openbmc/google-misc/blob/master/subprojects/kcsbridge/ works fine. I would propose that google push the re-write upstream :) |
Fixed via 03e6def |
The kcsbridge has bug (openbmc/kcsbridge#1) and google has a rewrite of this function. Use Google's kcsbridge implmentation. Tested: The above issue is not reproduced. Signed-off-by: Lei YU <[email protected]> Change-Id: I60e2a63bdf9026bea19db92492e81696d6c6d115
The kcsbridge gets
Failed to send rsp msg
error intermittently, where the return value is 0 and theERROR
is "Invalid argument"The full json-pretty output is:
The text was updated successfully, but these errors were encountered: