Bug 440008 - kernel 2.6.24 needs one-line fix to August 2007 regression (Nova-T-500 USB disconnects)
kernel 2.6.24 needs one-line fix to August 2007 regression (Nova-T-500 USB di...
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
8
All Linux
low Severity high
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-01 07:10 EDT by Alex Butcher
Modified: 2008-04-02 18:27 EDT (History)
0 users

See Also:
Fixed In Version: 2.6.24.4-64.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-02 18:27:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 209603 None None None Never

  None (edit)
Description Alex Butcher 2008-04-01 07:10:02 EDT
Description of problem:

There was a regression in 2.6.24 in August 2007 which causes severe problems
with the Hauppauge Nova-T-500 DVB-T TV dual-tuner PCI card (internally, it's two
USB tuners attached via a VIA PCI/USB bridge - see
http://www.mythtv.org/wiki/index.php/Hauppauge_WinTV_Nova-T_500_PCI) often used
for European MythTV systems. The problem and the one-line fix is documented at:

http://www.linuxtv.org/pipermail/linux-dvb/2008-March/024826.html
https://bugs.launchpad.net/ubuntu/+bug/209603
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.24.y.git;a=commitdiff;h=5475187c2752adcc6d789592b5f68c81c39e5a81;hp=1b52961e49f8b7293b52826c7e12a689d516fe18

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


How reproducible:


Steps to Reproduce:
1. Install a Nova-T-500 card, and configure MythTV to use it, including remote
control and EIT (Electronic Programme Guide) scanning
2. Boot a 2.6.24 kernel
3. Wait for USB disconnect errors to show up in syslog, along with mt2060
read/write errors
  
Actual results:
Mar 17 21:21:26 mythtv kernel: usb 2-1: new high speed USB device using ehci_hcd
and address 2
[...]
Mar 17 21:21:26 mythtv kernel: usb 2-1: configuration #1 chosen from 1 choice
[...]
Mar 17 21:21:26 mythtv kernel: dib0700: loaded with support for 5 different
device-types
Mar 17 21:21:26 mythtv kernel: dvb-usb: found a 'Hauppauge Nova-T 500 Dual
DVB-T' in warm state.
Mar 17 21:21:26 mythtv kernel: dvb-usb: will pass the complete MPEG2 transport
stream to the software demuxer.
Mar 17 21:21:26 mythtv kernel: DVB: registering new adapter (Hauppauge Nova-T
500 Dual DVB-T)
[...]
Mar 17 21:21:26 mythtv kernel: DVB: registering frontend 1 (DiBcom 3000MC/P)...
Mar 17 21:21:26 mythtv kernel: MT2060: successfully identified (IF1 = 1220)
[...]
Mar 17 21:21:26 mythtv kernel: dvb-usb: will pass the complete MPEG2 transport
stream to the software demuxer.
Mar 17 21:21:26 mythtv kernel: DVB: registering new adapter (Hauppauge Nova-T
500 Dual DVB-T)
Mar 17 21:21:26 mythtv kernel: DVB: registering frontend 2 (DiBcom 3000MC/P)...
Mar 17 21:21:26 mythtv kernel: MT2060: successfully identified (IF1 = 1220)
[...]
Mar 17 21:21:26 mythtv kernel: input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00:1e.0/0000:02:04.2/usb2/2-1/input/input10
Mar 17 21:21:26 mythtv kernel: dvb-usb: schedule remote query interval to 150 msecs.
Mar 17 21:21:26 mythtv kernel: dvb-usb: Hauppauge Nova-T 500 Dual DVB-T
successfully initialized and connected.
Mar 17 21:21:26 mythtv kernel: usbcore: registered new interface driver
dvb_usb_dib0700
[...]
Mar 17 22:03:30 mythtv kernel: usb 2-1: USB disconnect, address 2
Mar 17 22:03:30 mythtv kernel: mt2060 I2C write failed (len=2)
Mar 17 22:03:30 mythtv kernel: mt2060 I2C write failed (len=6)
Mar 17 22:03:30 mythtv kernel: mt2060 I2C read failed
Mar 17 22:03:30 mythtv kernel:last message repeated 9 times
Mar 17 22:03:30 mythtv kernel: mt2060 I2C write failed
Mar 17 22:04:07 mythtv kernel: dvb-usb: error while stopping stream.
Mar 17 22:04:07 mythtv kernel: mt2060 I2C write failed (len=2)
Mar 17 22:04:07 mythtv kernel: mt2060 I2C write failed (len=6)
Mar 17 22:04:07 mythtv kernel: mt2060 I2C read failed
Mar 17 22:04:07 mythtv kernel:last message repeated 9 times
Mar 17 22:04:07 mythtv kernel: dvb-usb: could not submit URB no. 0 - get them
all back
Mar 17 22:04:07 mythtv kernel: dvb-usb: error while enabling fifo.
Mar 17 22:04:08 mythtv kernel: mt2060 I2C write failed (len=2)
Mar 17 22:04:08 mythtv kernel: mt2060 I2C write failed (len=6)
Mar 17 22:04:08 mythtv kernel: mt2060 I2C read failed
Mar 17 22:04:09 mythtv kernel:last message repeated 9 times
[repeat 'til fade]

Expected results:

No unexpected USB disconnects!

Additional info:
Comment 1 Dave Jones 2008-04-01 08:24:47 EDT
that patch is already in the latest errata kernel for F-8
Comment 2 Alex Butcher 2008-04-01 09:21:24 EDT
I checked 2.6.24.3-50.fc8 this morning and it doesn't seem to be there:

                if (last) {
                        if (likely (last->urb != urb)) {
                                ehci_urb_done(ehci, last->urb, last_status);
                                count++;
                        }
                        ehci_qtd_free (ehci, last);
                        last = NULL;
                        last_status = -EINPROGRESS;
                }

Presumably you're referring to 2.6.24.4-64.fc8?

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