Bug 1436866
Summary: | ACR122 contactless reader fails to work: pn533_usb: transfer buffer not dma capable | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | rico <startxgo> | |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 25 | CC: | fedora, gansalmon, ichavero, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, opensource, peter.schwindt, startxgo | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1514134 (view as bug list) | Environment: | ||
Last Closed: | 2017-12-12 10:32:25 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
rico
2017-03-28 21:42:24 UTC
Same result on 4.10.10-200.fc25.x86_64 *** Bug 1448507 has been marked as a duplicate of this bug. *** bug 1415397 contains a patch to make a different driver DMA capable. Does this maybe help to develop a fix for this problem? Just found two patches here: https://www.spinics.net/lists/linux-wireless/msg160806.html https://www.spinics.net/lists/linux-wireless/msg160914.html kernel-4.10.15-200.fc25 fixes this bug for me This issue affects the latest kernel (4.13.11-200.fc26) and the one mentioned by the last commenter for me 4.13.5-200.fc26.x86_64 (albeit for f26 not 25) [root@blackbird Desktop]# uname -a Linux blackbird 4.13.5-200.fc26.x86_64 #1 SMP Thu Oct 5 16:53:13 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [root@blackbird Desktop]# cat /etc/fedora-release Fedora release 26 (Twenty Six) [root@blackbird Desktop]# dmesg | egrep 17953 [17953.242031] usb 1-12: new full-speed USB device number 7 using xhci_hcd [17953.413512] usb 1-12: New USB device found, idVendor=072f, idProduct=2200 [17953.413517] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [17953.413520] usb 1-12: Product: ACR122U PICC Interface [17953.413523] usb 1-12: Manufacturer: ACS [17953.475169] nfc: nfc_init: NFC Core ver 0.1 [17953.475211] NET: Registered protocol family 39 [17953.484319] transfer buffer not dma capable [17953.484333] ------------[ cut here ]------------ [17953.484339] WARNING: CPU: 1 PID: 1220 at drivers/usb/core/hcd.c:1595 usb_hcd_map_urb_for_dma+0x41d/0x620 [17953.484340] Modules linked in: pn533_usb(+) pn533 nfc bnep fuse tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables binfmt_misc sunrpc vfat fat snd_hda_codec_hdmi nvidia_drm(POE) nvidia_modeset(POE) intel_rapl x86_pkg_temp_thermal iTCO_wdt nvidia(POE) intel_powerclamp iTCO_vendor_support coretemp kvm_intel kvm snd_hda_codec_realtek snd_hda_codec_generic irqbypass intel_cstate intel_uncore snd_hda_intel intel_rapl_perf hci_uart snd_hda_codec snd_usb_audio drm_kms_helper [17953.484374] btbcm btqca snd_usbmidi_lib btintel snd_hda_core snd_rawmidi bluetooth snd_hwdep drm snd_seq snd_seq_device snd_pcm snd_timer snd mei_me mei joydev ecdh_generic soundcore intel_pch_thermal shpchp i2c_i801 rfkill tpm_infineon acpi_als intel_lpss_acpi tpm_tis kfifo_buf pinctrl_sunrisepoint tpm_tis_core industrialio tpm pinctrl_intel intel_lpss acpi_pad xfs libcrc32c dm_crypt uas usb_storage hid_microsoft mxm_wmi crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw alx mdio wmi video i2c_hid [17953.484403] CPU: 1 PID: 1220 Comm: systemd-udevd Tainted: P OE 4.13.5-200.fc26.x86_64 #1 [17953.484404] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F7 06/03/2016 [17953.484405] task: ffff95cae5f78000 task.stack: ffffb138ca514000 [17953.484408] RIP: 0010:usb_hcd_map_urb_for_dma+0x41d/0x620 [17953.484409] RSP: 0018:ffffb138ca5178e0 EFLAGS: 00010282 [17953.484411] RAX: 000000000000001f RBX: ffff95cae734e000 RCX: 0000000000000000 [17953.484412] RDX: 0000000000000000 RSI: ffff95cbb5c4e118 RDI: ffff95cbb5c4e118 [17953.484413] RBP: ffffb138ca517920 R08: 00000000000005e0 R09: 0000000000000004 [17953.484414] R10: 00000000001fffff R11: 0000000000000001 R12: 00000000fffffff5 [17953.484415] R13: 00000000014000c0 R14: 0000000000000001 R15: ffff95cb8fb7e000 [17953.484417] FS: 00007fa7128ae8c0(0000) GS:ffff95cbb5c40000(0000) knlGS:0000000000000000 [17953.484418] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [17953.484419] CR2: 000055d6a40e5000 CR3: 00000007a723b000 CR4: 00000000003406e0 [17953.484420] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [17953.484421] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [17953.484422] Call Trace: [17953.484427] usb_hcd_submit_urb+0x493/0xb40 [17953.484430] ? find_next_zero_bit+0x10/0x20 [17953.484433] ? ida_get_new_above+0x110/0x320 [17953.484434] ? find_next_zero_bit+0x10/0x20 [17953.484438] usb_submit_urb+0x22d/0x560 [17953.484442] pn533_usb_probe+0x3a3/0x4d2 [pn533_usb] [17953.484445] usb_probe_interface+0x124/0x300 [17953.484448] driver_probe_device+0x2ff/0x450 [17953.484450] __driver_attach+0xa4/0xe0 [17953.484452] ? driver_probe_device+0x450/0x450 [17953.484454] bus_for_each_dev+0x6e/0xb0 [17953.484456] driver_attach+0x1e/0x20 [17953.484458] bus_add_driver+0x1c7/0x270 [17953.484460] driver_register+0x60/0xe0 [17953.484462] usb_register_driver+0x81/0x150 [17953.484464] ? 0xffffffffc0074000 [17953.484467] pn533_usb_driver_init+0x1e/0x1000 [pn533_usb] [17953.484470] do_one_initcall+0x50/0x190 [17953.484473] ? kmem_cache_alloc_trace+0x15f/0x1c0 [17953.484475] ? do_init_module+0x27/0x1e9 [17953.484477] do_init_module+0x5f/0x1e9 [17953.484479] load_module+0x2602/0x2c30 [17953.484483] SYSC_init_module+0x170/0x1a0 [17953.484484] ? SYSC_init_module+0x170/0x1a0 [17953.484487] SyS_init_module+0xe/0x10 [17953.484489] do_syscall_64+0x67/0x140 [17953.484492] entry_SYSCALL64_slow_path+0x25/0x25 [17953.484493] RIP: 0033:0x7fa71152418a [17953.484494] RSP: 002b:00007ffcddcf0718 EFLAGS: 00000246 ORIG_RAX: 00000000000000af [17953.484496] RAX: ffffffffffffffda RBX: 000055d6a3fb5ec0 RCX: 00007fa71152418a [17953.484497] RDX: 00007fa71205a9c5 RSI: 000000000000452b RDI: 000055d6a3fb83f0 [17953.484497] RBP: 00007fa71205a9c5 R08: 000055d6a3fb5d80 R09: 0000000000000190 [17953.484498] R10: 00007fa7117deb00 R11: 0000000000000246 R12: 000055d6a3fb83f0 [17953.484499] R13: 000055d6a3fb5e60 R14: 0000000000020000 R15: 000055d6a3008f4a [17953.484501] Code: 48 39 c8 73 30 80 3d 99 64 9d 00 00 41 bc f5 ff ff ff 0f 85 26 ff ff ff 48 c7 c7 40 6a d0 98 c6 05 7f 64 9d 00 01 e8 04 42 ad ff <0f> ff 8b 53 64 e9 09 ff ff ff 65 48 8b 0c 25 00 d3 00 00 48 8b [17953.484534] ---[ end trace 2b5f1bdeb4b2936d ]--- [17953.484538] usb 1-12: NFC: Reader power on cmd error -11 [17953.484542] pn533_usb 1-12:1.0: NFC: Couldn't poweron the reader (error -11) [17953.484549] pn533_usb: probe of 1-12:1.0 failed with error -11 [PUA@blackbird Desktop]$ cat /etc/fedora-release Fedora release 26 (Twenty Six) [PUA@blackbird Desktop]$ uname -a Linux blackbird 4.13.11-200.fc26.x86_64 #1 SMP Thu Nov 2 18:28:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [PUA@blackbird Desktop]$ dmesg | egrep "\[\s+6[21]\." [ 61.834242] usb 1-12: new full-speed USB device number 7 using xhci_hcd [ 62.006034] usb 1-12: New USB device found, idVendor=072f, idProduct=2200 [ 62.006039] usb 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 62.006042] usb 1-12: Product: ACR122U PICC Interface [ 62.006045] usb 1-12: Manufacturer: ACS [ 62.039644] nfc: nfc_init: NFC Core ver 0.1 [ 62.039654] NET: Registered protocol family 39 [ 62.042710] transfer buffer not dma capable [ 62.042717] ------------[ cut here ]------------ [ 62.042720] WARNING: CPU: 5 PID: 2311 at drivers/usb/core/hcd.c:1595 usb_hcd_map_urb_for_dma+0x41d/0x620 [ 62.042720] Modules linked in: pn533_usb(+) pn533 nfc bnep fuse tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables binfmt_misc sunrpc vfat fat snd_hda_codec_hdmi nvidia_drm(POE) nvidia_modeset(POE) intel_rapl nvidia(POE) x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm iTCO_wdt iTCO_vendor_support irqbypass intel_cstate intel_uncore snd_hda_codec_realtek snd_hda_codec_generic intel_rapl_perf snd_hda_intel snd_hda_codec snd_usb_audio hci_uart drm_kms_helper [ 62.042734] btbcm snd_hda_core btqca snd_usbmidi_lib btintel snd_hwdep snd_rawmidi snd_seq snd_seq_device bluetooth snd_pcm drm snd_timer snd joydev mei_me intel_pch_thermal tpm_infineon i2c_i801 mei soundcore shpchp tpm_tis tpm_tis_core ecdh_generic rfkill tpm pinctrl_sunrisepoint acpi_als pinctrl_intel intel_lpss_acpi kfifo_buf intel_lpss industrialio acpi_pad xfs libcrc32c dm_crypt uas usb_storage hid_microsoft crct10dif_pclmul mxm_wmi crc32_pclmul crc32c_intel ghash_clmulni_intel serio_raw alx mdio wmi video i2c_hid [ 62.042746] CPU: 5 PID: 2311 Comm: systemd-udevd Tainted: P OE 4.13.11-200.fc26.x86_64 #1 [ 62.042746] Hardware name: Gigabyte Technology Co., Ltd. Z170X-Gaming 3/Z170X-Gaming 3, BIOS F7 06/03/2016 [ 62.042747] task: ffff8d469d024d80 task.stack: ffff98d104294000 [ 62.042748] RIP: 0010:usb_hcd_map_urb_for_dma+0x41d/0x620 [ 62.042748] RSP: 0018:ffff98d1042978e0 EFLAGS: 00010282 [ 62.042749] RAX: 000000000000001f RBX: ffff8d46a47a5cc0 RCX: 0000000000000000 [ 62.042750] RDX: 0000000000000000 RSI: ffff8d46f5d4e118 RDI: ffff8d46f5d4e118 [ 62.042750] RBP: ffff98d104297920 R08: 0000000000000452 R09: 0000000000000004 [ 62.042750] R10: 00000000001fffff R11: 0000000000000001 R12: 00000000fffffff5 [ 62.042751] R13: 00000000014000c0 R14: 0000000000000001 R15: ffff8d46d1bf8000 [ 62.042752] FS: 00007f01752e78c0(0000) GS:ffff8d46f5d40000(0000) knlGS:0000000000000000 [ 62.042752] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.042752] CR2: 00005630e8df8000 CR3: 000000082fee9000 CR4: 00000000003406e0 [ 62.042753] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 62.042753] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 62.042754] Call Trace: [ 62.042756] usb_hcd_submit_urb+0x493/0xb40 [ 62.042758] ? find_next_zero_bit+0x10/0x20 [ 62.042759] ? ida_get_new_above+0x110/0x320 [ 62.042760] ? find_next_zero_bit+0x10/0x20 [ 62.042761] usb_submit_urb+0x22d/0x560 [ 62.042763] pn533_usb_probe+0x3a3/0x4d2 [pn533_usb] [ 62.042764] usb_probe_interface+0x124/0x300 [ 62.042766] driver_probe_device+0x2ff/0x450 [ 62.042767] __driver_attach+0xa4/0xe0 [ 62.042767] ? driver_probe_device+0x450/0x450 [ 62.042768] bus_for_each_dev+0x6e/0xb0 [ 62.042769] driver_attach+0x1e/0x20 [ 62.042770] bus_add_driver+0x1c7/0x270 [ 62.042771] driver_register+0x60/0xe0 [ 62.042772] usb_register_driver+0x81/0x150 [ 62.042772] ? 0xffffffffc0328000 [ 62.042774] pn533_usb_driver_init+0x1e/0x1000 [pn533_usb] [ 62.042775] do_one_initcall+0x50/0x190 [ 62.042777] ? kmem_cache_alloc_trace+0x15f/0x1c0 [ 62.042778] ? do_init_module+0x27/0x1e9 [ 62.042778] do_init_module+0x5f/0x1e9 [ 62.042779] load_module+0x2602/0x2c30 [ 62.042781] SYSC_init_module+0x170/0x1a0 [ 62.042781] ? SYSC_init_module+0x170/0x1a0 [ 62.042782] SyS_init_module+0xe/0x10 [ 62.042783] do_syscall_64+0x67/0x140 [ 62.042785] entry_SYSCALL64_slow_path+0x25/0x25 [ 62.042785] RIP: 0033:0x7f0173f5a3ea [ 62.042786] RSP: 002b:00007ffc61225048 EFLAGS: 00000246 ORIG_RAX: 00000000000000af [ 62.042786] RAX: ffffffffffffffda RBX: 00005630e8ccc6d0 RCX: 00007f0173f5a3ea [ 62.042787] RDX: 00007f0174a949c5 RSI: 000000000000452b RDI: 00005630e8cf8970 [ 62.042787] RBP: 00007f0174a949c5 R08: 00005630e8cbe410 R09: 00000000000000e0 [ 62.042787] R10: 00007f0174218b00 R11: 0000000000000246 R12: 00005630e8cf8970 [ 62.042788] R13: 00005630e8cec6e0 R14: 0000000000020000 R15: 00005630e85f3df7 [ 62.042788] Code: 48 39 c8 73 30 80 3d 19 61 9d 00 00 41 bc f5 ff ff ff 0f 85 26 ff ff ff 48 c7 c7 60 6d d0 be c6 05 ff 60 9d 00 01 e8 44 3d ad ff <0f> ff 8b 53 64 e9 09 ff ff ff 65 48 8b 0c 25 00 d3 00 00 48 8b [ 62.042802] ---[ end trace 4c9867f5fa811b1e ]--- [ 62.042804] usb 1-12: NFC: Reader power on cmd error -11 [ 62.042805] pn533_usb 1-12:1.0: NFC: Couldn't poweron the reader (error -11) [ 62.042808] pn533_usb: probe of 1-12:1.0 failed with error -11 [ 62.042815] usbcore: registered new interface driver pn533_usb This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |