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

Streams freezing (no new encoded frames up to reboot) #72

Open
ghost opened this issue Jun 20, 2014 · 4 comments
Open

Streams freezing (no new encoded frames up to reboot) #72

ghost opened this issue Jun 20, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2014

This is known to reproduce with 2.4.9-3, 2.4.9-4 and 2.4.8-8 with solo6110 16-port cards. The host i have seen with this issue had IRQ # 16 shared between solo6x10-edge driver and "ehci_hcd:usb1", according to /proc/interrupts . It had 4-cores Intel CPU @3.5 GHz. Module reloading doesn't help the bug, only machine reboot helps.
The manifestation of issue: after some time of normal functioning (sometimes several minutes, sometimes approx. an hour) no new frames are produced by opened V4L2 descriptors.
From extensive printk-ing of driver code, i have figured out that no new interrupts were processed with solo_isr().
I have tried some random changes, like

That haven't eliminate the issue. But i believe the first change is positive, and the second change has a result of driver proceeding handling other interrupts (not of h264 encoder, but P2M), although that resulted in strange effects - e.g. stale frame was retransmitted.

I was unable to reproduce this issue with 8-port solo6110 card. My host also doesn't make solo6x10-edge's IRQ number shared with anything else.

@ghost ghost added Bug labels Jun 20, 2014
@ismaell
Copy link
Contributor

ismaell commented Jun 22, 2014

The second check is about making sure you don't try to handle things that you have already handled in a previous run. I've not run into this one before, but sound like we have to rethink the way we do interrupt handling...

@ismaell
Copy link
Contributor

ismaell commented Jun 22, 2014

I have an idea of what might be happening...

@ghost
Copy link
Author

ghost commented Jun 22, 2014

sound like we have to rethink the way we do interrupt handling...

I have an idea of what might be happening...

@ismaell, you get available so rarely and for so little time... Could you at last open your ideas, so that we could work on issues and not stay blocked because of your absence?

@ghost
Copy link
Author

ghost commented Jun 30, 2014

This feature was reported to be NOT reproducing with kernel v3.11.0 + solo6x10-edge v2.4.9-4 (after having that issue with kernel v3.11.0 + solo6x10-edge v2.4.8-8; kernel v3.2.0-6x + solo6x10-edge v2.4.9-4 installation with this issue was also encountered).

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

No branches or pull requests

1 participant