2017-04-15 21:56:37

by Andreas Hartmann

[permalink] [raw]
Subject: Regression - Linux 4.9: ums_eneub6250 broken: transfer buffer not dma capable - Trace

Hello!

Since Linux 4.9, ums_eneub6250 is broken. It's working fine if
CONFIG_VMAP_STACK is disabled.

I would be glad if it would be fixed.


Thanks,
kind regards,
Andreas


Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: new high-speed USB device number 3 using ehci-pci
Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: New USB device found, idVendor=0cf2, idProduct=6250
Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: Product: UB6250
Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: Manufacturer: ENE Flash
Apr 15 17:58:54 notebook2 kernel: usb 1-1.1: SerialNumber: 606569746801
Apr 15 17:58:54 notebook2 mtp-probe[2134]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
Apr 15 17:58:54 notebook2 mtp-probe[2134]: bus: 1, device: 3 was not an MTP device
Apr 15 17:58:55 notebook2 kernel: usbcore: registered new interface driver usb-storage
Apr 15 17:58:55 notebook2 kernel: usbcore: registered new interface driver uas
Apr 15 17:58:55 notebook2 kernel: ums_eneub6250 1-1.1:1.0: USB Mass Storage device detected
Apr 15 17:58:55 notebook2 kernel: scsi host6: usb-storage 1-1.1:1.0
Apr 15 17:58:55 notebook2 kernel: ------------[ cut here ]------------
Apr 15 17:58:55 notebook2 kernel: WARNING: CPU: 2 PID: 2133 at ../drivers/usb/core/hcd.c:1587 usb_hcd_map_urb_for_dma+0x4ba/0x4f0 [usbcore]
Apr 15 17:58:55 notebook2 kernel: transfer buffer not dma capable
Apr 15 17:58:55 notebook2 kernel: Modules linked in: ums_eneub6250(+) uas usb_storage fuse binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm_oss msi_wmi iTCO_wdt iTCO_vendor_support snd_pcm wmi snd_seq battery ac msi_laptop sparse_keymap rfkill joydev snd_seq_device snd_timer r8169 mii snd_mixer_oss intel_powerclamp coretemp kvm_intel snd mei_me mei kvm i2c_i801 lpc_ich soundcore intel_ips shpchp mfd_core i2c_smbus fjes acpi_cpufreq tpm_tis pcspkr thermal tpm_tis_core tpm irqbypass fan dm_crypt crc32c_intel serio_raw sr_mod cdrom ehci_pci i915 ehci_hcd i2c_algo_bit usbcore drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm video button dm_mirror dm_region_hash dm_log sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua
Apr 15 17:58:55 notebook2 kernel: CPU: 2 PID: 2133 Comm: systemd-udevd Not tainted 4.9.21-1-default #1
Apr 15 17:58:55 notebook2 kernel: Hardware name: Micro-Star International CR620/CR620, BIOS E1681IMS VER.10C 04/12/2011
Apr 15 17:58:55 notebook2 kernel: ffffbaf681b477f0 ffffffffaf3c854a ffffbaf681b47840 0000000000000000
Apr 15 17:58:55 notebook2 kernel: ffffbaf681b47830 ffffffffaf085c71 00000633af0bd0de ffff8d35b2844e40
Apr 15 17:58:55 notebook2 kernel: 0000000000000000 0000000000000200 0000000000000002 ffff8d360fafd800
Apr 15 17:58:55 notebook2 kernel: Call Trace:
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf3c854a>] dump_stack+0x63/0x89
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf085c71>] __warn+0xd1/0xf0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf085cdf>] warn_slowpath_fmt+0x4f/0x60
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf0bdb38>] ? put_prev_entity+0x48/0x720
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc050f43a>] usb_hcd_map_urb_for_dma+0x4ba/0x4f0 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf0acb48>] ? finish_task_switch+0x78/0x1e0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc050f639>] usb_hcd_submit_urb+0x1c9/0xb30 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf71bc0d>] ? schedule+0x3d/0x90
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf71eb10>] ? schedule_timeout+0x220/0x3c0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc0510f45>] usb_submit_urb.part.6+0x295/0x550 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc0511234>] usb_submit_urb+0x34/0x70 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc09ba0cd>] usb_stor_msg_common+0x9d/0x120 [usb_storage]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc09ba506>] usb_stor_bulk_transfer_buf+0x56/0xa0 [usb_storage]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc09baa7e>] usb_stor_bulk_transfer_sg+0x4e/0x60 [usb_storage]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc0960157>] ene_send_scsi_cmd+0x97/0x160 [ums_eneub6250]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc096063b>] ene_get_card_type.constprop.19+0x5b/0x60 [ums_eneub6250]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc09609ef>] ene_ub6250_probe+0x8f/0x110 [ums_eneub6250]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc0516227>] usb_probe_interface+0x157/0x2f0 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf5294b7>] driver_probe_device+0x227/0x440
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf5297ad>] __driver_attach+0xdd/0xe0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf5296d0>] ? driver_probe_device+0x440/0x440
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf52724d>] bus_for_each_dev+0x5d/0x90
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf528dae>] driver_attach+0x1e/0x20
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf5286f5>] bus_add_driver+0x45/0x270
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf52a260>] driver_register+0x60/0xe0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc0514bc2>] usb_register_driver+0x82/0x150 [usbcore]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc03b9000>] ? 0xffffffffc03b9000
Apr 15 17:58:55 notebook2 kernel: [<ffffffffc03b9038>] ene_ub6250_driver_init+0x38/0x1000 [ums_eneub6250]
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf002190>] do_one_initcall+0x50/0x190
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf1ec335>] ? __vunmap+0x85/0xd0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf1a2e78>] ? do_init_module+0x27/0x20a
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf1a2eb1>] do_init_module+0x60/0x20a
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf113d59>] load_module+0x2029/0x2930
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf1109f0>] ? __symbol_put+0x50/0x50
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf114849>] SYSC_finit_module+0x99/0xd0
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf11489e>] SyS_finit_module+0xe/0x10
Apr 15 17:58:55 notebook2 kernel: [<ffffffffaf7205fb>] entry_SYSCALL_64_fastpath+0x1e/0xad
Apr 15 17:58:55 notebook2 kernel: ---[ end trace b4f5ae3096dcec21 ]---
Apr 15 17:58:55 notebook2 kernel: ums_eneub6250: probe of 1-1.1:1.0 failed with error 3