Closed RayCic closed 9 years ago
Upgrade to kernel 3.18.1 did not help...
After upgrade to https://github.com/bas-t/saa716x-intree problems still remains. So this means problem is upstream
@RayCic I think that @bas-t tree is a kind of branch from this one (at least the saa716x) so it doesn't mean that the saa716x driver isn't the problem.
Anyway, I'm closing this one since we are discussing this issue on #66
Sorry for touching this issue again. It looks that linux-media mailing list is not friendliest list on the Earth, so I should investigate this problem by my self. I am trying to make investigation plan for weekend and would like to hear any comments and suggestions.
1) Naive kernel bisection - just build latest kernel from each suspected kernel version: 3.14, 3.15, 3.16 and see in which version driver broke. With this I hope to minimize next step - linux-media tree bisection. Problem: this kernels may also include IOMMU subsystem regression I hit. In this case this step is useless.
Is this step useful? Or should I do only linux-media tree bisection? IMHO 1 kernel iteration = 2-3 linux-media tree bisection iterations.
2) linux-media tree bisection Problems: 1) I almost do not have experience with git and have NO experience with tree bisection 2) I am afraid of commits count from kernel version 3.13 to HEAD: ~80000 But on other hand it is ~17 iterations . And if in worst case iteration will take half hour - it is whole day. 3) should I limit bisection to the path "drivers/media" or better full blown search? 4) because there is two different error messages should I do two bisection sessions?
My bisection algorithm:
Regression caused by commit 453afdd9ce33293f640e84dc17e5f366701516e8 "[media] cx23885: convert to vb2"
Because this commit introduces important change in driver's infrastructure, we have only two choices: 1) Wait until somebody smart fixes bug(s) in the driver (preferred solution) 2) Just revert this commit and all commits depending on it (and lose support for all new devices)
Report this to Hans Verkuil (and cc linux-media), who did the vb2 conversion. I already once bugged him as I thought this introduced another regression, but in the end that was not the case (the problem was in my code, which he pointed out).
I just realized that this issue is for the tsb6981 which I already commited to the official media tree some time ago (and already part of the official kernel). So you're telling me that the issue exists in the latest official kernel?
It was reason why I closed it first time. Yes. After driver was converted by Hans Verkuil to videobuf2 these problems appeared. As suggested by @trsqr I contacted Hans Verkuil.
Ok, closing this issue (again). I'll keep an eye on the linux-media mailing list for patches related to this.
After kernel upgrade 3.13 => 3.17 and switching to your code base (because I needed support for TBS 6285) I started to receive different IOMMU related problems:
Problem 1:
Problem 2:
Thoughts about above problems:
P.S. I tried to take out TBS 6285 - problem get worse: second front end stopped responding. When I put card back problem with second front end disappeared. (F*king magic)