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

Kernel module fails to load with kernel 5.4.1 #248

Closed
Friz64 opened this issue Dec 3, 2019 · 5 comments · Fixed by #249
Closed

Kernel module fails to load with kernel 5.4.1 #248

Friz64 opened this issue Dec 3, 2019 · 5 comments · Fixed by #249

Comments

@Friz64
Copy link

Friz64 commented Dec 3, 2019

  • v4l2loopback version: aur/v4l2loopback-dkms-git 0.12.2.r0.gd3b198e-1
  • kernel version: 5.4.1-zen
  • Distribution (+version): Arch Linux latest as of 2019-12-03 13:31:30 UTC

After having upgraded to kernel 5.4.1 v4l2loopback fails to load.

Observed Results:

[    3.108679] v4l2loopback: loading out-of-tree module taints kernel.
[    3.108704] v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
[    3.109053] ------------[ cut here ]------------
[    3.109059] WARNING: CPU: 4 PID: 414 at drivers/media/v4l2-core/v4l2-dev.c:863 __video_register_device+0x6cd/0xfe0 [videodev]
[    3.109060] Modules linked in: v4l2loopback(OE+) videodev mc crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_generic usbhid hid sd_mod serio_raw atkbd libps2 ahci libahci libata xhci_pci crc32c_intel scsi_mod xhci_hcd i8042 serio
[    3.109069] CPU: 4 PID: 414 Comm: systemd-modules Tainted: G           OE     5.4.1-zen2-1-zen #1
[    3.109070] Hardware name: BIOSTAR Group B350GT3/B350GT3, BIOS 5.13 08/07/2018
[    3.109074] RIP: 0010:__video_register_device+0x6cd/0xfe0 [videodev]
[    3.109075] Code: fe ff 48 89 83 80 00 00 00 48 85 c0 0f 84 51 04 00 00 8b 53 2c 85 d2 0f 85 21 04 00 00 f0 80 8b e8 04 00 00 01 45 31 ff eb 08 <0f> 0b 41 bf ea ff ff ff 48 8b 44 24 18 65 48 33 04 25 28 00 00 00
[    3.109076] RSP: 0018:ffffa4a44066fbd8 EFLAGS: 00010246
[    3.109077] RAX: ffff9db8d1a86000 RBX: ffff9db8d0f1a800 RCX: 0000000000000001
[    3.109078] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000000
[    3.109079] RBP: ffffffffc034f140 R08: ffffffffc034f140 R09: ffff9db8d0eb0100
[    3.109080] R10: 000000000098f903 R11: ffffffffc034bdb8 R12: 0000000000000001
[    3.109080] R13: 00000000ffffffff R14: ffff9db8d1a86000 R15: ffff9db8d0f1a800
[    3.109081] FS:  00007f6683eac840(0000) GS:ffff9db8d6d00000(0000) knlGS:0000000000000000
[    3.109082] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.109083] CR2: 0000555ce4a9d000 CR3: 0000000210afa000 CR4: 00000000003406e0
[    3.109084] Call Trace:
[    3.109089]  init_module+0x6c9/0x1000 [v4l2loopback]
[    3.109090]  ? 0xffffffffc0353000
[    3.109092]  do_one_initcall+0x59/0x234
[    3.109095]  do_init_module+0x5c/0x260
[    3.109097]  load_module+0x2816/0x2a20
[    3.109101]  ? __do_sys_init_module+0x169/0x190
[    3.109102]  __do_sys_init_module+0x169/0x190
[    3.109105]  do_syscall_64+0x4e/0x140
[    3.109107]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    3.109108] RIP: 0033:0x7f6684cd9d2e
[    3.109109] Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
[    3.109110] RSP: 002b:00007ffe7d7678d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[    3.109111] RAX: ffffffffffffffda RBX: 0000555ce41e5680 RCX: 00007f6684cd9d2e
[    3.109111] RDX: 00007f668492884d RSI: 0000000000016448 RDI: 0000555ce4a883f0
[    3.109112] RBP: 0000555ce4a883f0 R08: 0000555ce41e401a R09: 0000000000000000
[    3.109113] R10: 0000555ce41e4010 R11: 0000000000000246 R12: 00007f668492884d
[    3.109114] R13: 0000000000000000 R14: 0000555ce41e55f0 R15: 0000555ce41e5680
[    3.109116] ---[ end trace fc942c73f6752cdb ]---
[    3.109116] v4l2loopback: failed video_register_device()
[    3.109117] ------------[ cut here ]------------

Expected Results:

Module loads as expected just like with the old kernel 5.3.13-zen

@davidlj95
Copy link

davidlj95 commented Dec 5, 2019

  • v4l2loopback version: commit 94dcdf3
  • kernel version: Linux 5.4.1-arch1-1 #1 SMP PREEMPT Fri, 29 Nov 2019 13:37:24 +0000
  • Distribution (+version): Arch Linux

After having upgraded to kernel 5.4.1-arch1-1 v4l2loopback fails to load.

Observed Results:

[ 6181.643509] ------------[ cut here ]------------
[ 6181.643519] WARNING: CPU: 7 PID: 115615 at drivers/media/v4l2-core/v4l2-dev.c:863 __video_register_device+0x6ce/0xfe0 [videodev]
[ 6181.643519] Modules linked in: v4l2loopback(OE+) uinput rfcomm cmac algif_hash algif_skcipher af_alg bnep fuse snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device ccm rmi_smbus rmi_core intel_rapl_msr intel_rapl_common mousedev joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb x86_pkg_temp_thermal intel_powerclamp btrtl coretemp snd_hda_codec_hdmi btbcm btintel hid_generic kvm_intel snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support bluetooth wmi_bmof snd_hda_codec_generic intel_wmi_thunderbolt kvm mei_hdcp usbhid hid ecdh_generic ecc irqbypass nls_iso8859_1 crct10dif_pclmul crc32_pclmul nls_cp437 iwlmvm vfat ghash_clmulni_intel aesni_intel mac80211 i915 fat crypto_simd cryptd glue_helper libarc4 snd_hda_intel intel_cstate snd_intel_nhlt intel_uncore tpm_crb iwlwifi intel_rapl_perf snd_hda_codec r8169 psmouse realtek i2c_algo_bit pcspkr snd_hda_core tpm_tis input_leds cfg80211 i2c_i801 snd_hwdep tpm_tis_core drm_kms_helper libphy
[ 6181.643540]  ucsi_acpi tpm typec_ucsi intel_xhci_usb_role_switch typec roles rng_core wmi drm thinkpad_acpi nvram intel_gtt ledtrig_audio battery mei_me ac rfkill agpgart evdev syscopyarea sysfillrect sysimgblt mei fb_sys_fops mac_hid intel_pch_thermal vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user snd_aloop snd_pcm snd_timer snd soundcore ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 sdhci_pci cqhci sdhci xhci_pci mmc_core crc32c_intel xhci_hcd i8042 serio
[ 6181.643556] CPU: 7 PID: 115615 Comm: modprobe Tainted: G        W  OE     5.4.1-arch1-1 #1
[ 6181.643557] Hardware name: LENOVO 20KS001JSP/20KS001JSP, BIOS R0PET58W (1.35 ) 07/02/2019
[ 6181.643562] RIP: 0010:__video_register_device+0x6ce/0xfe0 [videodev]
[ 6181.643563] Code: b9 ff 48 89 83 80 00 00 00 48 85 c0 0f 84 51 04 00 00 8b 53 2c 85 d2 0f 85 21 04 00 00 f0 80 8b e8 04 00 00 01 45 31 ff eb 08 <0f> 0b 41 bf ea ff ff ff 48 8b 44 24 18 65 48 33 04 25 28 00 00 00
[ 6181.643564] RSP: 0018:ffff9efbcaa3bbc8 EFLAGS: 00010246
[ 6181.643565] RAX: ffff8c1fc1b0a000 RBX: ffff8c1fdadbf000 RCX: 0000000000000001
[ 6181.643566] RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000000
[ 6181.643566] RBP: ffffffffc10a8140 R08: ffffffffc10a8140 R09: ffff8c206c3b46c0
[ 6181.643567] R10: 000000000098f903 R11: ffffffffc10a4da8 R12: 0000000000000001
[ 6181.643567] R13: 00000000ffffffff R14: ffff8c1fc1b0a000 R15: ffff8c1fdadbf000
[ 6181.643568] FS:  00007fa8bc267740(0000) GS:ffff8c21525c0000(0000) knlGS:0000000000000000
[ 6181.643569] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6181.643570] CR2: 000055f98a94dc38 CR3: 00000002ae000006 CR4: 00000000003606e0
[ 6181.643571] Call Trace:
[ 6181.643576]  init_module+0x6a4/0x1000 [v4l2loopback]
[ 6181.643577]  ? 0xffffffffc0f0b000
[ 6181.643581]  do_one_initcall+0x59/0x234
[ 6181.643584]  do_init_module+0x5c/0x230
[ 6181.643585]  load_module+0x2729/0x29e0
[ 6181.643587]  ? alloc_vmap_area+0x4af/0x980
[ 6181.643590]  ? __do_sys_init_module+0x169/0x190
[ 6181.643592]  __do_sys_init_module+0x169/0x190
[ 6181.643594]  do_syscall_64+0x4e/0x140
[ 6181.643597]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6181.643598] RIP: 0033:0x7fa8bc392d2e
[ 6181.643599] Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
[ 6181.643600] RSP: 002b:00007ffdbc5f1878 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 6181.643601] RAX: ffffffffffffffda RBX: 000055f98a92bdd0 RCX: 00007fa8bc392d2e
[ 6181.643602] RDX: 000055f98a700358 RSI: 00000000000137c0 RDI: 000055f98a93a470
[ 6181.643602] RBP: 000055f98a93a470 R08: 000055f98a92b01a R09: 0000000000000000
[ 6181.643603] R10: 000055f98a92b010 R11: 0000000000000246 R12: 000055f98a700358
[ 6181.643604] R13: 000055f98a6e81a0 R14: 000055f98a92bd10 R15: 000055f98a92bdd0
[ 6181.643605] ---[ end trace 757f5d6103992462 ]---
[ 6181.643606] v4l2loopback: failed video_register_device()
[ 6181.643607] ------------[ cut here ]------------
[ 6181.643608] kernfs: can not remove 'format', no directory
[ 6181.643614] WARNING: CPU: 7 PID: 115615 at fs/kernfs/dir.c:1504 kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643614] Modules linked in: v4l2loopback(OE+) uinput rfcomm cmac algif_hash algif_skcipher af_alg bnep fuse snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device ccm rmi_smbus rmi_core intel_rapl_msr intel_rapl_common mousedev joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb x86_pkg_temp_thermal intel_powerclamp btrtl coretemp snd_hda_codec_hdmi btbcm btintel hid_generic kvm_intel snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support bluetooth wmi_bmof snd_hda_codec_generic intel_wmi_thunderbolt kvm mei_hdcp usbhid hid ecdh_generic ecc irqbypass nls_iso8859_1 crct10dif_pclmul crc32_pclmul nls_cp437 iwlmvm vfat ghash_clmulni_intel aesni_intel mac80211 i915 fat crypto_simd cryptd glue_helper libarc4 snd_hda_intel intel_cstate snd_intel_nhlt intel_uncore tpm_crb iwlwifi intel_rapl_perf snd_hda_codec r8169 psmouse realtek i2c_algo_bit pcspkr snd_hda_core tpm_tis input_leds cfg80211 i2c_i801 snd_hwdep tpm_tis_core drm_kms_helper libphy
[ 6181.643628]  ucsi_acpi tpm typec_ucsi intel_xhci_usb_role_switch typec roles rng_core wmi drm thinkpad_acpi nvram intel_gtt ledtrig_audio battery mei_me ac rfkill agpgart evdev syscopyarea sysfillrect sysimgblt mei fb_sys_fops mac_hid intel_pch_thermal vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user snd_aloop snd_pcm snd_timer snd soundcore ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 sdhci_pci cqhci sdhci xhci_pci mmc_core crc32c_intel xhci_hcd i8042 serio
[ 6181.643639] CPU: 7 PID: 115615 Comm: modprobe Tainted: G        W  OE     5.4.1-arch1-1 #1
[ 6181.643639] Hardware name: LENOVO 20KS001JSP/20KS001JSP, BIOS R0PET58W (1.35 ) 07/02/2019
[ 6181.643641] RIP: 0010:kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643642] Code: 5a 5d 00 31 c0 5d 41 5c 41 5d c3 48 c7 c7 c0 b3 29 a5 e8 60 5a 5d 00 b8 fe ff ff ff eb e7 48 c7 c7 d8 96 0f a5 e8 7b 89 d3 ff <0f> 0b b8 fe ff ff ff eb d2 0f 1f 40 00 0f 1f 44 00 00 41 57 41 56
[ 6181.643642] RSP: 0018:ffff9efbcaa3bbe8 EFLAGS: 00010282
[ 6181.643643] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 6181.643644] RDX: 0000000000000001 RSI: 0000000000000082 RDI: 00000000ffffffff
[ 6181.643644] RBP: ffff8c1fdadbf1b8 R08: 000000000000188f R09: 0000000000000003
[ 6181.643645] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc10a4a58
[ 6181.643646] R13: 0000000000000000 R14: ffff8c1fc1b0a000 R15: ffff8c1fdadbf000
[ 6181.643647] FS:  00007fa8bc267740(0000) GS:ffff8c21525c0000(0000) knlGS:0000000000000000
[ 6181.643647] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6181.643648] CR2: 000055f98a94dc38 CR3: 00000002ae000006 CR4: 00000000003606e0
[ 6181.643648] Call Trace:
[ 6181.643652]  free_devices+0x7d/0x10c [v4l2loopback]
[ 6181.643654]  init_module+0x6d3/0x1000 [v4l2loopback]
[ 6181.643655]  ? 0xffffffffc0f0b000
[ 6181.643657]  do_one_initcall+0x59/0x234
[ 6181.643659]  do_init_module+0x5c/0x230
[ 6181.643661]  load_module+0x2729/0x29e0
[ 6181.643662]  ? alloc_vmap_area+0x4af/0x980
[ 6181.643665]  ? __do_sys_init_module+0x169/0x190
[ 6181.643666]  __do_sys_init_module+0x169/0x190
[ 6181.643669]  do_syscall_64+0x4e/0x140
[ 6181.643670]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6181.643671] RIP: 0033:0x7fa8bc392d2e
[ 6181.643672] Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
[ 6181.643673] RSP: 002b:00007ffdbc5f1878 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 6181.643673] RAX: ffffffffffffffda RBX: 000055f98a92bdd0 RCX: 00007fa8bc392d2e
[ 6181.643674] RDX: 000055f98a700358 RSI: 00000000000137c0 RDI: 000055f98a93a470
[ 6181.643675] RBP: 000055f98a93a470 R08: 000055f98a92b01a R09: 0000000000000000
[ 6181.643675] R10: 000055f98a92b010 R11: 0000000000000246 R12: 000055f98a700358
[ 6181.643676] R13: 000055f98a6e81a0 R14: 000055f98a92bd10 R15: 000055f98a92bdd0
[ 6181.643677] ---[ end trace 757f5d6103992463 ]---
[ 6181.643678] ------------[ cut here ]------------
[ 6181.643679] kernfs: can not remove 'buffers', no directory
[ 6181.643683] WARNING: CPU: 7 PID: 115615 at fs/kernfs/dir.c:1504 kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643683] Modules linked in: v4l2loopback(OE+) uinput rfcomm cmac algif_hash algif_skcipher af_alg bnep fuse snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device ccm rmi_smbus rmi_core intel_rapl_msr intel_rapl_common mousedev joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb x86_pkg_temp_thermal intel_powerclamp btrtl coretemp snd_hda_codec_hdmi btbcm btintel hid_generic kvm_intel snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support bluetooth wmi_bmof snd_hda_codec_generic intel_wmi_thunderbolt kvm mei_hdcp usbhid hid ecdh_generic ecc irqbypass nls_iso8859_1 crct10dif_pclmul crc32_pclmul nls_cp437 iwlmvm vfat ghash_clmulni_intel aesni_intel mac80211 i915 fat crypto_simd cryptd glue_helper libarc4 snd_hda_intel intel_cstate snd_intel_nhlt intel_uncore tpm_crb iwlwifi intel_rapl_perf snd_hda_codec r8169 psmouse realtek i2c_algo_bit pcspkr snd_hda_core tpm_tis input_leds cfg80211 i2c_i801 snd_hwdep tpm_tis_core drm_kms_helper libphy
[ 6181.643697]  ucsi_acpi tpm typec_ucsi intel_xhci_usb_role_switch typec roles rng_core wmi drm thinkpad_acpi nvram intel_gtt ledtrig_audio battery mei_me ac rfkill agpgart evdev syscopyarea sysfillrect sysimgblt mei fb_sys_fops mac_hid intel_pch_thermal vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user snd_aloop snd_pcm snd_timer snd soundcore ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 sdhci_pci cqhci sdhci xhci_pci mmc_core crc32c_intel xhci_hcd i8042 serio
[ 6181.643706] CPU: 7 PID: 115615 Comm: modprobe Tainted: G        W  OE     5.4.1-arch1-1 #1
[ 6181.643707] Hardware name: LENOVO 20KS001JSP/20KS001JSP, BIOS R0PET58W (1.35 ) 07/02/2019
[ 6181.643708] RIP: 0010:kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643709] Code: 5a 5d 00 31 c0 5d 41 5c 41 5d c3 48 c7 c7 c0 b3 29 a5 e8 60 5a 5d 00 b8 fe ff ff ff eb e7 48 c7 c7 d8 96 0f a5 e8 7b 89 d3 ff <0f> 0b b8 fe ff ff ff eb d2 0f 1f 40 00 0f 1f 44 00 00 41 57 41 56
[ 6181.643710] RSP: 0018:ffff9efbcaa3bbe8 EFLAGS: 00010282
[ 6181.643711] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 6181.643711] RDX: 0000000000000001 RSI: 0000000000000082 RDI: 00000000ffffffff
[ 6181.643712] RBP: ffff8c1fdadbf1b8 R08: 00000000000018b6 R09: 0000000000000003
[ 6181.643712] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc10a4a50
[ 6181.643713] R13: 0000000000000000 R14: ffff8c1fc1b0a000 R15: ffff8c1fdadbf000
[ 6181.643714] FS:  00007fa8bc267740(0000) GS:ffff8c21525c0000(0000) knlGS:0000000000000000
[ 6181.643714] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6181.643715] CR2: 000055f98a94dc38 CR3: 00000002ae000006 CR4: 00000000003606e0
[ 6181.643715] Call Trace:
[ 6181.643718]  free_devices+0x8c/0x10c [v4l2loopback]
[ 6181.643721]  init_module+0x6d3/0x1000 [v4l2loopback]
[ 6181.643722]  ? 0xffffffffc0f0b000
[ 6181.643723]  do_one_initcall+0x59/0x234
[ 6181.643725]  do_init_module+0x5c/0x230
[ 6181.643727]  load_module+0x2729/0x29e0
[ 6181.643728]  ? alloc_vmap_area+0x4af/0x980
[ 6181.643731]  ? __do_sys_init_module+0x169/0x190
[ 6181.643732]  __do_sys_init_module+0x169/0x190
[ 6181.643735]  do_syscall_64+0x4e/0x140
[ 6181.643736]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6181.643737] RIP: 0033:0x7fa8bc392d2e
[ 6181.643738] Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
[ 6181.643738] RSP: 002b:00007ffdbc5f1878 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 6181.643739] RAX: ffffffffffffffda RBX: 000055f98a92bdd0 RCX: 00007fa8bc392d2e
[ 6181.643740] RDX: 000055f98a700358 RSI: 00000000000137c0 RDI: 000055f98a93a470
[ 6181.643740] RBP: 000055f98a93a470 R08: 000055f98a92b01a R09: 0000000000000000
[ 6181.643741] R10: 000055f98a92b010 R11: 0000000000000246 R12: 000055f98a700358
[ 6181.643742] R13: 000055f98a6e81a0 R14: 000055f98a92bd10 R15: 000055f98a92bdd0
[ 6181.643743] ---[ end trace 757f5d6103992464 ]---
[ 6181.643744] ------------[ cut here ]------------
[ 6181.643744] kernfs: can not remove 'max_openers', no directory
[ 6181.643749] WARNING: CPU: 7 PID: 115615 at fs/kernfs/dir.c:1504 kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643750] Modules linked in: v4l2loopback(OE+) uinput rfcomm cmac algif_hash algif_skcipher af_alg bnep fuse snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device ccm rmi_smbus rmi_core intel_rapl_msr intel_rapl_common mousedev joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb x86_pkg_temp_thermal intel_powerclamp btrtl coretemp snd_hda_codec_hdmi btbcm btintel hid_generic kvm_intel snd_hda_codec_conexant iTCO_wdt iTCO_vendor_support bluetooth wmi_bmof snd_hda_codec_generic intel_wmi_thunderbolt kvm mei_hdcp usbhid hid ecdh_generic ecc irqbypass nls_iso8859_1 crct10dif_pclmul crc32_pclmul nls_cp437 iwlmvm vfat ghash_clmulni_intel aesni_intel mac80211 i915 fat crypto_simd cryptd glue_helper libarc4 snd_hda_intel intel_cstate snd_intel_nhlt intel_uncore tpm_crb iwlwifi intel_rapl_perf snd_hda_codec r8169 psmouse realtek i2c_algo_bit pcspkr snd_hda_core tpm_tis input_leds cfg80211 i2c_i801 snd_hwdep tpm_tis_core drm_kms_helper libphy
[ 6181.643764]  ucsi_acpi tpm typec_ucsi intel_xhci_usb_role_switch typec roles rng_core wmi drm thinkpad_acpi nvram intel_gtt ledtrig_audio battery mei_me ac rfkill agpgart evdev syscopyarea sysfillrect sysimgblt mei fb_sys_fops mac_hid intel_pch_thermal vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user snd_aloop snd_pcm snd_timer snd soundcore ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 sdhci_pci cqhci sdhci xhci_pci mmc_core crc32c_intel xhci_hcd i8042 serio
[ 6181.643775] CPU: 7 PID: 115615 Comm: modprobe Tainted: G        W  OE     5.4.1-arch1-1 #1
[ 6181.643775] Hardware name: LENOVO 20KS001JSP/20KS001JSP, BIOS R0PET58W (1.35 ) 07/02/2019
[ 6181.643777] RIP: 0010:kernfs_remove_by_name_ns+0x83/0x90
[ 6181.643778] Code: 5a 5d 00 31 c0 5d 41 5c 41 5d c3 48 c7 c7 c0 b3 29 a5 e8 60 5a 5d 00 b8 fe ff ff ff eb e7 48 c7 c7 d8 96 0f a5 e8 7b 89 d3 ff <0f> 0b b8 fe ff ff ff eb d2 0f 1f 40 00 0f 1f 44 00 00 41 57 41 56
[ 6181.643778] RSP: 0018:ffff9efbcaa3bbe8 EFLAGS: 00010282
[ 6181.643779] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 6181.643780] RDX: 0000000000000001 RSI: 0000000000000082 RDI: 00000000ffffffff
[ 6181.643780] RBP: ffff8c1fdadbf1b8 R08: 00000000000018dd R09: 0000000000000003
[ 6181.643781] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc10a4a44
[ 6181.643781] R13: 0000000000000000 R14: ffff8c1fc1b0a000 R15: ffff8c1fdadbf000
[ 6181.643782] FS:  00007fa8bc267740(0000) GS:ffff8c21525c0000(0000) knlGS:0000000000000000
[ 6181.643783] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6181.643784] CR2: 000055f98a94dc38 CR3: 00000002ae000006 CR4: 00000000003606e0
[ 6181.643784] Call Trace:
[ 6181.643787]  free_devices+0x9b/0x10c [v4l2loopback]
[ 6181.643789]  init_module+0x6d3/0x1000 [v4l2loopback]
[ 6181.643790]  ? 0xffffffffc0f0b000
[ 6181.643791]  do_one_initcall+0x59/0x234
[ 6181.643793]  do_init_module+0x5c/0x230
[ 6181.643795]  load_module+0x2729/0x29e0
[ 6181.643796]  ? alloc_vmap_area+0x4af/0x980
[ 6181.643799]  ? __do_sys_init_module+0x169/0x190
[ 6181.643800]  __do_sys_init_module+0x169/0x190
[ 6181.643803]  do_syscall_64+0x4e/0x140
[ 6181.643804]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 6181.643805] RIP: 0033:0x7fa8bc392d2e
[ 6181.643806] Code: 48 8b 0d 55 01 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 22 01 0c 00 f7 d8 64 89 01 48
[ 6181.643806] RSP: 002b:00007ffdbc5f1878 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[ 6181.643807] RAX: ffffffffffffffda RBX: 000055f98a92bdd0 RCX: 00007fa8bc392d2e
[ 6181.643808] RDX: 000055f98a700358 RSI: 00000000000137c0 RDI: 000055f98a93a470
[ 6181.643809] RBP: 000055f98a93a470 R08: 000055f98a92b01a R09: 0000000000000000
[ 6181.643809] R10: 000055f98a92b010 R11: 0000000000000246 R12: 000055f98a700358
[ 6181.643810] R13: 000055f98a6e81a0 R14: 000055f98a92bd10 R15: 000055f98a92bdd0
[ 6181.643811] ---[ end trace 757f5d6103992465 ]---

Expected Results:
Module loads as expected just like with the old kernel 5.3.13-arch1-1

@Friz64
Copy link
Author

Friz64 commented Dec 5, 2019

Could you take a look at this @umlaeute?

@ribalda
Copy link
Contributor

ribalda commented Dec 6, 2019

Just send a pull request that I believe it solves the issue: #249

@davidlj95
Copy link

Thanks @ribalda I'll review and try it today!

@davidlj95
Copy link

#249 worked for me

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

Successfully merging a pull request may close this issue.

3 participants