Package v4l2loopback-dkms fails to install in 20.04.1
What can I do to fix this?
Ubuntu release 20.04.1. Sudo apt install v4l2loopback-dkms fails with
Loading new v4l2loopback-0.12.3 DKMS files...
Building for 5.4.0-42-generic
Building initial module for 5.4.0-42-generic
Error! Bad return status for module build on kernel: 5.4.0-42-generic (x86_64)
Consult /var/lib/
dpkg: error processing package v4l2loopback-dkms (--configure):
installed v4l2loopback-dkms package post-installation script subprocess returne
d error exit status 10
Errors were encountered while processing:
v4l2loopback-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Dave Dixon
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Consult /var/lib/
Are there any useful messages in /var/lib/
?
For diagnistic purposes please provide the output of the commands
uname -a
lsb_release -crid
apt-cache policy v4l2loopback-dkms
Revision history for this message
|
#2 |
uname -a
--------------
Linux <node> 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -crid
-------
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
apt-cache policy v4l2loopback-dkms
-------
v4l2loopback-dkms:
v4l2loopback-dkms:
Installed: 0.12.3-1
Candidate: 0.12.3-1
Version table:
*** 0.12.3-1 500
500 http://
500 http://
100 /var/lib/
/var/lib/
-------
DKMS make.log for v4l2loopback-0.12.3 for kernel 5.4.0-42-generic (x86_64)
Mon 17 Aug 2020 09:09:42 AM MDT
Building v4l2-loopback driver...
make -C /lib/modules/
make[1]: Entering directory '/usr/src/
CC [M] /var/lib/
In file included from <command-line>:0:0:
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE_
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldinstr2\n" \
^
./arch/
OLDINSTR_
^
./arch/
asm_inline volatile (ALTERNATIVE_
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE_
^
./arch/
alternative_
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_io ("lsl %[seg],%[p]",
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative_io ("lsl %[seg],%[p]",
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_io ("lsl %[seg],%[p]",
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
__WARN_
^
./include/
WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
__WARN_
^
./include/
WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
__WARN_
^
./include/
WARN(1, "Buffer overflow detected (%d < %lu)!\n", size, count);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_ONCE(bytes > INT_MAX))
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_ONCE(bytes > INT_MAX))
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_ONCE(bytes > INT_MAX))
^
In file included from <command-line>:0:0:
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(func != (rcu_callback_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(func != (rcu_callback_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(func != (rcu_callback_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON(div < 0);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON(div < 0);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON(div < 0);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(idx & ~0x1);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(idx & ~0x1);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(idx & ~0x1);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START);
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
volatile u32 *addr = (volatile u32 *)(APIC_BASE + reg);
^
In file included from <command-line>:0:0:
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative("", __ASM_CLAC, X86_FEATURE_SMAP);
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative("", __ASM_CLAC, X86_FEATURE_SMAP);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative("", __ASM_CLAC, X86_FEATURE_SMAP);
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative("", __ASM_STAC, X86_FEATURE_SMAP);
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
alternative("", __ASM_STAC, X86_FEATURE_SMAP);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
alternative("", __ASM_STAC, X86_FEATURE_SMAP);
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE_
^
./arch/
alternative_
^
In file included from ./arch/
./arch/
"# ALT: oldinstr2\n" \
^
./arch/
OLDINSTR_
^
./arch/
asm_inline volatile (ALTERNATIVE_
./arch/
alternative_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE_
^
./arch/
alternative_
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
./arch/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from ./arch/
./arch/
"# ALT: oldnstr\n" \
^
./arch/
OLDINSTR(
^
./arch/
asm_inline volatile (ALTERNATIVE(
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile (ALTERNATIVE(
^
./arch/
#define barrier_nospec() alternative("", "lfence", X86_FEATURE_
./arch/
barrier_nospec(); \
^
./arch/
__uaccess_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON((long)v < 0);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON((long)v < 0);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_ON((long)v < 0);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
BUG();
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
BUG();
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_ON_ONCE(1);
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
if (WARN_ON_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
__WARN_
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
BUG();
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
BUG();
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON((unsigned long) page & (SG_CHAIN | SG_END));
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON((unsigned long) page & (SG_CHAIN | SG_END));
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define BUG_ON(condition) do { if (unlikely(
./include/
BUG_ON((unsigned long) page & (SG_CHAIN | SG_END));
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (WARN_ON(pad >= sd->entity.
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (!WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (!WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
if (!WARN_
^
./include/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
./include/
#define __WARN() __WARN_
./include/
__WARN(); \
^
./include/
WARN_
^
/var/lib/
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
/var/lib/
BUG();
^
In file included from ./include/
./arch/
asm_inline volatile("1:\t" ins "\n" \
./arch/
_BUG_
^
/var/lib/
BUG();
^
In file included from <command-line>:0:0:
././include/
#define asm_inline asm __inline
./arch/
asm_inline volatile("1:\t" ins "\n" \
^
./arch/
_BUG_
^
/var/lib/
BUG();
^
make[2]: *** [scripts/
make[1]: *** [Makefile:1731: /var/lib/
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:43: v4l2loopback.ko] Error 2
Revision history for this message
|
#3 |
Maybe a C compiler that doesn't understand "#define asm_inline asm __inline"
What is the output of the command
gcc --version
Revision history for this message
|
#4 |
gcc --version
------------------
gcc (Ubuntu 4.9.3-13ubuntu2) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Revision history for this message
|
#5 |
This is an old version of the C compiler (from Ubuntu xenial, 18.04)
You should install a current one (or select the newer one if you have more than one installed)
What is the output of the command
dpkg -l | grep gcc-
Revision history for this message
|
#6 |
dpkg -l | grep gcc-
-------
ii gcc-10-base:amd64 10.1.0-
ii gcc-10-base:i386 10.1.0-
ii gcc-4.8 4.8.5-4ubuntu8 amd64 GNU C compiler
ii gcc-4.8-base:amd64 4.8.5-4ubuntu8 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-4.9 4.9.3-13ubuntu2 amd64 GNU C compiler
ii gcc-4.9-base:amd64 4.9.3-13ubuntu2 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-7 7.5.0-6ubuntu2 amd64 GNU C compiler
ii gcc-7-base:amd64 7.5.0-6ubuntu2 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-8-base:amd64 8.4.0-3ubuntu2 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-8-base:i386 8.4.0-3ubuntu2 i386 GCC, the GNU Compiler Collection (base package)
ii gcc-9-base:amd64 9.3.0-10ubuntu2 amd64 GCC, the GNU Compiler Collection (base package)
ii gcc-avr 1:5.4.0+
ii lib32gcc-s1 10.1.0-
ii libgcc-
ii libgcc-
ii libgcc-7-dev:amd64 7.5.0-6ubuntu2 amd64 GCC support library (development files)
ii libgcc-s1:amd64 10.1.0-
ii libgcc-s1:i386 10.1.0-
Revision history for this message
|
#7 |
I ran update-
Can't load /var/lib/
139771503281472
Generating a RSA private key
.......
.......
writing new private key to '/var/lib/
-----
Done.
At any rate,
sudo modprobe v4l2loopback
modprobe: ERROR: could not insert 'v4l2loopback': Operation not permitted
v4l2loopback
v4l2loopback: command not found
Revision history for this message
|
#8 |
This now is a problem with secure boot.
The Ubuntu-provided kernel modules are signed with a key that is already registered.
If you compile a kernel module yourself, then you have two possibilities:
1. switch off signature checking as part of secure boot
or
2. Create your own signature key, sign the kernel module with that key and register the key in the system.
"writing new private key to '/var/lib/
This is already one of the steps, but there are other steps missing:
copy that key to the U>EFI are (with mokutil command), and then reboot the system and activate the key.
see https:/
Revision history for this message
|
#9 |
And the command to execute is
v4l2loopback-ctl
Revision history for this message
|
#10 |
In the course of all this I discovered that my gcc installation was broken in many ways. After a few passes with aptitude I got everything in sync. Then I instaledl gcc 9.3 (same as Ubuntu kernel) and compiled v4l2loopback with no error messages, reboot to MOK, or anything weird. I am now able to modprobe v4l2loopback.
Thanks very much for your help. Two lessons learned:
1. After many years and without intentional manipulation, maintaining multiple versions of gcc can result in a dependency nightmare. Multiple LTS version upgrades along the way didn't catch the problems.
2. Compile with the same version of gcc as the OS kernel. It's old advice, but good advice!
Thanks again!