Bug 1439613 - dvb_usb_cxusb fails on kernel 4.10 due to CONFIG_VMAP_STACK
Summary: dvb_usb_cxusb fails on kernel 4.10 due to CONFIG_VMAP_STACK
Keywords:
Status: CLOSED ERRATA
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-04-06 10:22 UTC by Michael Chapman
Modified: 2017-04-17 20:52 UTC (History)
8 users (show)

Fixed In Version: kernel-4.10.10-100.fc24 kernel-4.10.10-200.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-17 20:52:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Chapman 2017-04-06 10:22:45 UTC
On kernel-4.10.8-200.fc25.x86_64 I get:

  dvb-usb: found a 'DViCO FusionHDTV DVB-T USB (TH7579)' in warm state.
  dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
  dvbdev: DVB: registering new adapter (DViCO FusionHDTV DVB-T USB (TH7579))
  cx88xx: subsystem: 18ac:db10, board: DViCO FusionHDTV DVB-T Plus [card=21,autodetected], frontend(s): 1
  ------------[ cut here ]------------
  WARNING: CPU: 0 PID: 788 at drivers/usb/core/hcd.c:1584 usb_hcd_map_urb_for_dma+0x37f/0x570
  transfer buffer not dma capable
  Modules linked in: mt352 snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep cx8800(+) cx8802(+) videobuf2_dma_sg cx88xx videobuf2_memops videobuf2_v4l2 tveeprom videobuf2_core dvb_usb_cxusb(+) snd_seq v4l2_common snd_seq_device dib0070 videodev media i2c_algo_bit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel i2c_i801 kvm irqbypass tpm_infineon tpm_tis crct10dif_pclmul crc32_pclmul ghash_clmulni_intel tpm_tis_core intel_cstate intel_uncore snd_pcm intel_rapl_perf snd_timer snd soundcore dvb_usb dvb_core rc_core lpc_ich shpchp tpm mei_me mei wmi binfmt_misc nfsd auth_rpcgss nfs_acl lockd grace sunrpc raid1 crc32c_intel uas serio_raw r8169 usb_storage mii fjes
  CPU: 0 PID: 788 Comm: systemd-udevd Not tainted 4.10.8-200.fc25.x86_64 #1
  Hardware name: Gigabyte Technology Co., Ltd. Z68XP-UD3/Z68XP-UD3, BIOS F10 03/20/2012
  Call Trace:
   dump_stack+0x63/0x86
   __warn+0xcb/0xf0
   warn_slowpath_fmt+0x5f/0x80
   usb_hcd_map_urb_for_dma+0x37f/0x570
   ? lock_timer_base+0x81/0xa0
   usb_hcd_submit_urb+0x33e/0xb40
   ? del_timer_sync+0x48/0x50
   ? schedule_timeout+0x180/0x300
   ? del_timer_sync+0x50/0x50
   usb_submit_urb+0x2f6/0x570
   ? wake_up_q+0x80/0x80
   usb_start_wait_urb+0x6e/0x170
   usb_bulk_msg+0xbd/0x160
   dvb_usb_generic_rw+0x15f/0x1e0 [dvb_usb]
   cxusb_ctrl_msg+0x9e/0xe0 [dvb_usb_cxusb]
   cxusb_i2c_xfer+0x2bb/0x350 [dvb_usb_cxusb]
   ? find_symbol_in_section+0x3d/0xf0
   ? each_symbol_section.part.12+0x183/0x1e0
   __i2c_transfer+0x115/0x3f0
   ? dvb_usb_fe_sleep+0x60/0x60 [dvb_usb]
   i2c_transfer+0x5c/0xc0
   mt352_read_register+0x8c/0xe0 [mt352]
   mt352_attach+0x65/0x580 [mt352]
   cxusb_mt352_frontend_attach+0x63/0xe0 [dvb_usb_cxusb]
   dvb_usb_adapter_frontend_init+0xdf/0x190 [dvb_usb]
   dvb_usb_device_init+0x4ca/0x630 [dvb_usb]
   cxusb_probe+0xba/0x210 [dvb_usb_cxusb]
   usb_probe_interface+0x159/0x2d0
   driver_probe_device+0x2bb/0x460
   __driver_attach+0xdf/0xf0
   ? driver_probe_device+0x460/0x460
   bus_for_each_dev+0x6c/0xc0
   driver_attach+0x1e/0x20
   bus_add_driver+0x170/0x270
   driver_register+0x60/0xe0
   usb_register_driver+0x81/0x140
   ? 0xffffffffc0649000
   cxusb_driver_init+0x1e/0x1000 [dvb_usb_cxusb]
   do_one_initcall+0x52/0x1a0
   ? kmem_cache_alloc_trace+0x159/0x1b0
   ? do_init_module+0x27/0x1f8
   do_init_module+0x5f/0x1f8
   load_module+0x2618/0x29e0
   ? __symbol_put+0x60/0x60
   SYSC_init_module+0x173/0x190
   SyS_init_module+0xe/0x10
   do_syscall_64+0x67/0x180
   entry_SYSCALL64_slow_path+0x25/0x25
  RIP: 0033:0x7f70cf8145da
  RSP: 002b:00007fff944d84b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
  RAX: ffffffffffffffda RBX: 00005648fbbfe9c0 RCX: 00007f70cf8145da
  RDX: 00007f70d0346995 RSI: 0000000000017753 RDI: 00005648fbc46470
  RBP: 00007f70d0346995 R08: 00005648fbbf88f0 R09: 0000000000000000
  R10: 0000000000000000 R11: 0000000000000246 R12: 00005648fbc46470
  R13: 00005648fbbf8820 R14: 0000000000020000 R15: 00005648fbbfe9c0
  ---[ end trace c5e2334c1b83c056 ]---
  dvb-usb: recv bulk message failed: -11
  mt352_read_register: readreg error (reg=127, ret==-121)
  dvb-usb: no frontend was attached by 'DViCO FusionHDTV DVB-T USB (TH7579)'

This appears to be a regression for the fix applied in bug 1417829.

Comment 1 Michael Chapman 2017-04-08 08:04:48 UTC
Everything works correctly if I apply the first patch from bug 1417829:

  1-2-media-cxusb-Use-a-dma-capable-buffeo-for-reading.patch

The second patch appears to already be in kernel 4.10.

Comment 2 Laura Abbott 2017-04-10 18:00:28 UTC
Looks like the patch accidentally got dropped in the 4.10 rebase. I've re-added it to the f24/f25 branches.

Comment 3 Fedora Update System 2017-04-13 15:32:23 UTC
kernel-4.10.10-200.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-26c9ecd7a4

Comment 4 Fedora Update System 2017-04-13 15:33:35 UTC
kernel-4.10.10-100.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8e7549fb91

Comment 5 Fedora Update System 2017-04-14 23:52:43 UTC
kernel-4.10.10-100.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8e7549fb91

Comment 6 Fedora Update System 2017-04-15 00:28:05 UTC
kernel-4.10.10-200.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-26c9ecd7a4

Comment 7 Fedora Update System 2017-04-17 20:52:00 UTC
kernel-4.10.10-100.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-04-17 20:52:28 UTC
kernel-4.10.10-200.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


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