Bug 911993 - USB capture card broken since kernel 3.7.7
Summary: USB capture card broken since kernel 3.7.7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-17 06:12 UTC by cube00
Modified: 2013-07-04 23:01 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-21 13:54:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log 1 (109.73 KB, application/octet-stream)
2013-02-17 06:12 UTC, cube00
no flags Details
Log 2 (229.09 KB, application/octet-stream)
2013-02-17 06:13 UTC, cube00
no flags Details
Log 3 (3.7.8) (111.29 KB, application/octet-stream)
2013-02-18 14:45 UTC, cube00
no flags Details
Log 4 (3.7.9) (111.39 KB, application/octet-stream)
2013-02-22 12:17 UTC, cube00
no flags Details
output of "dmesg" after booting kernel-3.8.2-206.fc18.x86_64 (55.40 KB, text/plain)
2013-03-12 08:07 UTC, Simon Roberts
no flags Details

Description cube00 2013-02-17 06:12:37 UTC
Created attachment 698433 [details]
Log 1

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Upgrade kernel to 3.7.7-201.fc18.x86_64
2. Power off
3. Power on
  
Actual results:
Errors in /var/log/messages

Sometimes boot logs will show these errors and one of the two tuners works (log1):

usb 3-1: device descriptor read/64, error -110
usb 3-1: new high-speed USB device number 4 using ehci_hcd
usb 3-1: device not accepting address 4, error -110

other times those errors will not appear and instead this repeats in the log while the system is running (see log2):

usb 3-1: dvb_usb_v2: usb_bulk_msg() failed=-110
i2c i2c-0: af9013: i2c wr failed=-110 reg=d417 len=1

Expected results:
Capture card works.

Additional info:
Switching back to 3.7.4-204.fc18.x86_64 fixes the issue.

Comment 1 cube00 2013-02-17 06:13:16 UTC
Created attachment 698434 [details]
Log 2

Comment 2 cube00 2013-02-17 06:14:18 UTC
May be related to https://bbs.archlinux.org/viewtopic.php?pid=1232844

Comment 3 cube00 2013-02-17 06:32:52 UTC
System also fails to power down successfully but I can't see anything in messages that shows why.

gnome-session[1212]: WARNING: Unable to load desktop file '/usr/bin/hp-toolbox.desktop': No such file or directory
gnome-session[1212]: WARNING: Unable to find desktop file 'hp-toolbox.desktop': Valid key file could not be found in search dirs
gnome-session[1212]: WARNING: Unable to find desktop file 'gnome-/usr/bin/hp-toolbox.desktop': Valid key file could not be found in search dirs
systemd-logind[610]: System is powering down.
colord: device removed: xrandr-Acer Technologies-S242HL-LR90D0088513
colord: Profile removed: icc-730fa3d6fa0d4440b3107684a9e43333
systemd[1]: Starting Show Plymouth Power Off Screen...
systemd[1]: Deactivating swap /dev/sda6...
systemd[1]: Deactivating swap /dev/sda6...
systemd[1]: Deactivating swap /dev/sda6...
systemd[1]: Stopping Printer.
systemd[1]: Stopped target Printer.
systemd[1]: Stopping Sound Card.
systemd[1]: Stopped target Sound Card.
systemd[1]: Stopping Stop Read-Ahead Data Collection 10s After Completed Startup.
systemd[1]: Stopped Stop Read-Ahead Data Collection 10s After Completed Startup.
systemd[1]: Stopping Graphical Interface.
systemd[1]: Stopped target Graphical Interface.
kernel: [ 2430.067042] LogServer[1404]: segfault at 0 ip           (null) sp 00007f5aaf043518 error 14 in mythlogserver[400000+4000]
rsyslogd: [origin software="rsyslogd" swVersion="7.2.5" x-pid="635" x-info="http://www.rsyslog.com"] exiting on signal 15.

Comment 4 cube00 2013-02-18 14:45:14 UTC
Updated to 3.7.8-202.fc18.x86_64

Now the whole card is being unloaded and is unavailable for use (system messages no longer have repeating error text in them)

kernel: [   18.133664] usb 3-1: dvb_usb_v2: usb_bulk_msg() failed=-110
kernel: [   18.133676] usb 3-1: dvb_usb_af9015: firmware copy to 2nd frontend failed, will disable it
kernel: [   18.133687] usb 3-1: dvb_usb_v2: 'Leadtek WinFast DTV2000DS' error while loading driver (-19)
kernel: [   18.135588] tda18271 0-00c0: destroying instance
kernel: [   18.136208] usb 3-1: dvb_usb_v2: 'Leadtek WinFast DTV2000DS' successfully deinitialized and disconnected

Comment 5 cube00 2013-02-18 14:45:50 UTC
Created attachment 698912 [details]
Log 3 (3.7.8)

Comment 6 Milan Slanař 2013-02-21 14:13:59 UTC
Same problem here with the same dvb card. kernel 3.7.7 and 3.7.8 did not initialize card. Kernel 3.7.9 initialized at least one of 2 adaptors (tuners).

Feb 19 16:23:19 led kernel: [    0.000000] Linux version 3.7.9-201.fc18.x86_64 (mockbuild.fedoraproject.org) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) ) #1 SMP Mon Feb 18 21:07:56 UTC 20

Feb 19 16:23:19 led kernel: [    2.895184] usb 3-1: new high-speed USB device number 2 using ehci_hcd
Feb 19 16:23:19 led kernel: [   13.394579] usb 3-1: device not accepting address 2, error -110
Feb 19 16:23:19 led kernel: [   13.496343] usb 3-1: new high-speed USB device number 3 using ehci_hcd
Feb 19 16:23:19 led kernel: [   28.590697] usb 3-1: device descriptor read/64, error -110

Feb 19 16:23:31 led kernel: [   54.402066] usb 3-1: device not accepting address 4, error -110
Feb 19 16:23:31 led kernel: [   54.503830] usb 3-1: new high-speed USB device number 5 using ehci_hcd
Feb 19 16:23:41 led kernel: [   64.899762] usb 3-1: device not accepting address 5, error -110
Feb 19 16:23:41 led kernel: [   64.899796] hub 3-0:1.0: unable to enumerate USB device on port 1
Feb 19 16:23:41 led kernel: [   65.236898] usb 9-1: new full-speed USB device number 2 using uhci_hcd
Feb 19 16:23:42 led kernel: [   65.409469] usb 9-1: New USB device found, idVendor=0413, idProduct=6a04
Feb 19 16:23:42 led kernel: [   65.409480] usb 9-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 19 16:23:42 led kernel: [   65.409486] usb 9-1: Product: DVB-T 2
Feb 19 16:23:42 led kernel: [   65.409492] usb 9-1: Manufacturer: Afatech
Feb 19 16:23:42 led mtp-probe: checking bus 9, device 2: "/sys/devices/pci0000:00/0000:00:14.4/0000:05:06.0/usb9/9-1"
Feb 19 16:23:42 led mtp-probe: bus: 9, device: 2 was not an MTP device
Feb 19 16:23:42 led kernel: [   65.537905] usbcore: registered new interface driver dvb_usb_af9015
Feb 19 16:23:42 led kernel: [   65.540105] usb 9-1: dvb_usb_v2: found a 'Leadtek WinFast DTV2000DS' in cold state
Feb 19 16:23:42 led kernel: [   65.552212] usb 9-1: dvb_usb_v2: downloading firmware from file 'dvb-usb-af9015.fw'
Feb 19 16:23:42 led kernel: [   65.852329] usb 9-1: dvb_usb_v2: found a 'Leadtek WinFast DTV2000DS' in warm state
Feb 19 16:23:43 led kernel: [   66.379047] usb 9-1: dvb_usb_v2: will use the device's hardware PID filter (table count: 32)
Feb 19 16:23:43 led kernel: [   66.379135] DVB: registering new adapter (Leadtek WinFast DTV2000DS)
Feb 19 16:23:43 led kernel: [   66.434788] i2c i2c-4: af9013: firmware version 5.1.0.0
Feb 19 16:23:43 led kernel: [   66.450752] usb 9-1: DVB: registering adapter 0 frontend 0 (Afatech AF9013)...
Feb 19 16:23:43 led kernel: [   66.461899] tda18271 4-00c0: creating new instance
Feb 19 16:23:43 led kernel: [   66.475677] TDA18271HD/C2 detected @ 4-00c0
Feb 19 16:23:43 led kernel: [   66.786818] Registered IR keymap rc-leadtek-y04g0051
Feb 19 16:23:43 led kernel: [   66.787046] input: Leadtek WinFast DTV2000DS as /devices/pci0000:00/0000:00:14.4/0000:05:06.0/usb9/9-1/rc/rc0/input12
Feb 19 16:23:43 led kernel: [   66.787385] rc0: Leadtek WinFast DTV2000DS as /devices/pci0000:00/0000:00:14.4/0000:05:06.0/usb9/9-1/rc/rc0
Feb 19 16:23:43 led kernel: [   66.787397] usb 9-1: dvb_usb_v2: schedule remote query interval to 500 msecs
Feb 19 16:23:43 led kernel: [   66.787406] usb 9-1: dvb_usb_v2: 'Leadtek WinFast DTV2000DS' successfully initialized and connected

Comment 7 cube00 2013-02-22 12:16:33 UTC
In 3.7.9 I'm now getting what I saw earlier, card appears to be loaded however when software tries to use the card (mythbackend) the message log is flooded with errors non stop. The software can't even finish starting because it's waiting on the card. Tried to power off but got stuck, had to cut power to system with PSU switch. Back to 3.7.4.

Comment 8 cube00 2013-02-22 12:17:05 UTC
Created attachment 701142 [details]
Log 4 (3.7.9)

Comment 9 cube00 2013-03-07 13:35:57 UTC
Bug remains in 3.8.1

Comment 10 Simon Roberts 2013-03-12 08:07:28 UTC
Created attachment 708801 [details]
output of "dmesg" after booting kernel-3.8.2-206.fc18.x86_64

Kernel 3.7.6 works fine with my capture card, but it looks like a USB issue prevents it from working on later kernels, up to 3.8.2-206

Comment 11 cube00 2013-03-12 14:04:18 UTC
Got kernel 3.7.6 from koji.fedoraproject.org and confirm it is working for me too.

Comment 12 Simon Roberts 2013-03-13 08:49:51 UTC
I tried a custom build of kernel-3.8.2-206.fc18.x86_64 with patch f7965c0846d74b270e246c1470ca955d5078eb07 backed out - didn't change anything.

http://kernel.opensuse.org/cgit/kernel/commit/?id=f7965c0846d74b270e246c1470ca955d5078eb07

Comment 13 kielogl 2013-03-14 09:06:35 UTC
Same problem here. 3.7.6-201.fc18.x86_64 is the last working kernel with my DigitalNow Quad DVB-T Receiver (rtl2830) tuner.

Comment 14 Alex Butcher 2013-03-15 21:03:24 UTC
Looks like this problem is (unsurprisingly) also in 3.7.9-104.fc17.

Comment 15 Alex Butcher 2013-03-15 21:15:41 UTC
Possibly https://lkml.org/lkml/2013/2/18/535

Comment 16 Milan Slanař 2013-03-20 15:01:48 UTC
It looks like the bug is fixed with 3.8.3-203.fc18.x86_64 for me. DVB card is detected, initialised and both tuners work.

Comment 17 Simon Roberts 2013-03-21 09:10:01 UTC
Yup, works for me too.

Comment 18 Josh Boyer 2013-03-21 13:54:05 UTC
Thanks for letting us know.


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