Public bug reported:

On resume from suspend a driver fails to re-load the USB video-camera
firmware. This cause a very long pause (60 seconds according to the log
time-stamps) during suspend before the screen has been restored and
makes it appear the system has locked up.

The driver makes a call to the kernel's function:

drivers/base/firmware_class.c:request_firmware()

but it returns non-zero (error condition).

uname -a
Linux hephaestion 2.6.28-7-generic #20-Ubuntu SMP Mon Feb 9 15:42:34 UTC 2009 
x86_64 GNU/Linux

Note the time stamps (60294 to 60354):

kernel: [60294.780270] r5u870-0: Detected Sony VGP-VCC4
kernel: [60294.780398] usb 1-8: firmware: requesting r5u870_1836.fw
kernel: [60354.780066] r5u870-0: Microcode file "r5u870_1836.fw" is missing
kernel: [60354.780069] r5u870-0: Please see 
http://wiki.mediati.org/r5u870/Microcode
kernel: [60354.780072] r5u870-0: initialization failed: -2
kernel: [60354.780079] r5u870: probe of 1-8:1.0 failed with error -2

kernel: [60354.780965] ------------[ cut here ]------------
kernel: [60354.780968] WARNING: at 
/build/buildd/linux-2.6.28/kernel/power/main.c:177 
suspend_test_finish+0x7c/0x80()
kernel: [60354.780971] Component: resume devices
kernel: [60354.780973] Modules linked in: g_file_storage dummy_hcd tun hidp 
binfmt_misc bridge stp bnep kvm_intel kvm acpi_cpufreq input_polldev ppdev 
parport_pc lp parport snd_hda_intel snd_pcm_oss arc4 snd_mixer_oss ecb snd_pcm 
snd_seq_dummy uvcvideo iwl3945 joydev snd_seq_oss pcmcia r5u870 snd_seq_midi 
mac80211 usbcam snd_rawmidi snd_seq_midi_event led_class serio_raw 
compat_ioctl32 videodev v4l1_compat videobuf_dma_sg snd_seq snd_timer 
snd_seq_device tifm_7xx1 yenta_socket rsrc_nonstatic pcmcia_core video pcspkr 
psmouse tifm_core sony_laptop videobuf_core iTCO_wdt iTCO_vendor_support output 
intel_agp btusb snd soundcore snd_page_alloc cfg80211 nvidia(P) cbc 
nls_iso8859_1 nls_cp437 vfat fat usb_storage ohci1394 e100 mii ieee1394 fbcon 
tileblit font bitblit softcursor fuse sha256_generic dm_crypt aes_x86_64 
aes_generic uhci_hcd ehci_hcd [last unloaded: dummy_hcd]
kernel: [60354.781047] Pid: 17123, comm: pm-suspend Tainted: P           
2.6.28-7-generic #20-Ubuntu
kernel: [60354.781050] Call Trace:
kernel: [60354.781058]  [<ffffffff8024d857>] warn_slowpath+0xb7/0xf0
kernel: [60354.781063]  [<ffffffff8026a368>] ? down_trylock+0x38/0x50
kernel: [60354.781068]  [<ffffffff8024df70>] ? try_acquire_console_sem+0x10/0x40
kernel: [60354.781074]  [<ffffffff802595b6>] ? lock_timer_base+0x36/0x70
kernel: [60354.781081]  [<ffffffff8067f320>] ? printk+0x67/0x6f
kernel: [60354.781087]  [<ffffffff8040baa7>] ? kobject_put+0x27/0x60
kernel: [60354.781093]  [<ffffffff804a96b5>] ? put_device+0x15/0x20
kernel: [60354.781099]  [<ffffffff804b169a>] ? dpm_complete+0x18a/0x1a0
kernel: [60354.781104]  [<ffffffff8027cf1c>] suspend_test_finish+0x7c/0x80
kernel: [60354.781110]  [<ffffffff8027d004>] 
suspend_devices_and_enter+0xe4/0x180
kernel: [60354.781114]  [<ffffffff8027d2b9>] enter_state+0xe9/0x120
kernel: [60354.781119]  [<ffffffff8027d3aa>] state_store+0xba/0x100
kernel: [60354.781123]  [<ffffffff8040b947>] kobj_attr_store+0x17/0x20
kernel: [60354.781130]  [<ffffffff80344185>] sysfs_write_file+0xc5/0x140
kernel: [60354.781135]  [<ffffffff802e4bfb>] vfs_write+0xcb/0x130
kernel: [60354.781140]  [<ffffffff802e4d50>] sys_write+0x50/0x90
kernel: [60354.781145]  [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b
kernel: [60354.781148] ---[ end trace ead16c576f6b94cf ]---
kernel: [60354.781783] PM: Finishing wakeup.
kernel: [60354.781784] Restarting tasks ...

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
request_firmware() fails on resume from suspend
https://bugs.launchpad.net/bugs/331415
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to