Bug 1448507 - ACR122 contactless reader fails to work: pn533_usb: transfer buffer not dma capable
Summary: ACR122 contactless reader fails to work: pn533_usb: transfer buffer not dma c...
Keywords:
Status: CLOSED DUPLICATE of bug 1436866
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-05 15:30 UTC by Till Maas
Modified: 2017-05-05 15:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-05 15:47:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Till Maas 2017-05-05 15:30:19 UTC
Description of problem:
When I plugin a ACR122 contactless reader, I get this error:

[   61.525812] WARNING: CPU: 0 PID: 2473 at drivers/usb/core/hcd.c:1587 usb_hcd_map_urb_for_dma+0x37f/0x570
[   61.525813] transfer buffer not dma capable
[   61.525813] Modules linked in: pn533_usb(+) pn533 nfc bnep fuse ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_broute bridge ebtable_nat ip6table_mangle ip6table_security ip6table_raw ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 iptable_mangle iptable_security iptable_raw iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ebtable_filter ebtables ip6table_filter ip6_tables vfat fat uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 option videobuf2_core usb_wwan videodev media btusb btrtl intel_rapl arc4 x86_pkg_temp_thermal iTCO_wdt intel_powerclamp iTCO_vendor_support snd_soc_skl coretemp snd_soc_skl_ipc kvm_intel
[   61.525843]  snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core kvm snd_soc_sst_match snd_soc_core iwlmvm snd_hda_codec_hdmi snd_hda_codec_conexant mac80211 snd_hda_codec_generic snd_compress snd_pcm_dmaengine ac97_bus snd_hda_intel irqbypass snd_hda_codec intel_cstate intel_uncore snd_hda_core iwlwifi snd_hwdep snd_seq intel_rapl_perf snd_seq_device cfg80211 snd_pcm joydev hci_uart snd_timer i2c_i801 btbcm btqca idma64 hid_sensor_magn_3d hid_sensor_als hid_sensor_gyro_3d hid_sensor_accel_3d btintel hid_sensor_trigger hid_sensor_iio_common industrialio_triggered_buffer kfifo_buf bluetooth industrialio shpchp intel_lpss_pci mei_me mei thinkpad_acpi intel_pch_thermal snd ucsi soundcore rfkill tpm_crb pinctrl_sunrisepoint pinctrl_intel tpm_tis intel_lpss_acpi intel_lpss tpm_tis_core acpi_pad tpm nfsd
[   61.525892]  auth_rpcgss nfs_acl lockd grace dm_thin_pool dm_persistent_data dm_bio_prison libcrc32c dm_crypt wacom hid_sensor_hub intel_ishtp_hid i915 crct10dif_pclmul e1000e crc32_pclmul crc32c_intel i2c_algo_bit drm_kms_helper ghash_clmulni_intel ptp sdhci_pci sdhci drm serio_raw mmc_core pps_core intel_ish_ipc intel_ishtp wmi video i2c_hid fjes 8021q garp stp llc mrp cdc_ether usbnet mii sunrpc scsi_transport_iscsi
[   61.525916] CPU: 0 PID: 2473 Comm: systemd-udevd Not tainted 4.10.14-200.fc25.x86_64 #1
[   61.525917] Hardware name: LENOVO 20EM001AGE/20EM001AGE, BIOS R05ET62W (1.40) 03/25/2016
[   61.525918] Call Trace:
[   61.525923]  dump_stack+0x63/0x86
[   61.525926]  __warn+0xcb/0xf0
[   61.525929]  warn_slowpath_fmt+0x5f/0x80
[   61.525932]  usb_hcd_map_urb_for_dma+0x37f/0x570
[   61.525937]  usb_hcd_submit_urb+0x355/0xb90
[   61.525940]  ? get_from_free_list+0x42/0x50
[   61.525942]  ? ida_get_new_above+0x1fc/0x270
[   61.525944]  usb_submit_urb+0x2f6/0x570
[   61.525946]  ? __kmalloc+0x16f/0x1f0
[   61.525948]  ? usb_alloc_urb+0x19/0x50
[   61.525951]  pn533_usb_probe+0x353/0x4ff [pn533_usb]
[   61.525954]  usb_probe_interface+0x159/0x2d0
[   61.525956]  driver_probe_device+0x2bb/0x460
[   61.525958]  __driver_attach+0xdf/0xf0
[   61.525960]  ? driver_probe_device+0x460/0x460
[   61.525962]  bus_for_each_dev+0x6c/0xc0
[   61.525964]  driver_attach+0x1e/0x20
[   61.525965]  bus_add_driver+0x170/0x270
[   61.525967]  driver_register+0x60/0xe0
[   61.525969]  usb_register_driver+0x81/0x140
[   61.525970]  ? 0xffffffffc0140000
[   61.525973]  pn533_usb_driver_init+0x1e/0x1000 [pn533_usb]
[   61.525976]  do_one_initcall+0x52/0x1a0
[   61.525978]  ? __vunmap+0x81/0xd0
[   61.525980]  ? kmem_cache_alloc_trace+0x159/0x1b0
[   61.525981]  ? do_init_module+0x27/0x1f8
[   61.525983]  do_init_module+0x5f/0x1f8
[   61.525986]  load_module+0x2618/0x29e0
[   61.525989]  ? __symbol_put+0x60/0x60
[   61.525993]  SYSC_init_module+0x173/0x190
[   61.525995]  SyS_init_module+0xe/0x10
[   61.525998]  entry_SYSCALL_64_fastpath+0x1a/0xa9
[   61.525999] RIP: 0033:0x7f24203125da
[   61.526000] RSP: 002b:00007fffa43ce668 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
[   61.526003] RAX: ffffffffffffffda RBX: 0000000035c7dea8 RCX: 00007f24203125da
[   61.526004] RDX: 00007f2420e44995 RSI: 00000000000044eb RDI: 0000555a61da3cd0
[   61.526005] RBP: 00000000000003a8 R08: 0000555a61d62bb0 R09: 0000000000000000
[   61.526006] R10: 0000000000000000 R11: 0000000000000246 R12: 0000555a61d83910
[   61.526009] R13: 00007fffa43cb291 R14: 00007fffa43ca4a8 R15: 00000000403e39e8
[   61.526011] ---[ end trace dbdcaaa68a2109b7 ]---
[   61.526014] usb 1-3: NFC: Reader power on cmd error -11
[   61.526018] pn533_usb 1-3:1.0: NFC: Couldn't poweron the reader (error -11)
[   61.526025] pn533_usb: probe of 1-3:1.0 failed with error -11
[   61.526076] usbcore: registered new interface driver pn533_usb


Version-Release number of selected component (if applicable):
kernel-4.10.10-200.fc25.x86_64
kernel-4.10.14-200.fc25.x86_64

How reproducible:
always

Steps to Reproduce:
1. put in a AC122 contactless reader
2. look at dmesg -w
3.

Actual results:
reader does not power on


Expected results:
reader works

Additional info:
It used to work with older kernels in February. Not sure when it broke.

Comment 1 Till Maas 2017-05-05 15:34:56 UTC
kernel-4.8.6-300 does not show this error

Comment 2 Laura Abbott 2017-05-05 15:47:52 UTC
I reported this issue upstream a while ago but nobody responded :(

*** This bug has been marked as a duplicate of bug 1436866 ***


Note You need to log in before you can comment on or make changes to this bug.