Re: Recovering from transaction errors [was: Re: [syzbot] INFO: rcu detected stall in tx]
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2021-05-21 14:34:19
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2021-05-21 14:34:19
On Fri, May 21, 2021 at 02:12:43AM +0000, Thinh Nguyen wrote:
Alan Stern wrote:quoted
At the moment, I think the best approach is Guido's suggestion to reject URBs submitted to endpoints that have gotten a transaction error, until the error status has somehow been cleared. Is that what you would like to see automated?First, just want to point out that I'm not familiar with syzbot. I was just thinking if this issue occurs, and if the user wants to start a new test, then she doesn't have to unplug+plug the device back and allow some application to automatically trigger a new test after a failure.
If you're just talking about syzbot testing, this isn't a issue. Syzbot doesn't test real devices; it tests emulated devices using a special-purpose userspace driver. Alan Stern