Skip to content
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

Firmware loading times out #40

Open
bzfbd opened this issue Jul 28, 2020 · 6 comments
Open

Firmware loading times out #40

bzfbd opened this issue Jul 28, 2020 · 6 comments

Comments

@bzfbd
Copy link
Contributor

bzfbd commented Jul 28, 2020

Sometimes firmware loading doesn't work on first try:

athp0: failed to receive control response completion, polling.. done 0
athp0: still no control response completion received, giving up.. done 0
athp0: ctl_resp never came in (-60, done 0)
athp0: failed to connect to HTC: -60

We can repeat this 1..n times (and I have seen really large n at one point when this was happening for more than an hour).

It seems in those cases we cat three CE interrupts but no more.

I've seen pipe 0 and pipe 1 coming in in both orders but not convinced myself that it is an actual race of some sort yet.
I have no insight into the firmware and wonder if that's something we have more control over?

Also upstream with the new chipset support that entire interrupt 0 is FW and things have been cleaned up and they only have 2 no longer 3 possible setups dealing with. Do you think it might be worth porting just that logic forward (also getting us closer to upstream)?

@Geramy
Copy link
Contributor

Geramy commented Jul 28, 2020 via email

@erikarn
Copy link
Owner

erikarn commented Jul 28, 2020 via email

@bzfbd
Copy link
Contributor Author

bzfbd commented Jul 28, 2020

In my case it's 988X Compex cards 600 and 900; I rarely see it on Intel (though it happens quite often according to my devlogs; I increased the timeouts for debugging and with that it's a lot more noticeable now).
I'll go and suck in these bits and see how much of a difference it makes; at least the simplification from upstream will make it easier to debug.

@erikarn
Copy link
Owner

erikarn commented Jul 28, 2020 via email

@Geramy
Copy link
Contributor

Geramy commented Jul 28, 2020 via email

@erikarn
Copy link
Owner

erikarn commented Jul 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants