FS#69212 - Starting in v5.10 V4L2 test modules (vivid, vimc and vim2m) not part of kernel build/package

Attached to Project: Arch Linux
Opened by Niklas Söderlund (neg) - Monday, 04 January 2021, 23:04 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 31 January 2021, 01:34 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Starting in v5.10 the V4L2 test modules are no longer part of the Arch
linux package. These modules have been part of the Arch linux package
for many years and was present in v5.9 Arch linux packages.

A quick check in the Arch v5.10 config reveals the modules are disabled
at build time. From a v5.10 system:

$ uname -a
Linux test 5.10.4-arch2-1 #1 SMP PREEMPT Fri, 01 Jan 2021 05:29:53 +0000 x86_64 GNU/Linux
$ zgrep -E "VIDEO_VIMC|VIDEO_VIVID|VIDEO_VIM2M" /proc/config.gz
$

While on v5.9 system:

$ uname -a
Linux test 5.9.14-arch1-1 #1 SMP PREEMPT Sat, 12 Dec 2020 14:37:12 +0000 x86_64 GNU/Linux
$ zgrep -E "VIDEO_VIMC|VIDEO_VIVID|VIDEO_VIM2M" /proc/config.gz
CONFIG_VIDEO_VIMC=m
CONFIG_VIDEO_VIVID=m
CONFIG_VIDEO_VIVID_CEC=y
CONFIG_VIDEO_VIVID_MAX_DEVS=64
CONFIG_VIDEO_VIM2M=m
$

Would it be possible to add these modules back to the kernel package?

Additional info:
* package version(s)

Package that contains the modules 5.9.14.arch1-1.
Package where the missing modules where noticed 5.10.4.arch2-1.

* config and/or log files etc.

n/a

* link to upstream bug report, if any

n/a

Steps to reproduce:

Try to load any of the V4L2 modules after booting a v5.10 Arch kernel.

$ modprobe vivid
modprobe: FATAL: Module vivid not found in directory /lib/modules/5.10.4-arch2-1
$ modprobe vimc
modprobe: FATAL: Module vimc not found in directory /lib/modules/5.10.4-arch2-1
$ modprobe vim2m
modprobe: FATAL: Module vim2m not found in directory /lib/modules/5.10.4-arch2-1
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 31 January 2021, 01:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 5.10.12.arch1-1
Comment by Niklas Söderlund (neg) - Saturday, 16 January 2021, 11:18 GMT
The SVN change that introduces the change is

git-svn-id: file:///srv/repos/svn-packages/svn@404495 eb2447ed-0c53-47e4-bac8-5bc4a241df78

I'm sorry SVN is not something I know about so a svntogit-packages reference is,

https://github.com/archlinux/svntogit-packages.git
b1f9d836ca86ba5c ("Disable SDR and test media drivers")
Comment by Niklas Söderlund (neg) - Thursday, 28 January 2021, 23:57 GMT
It was mentioned on IRC that this may not be viewed as a regression and
may simple be closed as the test modules where disabled on purpose.

The V4L2 modules are used to verify applications compliance with the
Video4Linux API. They are used both during development of V4L2
applications and to help figure what part of the stack is at fault if
something breaks in an upgrade.

Not having distro support for for these modules makes Arch less stable
for V4L2 development and testing.
Comment by Jacopo Mondi (jmondi) - Friday, 29 January 2021, 08:48 GMT
Considering the size of those tests modules I wonder what does Arch gain by removing support for them.

I wonder if the recent Kconfig changes in the media section impacted this decision. If anything went wrong because of that maybe there's an easy way to get the test modules back ?

Loading...