Bug 1215285 - [RPi3] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
Summary: [RPi3] dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted
Status: RESOLVED DUPLICATE of bug 1214286
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: aarch64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: openSUSE Kernel Bugs
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/356...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-13 08:03 UTC by Guillaume GARDET
Modified: 2023-12-05 10:00 UTC (History)
5 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume GARDET 2023-09-13 08:03:05 UTC
## Observation

openQA test in scenario opensuse-Tumbleweed-JeOS-for-RPi-aarch64-jeos@RPi3 fails in
[journal_check](https://openqa.opensuse.org/tests/3568327/modules/journal_check/steps/9)

New kernel 6.5.2 shows the following trace in journal on RPi3:
dwc2 3f980000.usb: dwc2_hc_halt() Channel can't be halted


## Test suite description
Maintainer: fvogt, mnowak

Start JeOS from the HDD image, configure it using the firstboot wizard and then run basic tests. console=tty0 added as needed for aarch64.


## Reproducible

Fails since (at least) Build [20221024](https://openqa.opensuse.org/tests/2833524)


## Expected result

Last good: (unknown) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=JeOS-for-RPi&machine=RPi3&test=jeos&version=Tumbleweed)
Comment 1 Andrea della Porta 2023-10-20 14:45:00 UTC
Despite being reported as an error, the result of that happening should be harmless since it's intended that periodic usb transaction, under some circumstances (served by DMA, etc.) cannot be halted. Dwc2 core should halt the relevant channel on end of frame, so the recover should be guarantee. Even if the net result may not be that much of a problem though, the point worth investigating  is why the transaction has been requested to be halted in the first place. This may stem from some other issue...
Comment 2 Andrea della Porta 2023-11-13 10:00:46 UTC
Hi Guillame,
I saw that the latest tests linked in your original ticket (tests executed 3 days ago) has passed. Is this ticket still relevant or maybe the issue is just non deterministic? 
Many thanks
Comment 3 Guillaume GARDET 2023-11-13 10:36:26 UTC
(In reply to Andrea della Porta from comment #2)
> Hi Guillame,
> I saw that the latest tests linked in your original ticket (tests executed 3
> days ago) has passed. Is this ticket still relevant or maybe the issue is
> just non deterministic? 
> Many thanks

The problem is sporadic. Sometimes it fails, sometimes it passes...
You can see that on the test history here (increase number of lines displayed):
https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=opensuse&flavor=JeOS-for-RPi&machine=RPi3&test=jeos&version=Tumbleweed#next_previous
Comment 4 Oliver Neukum 2023-11-13 11:21:21 UTC
This is most likely a duplicate of an issue a customer reported on RPi in that bug report

*** This bug has been marked as a duplicate of bug 1214286 ***
Comment 5 Guillaume GARDET 2023-11-14 08:37:11 UTC
I am not allowed to access bug#1214286 
Could you fix that please?
Comment 6 Ivan Ivanov 2023-11-16 08:15:15 UTC
(In reply to Guillaume GARDET from comment #5)
> I am not allowed to access bug#1214286 
> Could you fix that please?

I am afraid it would not be possible, but the outcome is this:

https://patchwork.kernel.org/project/linux-usb/patch/20231115144514.15248-1-oneukum@suse.com/
Comment 7 Andrea della Porta 2023-11-16 10:03:20 UTC
Just as a head up, please note that there is a good chance that the proposed fix in comment #6 will also fix the issue you are seeing, but the symptoms here are a little different so it may also be due to other cause. Its definitely worth trying the patch, though.

Thanks
Comment 8 Andrea della Porta 2023-11-16 10:49:28 UTC
... and since the patch has just being pushed upstream, we may end up resolving (hopefully) this issue for free
Comment 9 Miroslav Beneš 2023-12-05 10:00:51 UTC
The patch from comment 6 is a part of 6.6.4 stable and now merged to our stable branch so it should appear in TW soon.

Guillaume, please let us know the outcome. It might be the fix even though the symptoms are different. As mentioned previously.