Bug 13609

Summary: RACE - kernel tries download firmware BEFORE it restarts udev!!!
Product: v4l-dvb Reporter: Cijoml Cijomlovic Cijomlov (cijoml)
Component: dvb-usbAssignee: dvb-usb (v4l-dvb_dvb-usb)
Status: RESOLVED OBSOLETE    
Severity: normal CC: alan, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 7216    

Description Cijoml Cijomlovic Cijomlov 2009-06-23 19:06:05 UTC
pm_op(): usb_dev_restore+0x0/0xa returns -19
PM: Device 2-1.4 failed to restore: error -19
dvb-usb: found a 'Leadtek Winfast DTV Dongle (STK7700P based)' in cold state, will try to load a firmware
usb 2-1.3: firmware: requesting dvb-usb-dib0700-1.20.fw
dvb-usb: did not find the firmware file. (dvb-usb-dib0700-1.20.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
Restarting tasks ... <6>usb 2-1.4: USB disconnect, address 6
done.
usb 2-1.4: new high speed USB device using ehci_hcd and address 7
usb 2-1.4: configuration #1 chosen from 1 choice
dvb-usb: found a 'Leadtek - USB2.0 Winfast DTV dongle' in cold state, will try to load a firmware
usb 2-1.4: firmware: requesting dvb-usb-dibusb-6.0.0.8.fw
dvb-usb: downloading firmware from file 'dvb-usb-dibusb-6.0.0.8.fw'

Hi there,

please see above example what happened and how RACE occurs - this leads to bootup problems (kernel waits few secs before give up). I have 5 USB tuners so this starts to be very annoying.

Could it be fixed, please?
Comment 1 Rafael J. Wysocki 2009-06-23 23:55:32 UTC
This is a driver bug, reassigning.
Comment 2 Rafael J. Wysocki 2011-01-16 21:58:35 UTC
Is it still a problem with 2.6.37 and a contemporary distro?
Comment 3 Cijoml Cijomlovic Cijomlov 2011-01-17 00:27:06 UTC
YES it is highest problem when resuming from suspend to disk - system is up but still wait for firmware from udev which sleeps. After timeout it normally wake up
Comment 4 Rafael J. Wysocki 2011-01-17 22:05:50 UTC
Do you know which driver is affected by this issue?
Comment 5 Cijoml Cijomlovic Cijomlov 2011-01-17 22:51:52 UTC
it is either dib7000p or dib7000m

Bus 002 Device 005: ID 0413:6f00 Leadtek Research, Inc. WinFast DTV Dongle (STK7700P based)
Bus 002 Device 004: ID 0413:6026 Leadtek Research, Inc. WinFast DTV Dongle (warm state)
Comment 6 Rafael J. Wysocki 2011-01-17 22:55:26 UTC
Thanks for the info.
Comment 7 Alan 2013-12-10 16:37:49 UTC
Please re-open if seen with modern kernels