1. Please describe the problem: The Logitech Quickcam 4000 Webcam doesnt work with kernel 5.10.x. 2. What is the Version-Release number of the kernel: kernel-5.10.7-100.fc32.x86_64 and kernel-5.10.8-100.fc32.x86_64 both dont work. 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : Last working kernel: kernel-5.9.16-100.fc32.x86_64 First buggy kernel: kernel-5.10.7-100.fc32.x86_64 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Yes, 100%. Boot kernel and start any application that uses the webcam. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: Have not tested yet. 6. Are you running any modules that not shipped with directly Fedora's kernel?: Yes, the nvidia driver from rpmfusion. 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. Jan 21 14:23:39 gandalf kernel: ------------[ cut here ]------------ Jan 21 14:23:39 gandalf kernel: WARNING: CPU: 3 PID: 3724 at kernel/dma/mapping.c:149 dma_map_page_attrs+0x127/0x1c0 Jan 21 14:23:39 gandalf kernel: Modules linked in: snd_seq_dummy snd_hrtimer vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6> Jan 21 14:23:39 gandalf kernel: videobuf2_vmalloc videobuf2_memops snd_pcm_dmaengine intel_pmc_bxt videobuf2_v4l2 mei_hdcp soundwire_cadence ee1004 videobuf2_common iTCO_vendor_support snd_hda_codec kvm videodev snd_hda_core nvidia(POE) synaptics_usb ac97_bus pktcdvd s> Jan 21 14:23:39 gandalf kernel: CPU: 3 PID: 3724 Comm: VideoCapture Tainted: P OE 5.10.7-100.fc32.x86_64 #1 Jan 21 14:23:39 gandalf kernel: Hardware name: ASUSTeK COMPUTER INC. Z170-WS/Z170-WS, BIOS 3602 05/24/2019 Jan 21 14:23:39 gandalf kernel: RIP: 0010:dma_map_page_attrs+0x127/0x1c0 Jan 21 14:23:39 gandalf kernel: Code: 89 c8 4c 89 df e8 d9 29 00 00 48 83 c4 10 5b 5d 41 5c 41 5d c3 48 85 ff 74 09 48 39 df 48 0f 47 fb eb 87 48 89 df eb 82 0f 0b <0f> 0b 48 c7 c0 ff ff ff ff c3 48 89 f7 48 2b 78 18 e9 34 ff ff ff Jan 21 14:23:39 gandalf kernel: RSP: 0018:ffffa07dc40b7cf8 EFLAGS: 00010246 Jan 21 14:23:39 gandalf kernel: RAX: 0000000000000000 RBX: ffff8f5422c9de00 RCX: 0000000000000002 Jan 21 14:23:39 gandalf kernel: RDX: 0000000000002580 RSI: ffffe973c8d7cc00 RDI: ffff8f53cb30c0a0 Jan 21 14:23:39 gandalf kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 Jan 21 14:23:39 gandalf kernel: R10: 0000000000000000 R11: ffff8f53cb30c0a0 R12: ffff8f53cb30c000 Jan 21 14:23:39 gandalf kernel: R13: ffff8f54f5f30000 R14: ffff8f53de890000 R15: 0000000000000000 Jan 21 14:23:39 gandalf kernel: FS: 00007fddb4caf700(0000) GS:ffff8f571ecc0000(0000) knlGS:0000000000000000 Jan 21 14:23:39 gandalf kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jan 21 14:23:39 gandalf kernel: CR2: 000055bb69b9ef28 CR3: 0000000192098002 CR4: 00000000003706e0 Jan 21 14:23:39 gandalf kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jan 21 14:23:39 gandalf kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Jan 21 14:23:39 gandalf kernel: Call Trace: Jan 21 14:23:39 gandalf kernel: start_streaming+0x282/0x470 [pwc] Jan 21 14:23:39 gandalf kernel: vb2_start_streaming+0x63/0x100 [videobuf2_common] Jan 21 14:23:39 gandalf kernel: vb2_core_streamon+0x54/0xb0 [videobuf2_common] Jan 21 14:23:39 gandalf kernel: __video_do_ioctl+0x377/0x3b0 [videodev] Jan 21 14:23:39 gandalf kernel: ? enqueue_task_fair+0x8a/0x6b0 Jan 21 14:23:39 gandalf kernel: video_usercopy+0x173/0x590 [videodev] Jan 21 14:23:39 gandalf kernel: ? v4l_print_control+0x20/0x20 [videodev] Jan 21 14:23:39 gandalf kernel: ? selinux_file_ioctl+0x122/0x1c0 Jan 21 14:23:39 gandalf kernel: v4l2_ioctl+0x48/0x50 [videodev] Jan 21 14:23:39 gandalf kernel: __x64_sys_ioctl+0x83/0xb0 Jan 21 14:23:39 gandalf kernel: do_syscall_64+0x33/0x40 Jan 21 14:23:39 gandalf kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 Jan 21 14:23:39 gandalf kernel: RIP: 0033:0x7fddee3cf17b Jan 21 14:23:39 gandalf kernel: Code: 0f 1e fa 48 8b 05 1d ad 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ed ac 0c 00 f7 d8 64 89 01 48 Jan 21 14:23:39 gandalf kernel: RSP: 002b:00007fddb4cae538 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jan 21 14:23:39 gandalf kernel: RAX: ffffffffffffffda RBX: 00007fdd9f767c00 RCX: 00007fddee3cf17b Jan 21 14:23:39 gandalf kernel: RDX: 00007fddb4cae554 RSI: 0000000040045612 RDI: 000000000000002a Jan 21 14:23:39 gandalf kernel: RBP: 000000000000001e R08: 0000000000000001 R09: 00007fdde6a51a12 Jan 21 14:23:39 gandalf kernel: R10: 00007fddb88489d0 R11: 0000000000000246 R12: 00007fdd9faaa1c0 Jan 21 14:23:39 gandalf kernel: R13: 00007fddb4cae558 R14: 0000000000000033 R15: 0000000000000000 Jan 21 14:23:39 gandalf kernel: ---[ end trace 7bb2333e30fd4bea ]--- Jan 21 14:23:39 gandalf kernel: pwc: Failed to allocate urb buffer 0
Same problem with the same hardware: Bus 003 Device 058: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
This may fix the issue: https://lkml.org/lkml/2021/1/21/1300 I'm doing a kernel build with this patch to confirm.
(In reply to Philippe Troin from comment #2) > This may fix the issue: > https://lkml.org/lkml/2021/1/21/1300 > > I'm doing a kernel build with this patch to confirm. Confirming that the above patch fixes the problem.
Hi Philippe, thanks for checking the patch and confirming that it works! It seems that the patch will be applied to the upstream kernel very soon.
Thanks for confirming. Will bring this into 5.10.11
FEDORA-2021-52c9c847f5 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-52c9c847f5
FEDORA-2021-e04cde3ff0 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e04cde3ff0
FEDORA-2021-e04cde3ff0 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e04cde3ff0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e04cde3ff0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Logitech Quickcam 4000 is working again with kernel-5.10.11-100.fc32.x86_64. Thanks for fixing this bug so fast.
FEDORA-2021-52c9c847f5 has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-52c9c847f5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-52c9c847f5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-e04cde3ff0 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-52c9c847f5 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.