On Tue, 19 Feb 2019, Hans Verkuil wrote:
Hi Matti,
On 2/19/19 6:30 AM, Matti Hämäläinen wrote:
Hello!
Last week while testing some webcams that use gspca-based v4l2 drivers, I
noticed that the driver was spewing some errors in klog whenever the
program using them issued VIDIOC_STREAMOFF ioctl. This seems to be a
regression caused by commit 1f5965c4dfd7665f2914a1f1095dcc6020656b04
"media: gspca: convert to vb2" in the mainline kernel.
[...]
Which kernel version are you using?
I got other, similar reports as well and I plan to look at it next week.
Hi Hans,
Sorry, forgot to mention that. First I noticed it on a vanilla 4.20.8
kernel, but bisected to the mentioned commit in Linus' mainline tree,
which was merged in some 4.18-rc. 4.17.x and earlier without the
change work fine.
I just tested with git://linuxtv.org/media_tree.git of today
(5.0.0-rc7-test-00312-gb3c786566d8f), and the problems persist.
Actually I got my other PC to hard lockup, too, when disconnecting the
camera while capture was on.
--
] ccr/TNSP ^ pWp :: ccr@xxxxxxxx :: https://tnsp.org/~ccr/
] https://tnsp.org/hg/ -- https://www.openhub.net/accounts/ccr
] PGP key: 7BED 62DE 898D D1A4 FC4A F392 B705 E735 307B AAE3