← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 789819] Re: Lirc mceusb resume problem

 

Hi Jarod - you are correct, the script was installed when I took the
log, a leftover of trying to find a workaround. Sorry for the clutter on
my previous post, please disregard it.


I removed the script, same result (this is where I got started, actually):


Boot-up log:

Jun 17 22:37:21 htpc kernel: [    4.343722] usb usb9: No SuperSpeed endpoint companion for config 1  interface 0 altsetting 0 ep 129: using minimum values
Jun 17 22:37:21 htpc kernel: [    4.391083] IR NEC protocol handler initialized
Jun 17 22:37:21 htpc kernel: [    4.421626] IR RC5(x) protocol handler initialized
Jun 17 22:37:21 htpc kernel: [    4.443968] xHCI xhci_add_endpoint called for root hub
Jun 17 22:37:21 htpc kernel: [    4.443978] xHCI xhci_check_bandwidth called for root hub
Jun 17 22:37:21 htpc kernel: [    4.445025] IR RC6 protocol handler initialized
Jun 17 22:37:21 htpc kernel: [    4.454178] hub 9-0:1.0: USB hub found
Jun 17 22:37:21 htpc kernel: [    4.454202] hub 9-0:1.0: 4 ports detected
Jun 17 22:37:21 htpc kernel: [    4.462468] cfg80211: Calling CRDA to update world regulatory domain
Jun 17 22:37:21 htpc kernel: [    4.463728] IR JVC protocol handler initialized
Jun 17 22:37:21 htpc kernel: [    4.479351] IR Sony protocol handler initialized
Jun 17 22:37:21 htpc kernel: [    4.494324] lirc_dev: IR Remote Control driver registered, major 251
Jun 17 22:37:21 htpc kernel: [    4.499261] IR LIRC bridge handler initialized
Jun 17 22:37:21 htpc kernel: [    4.589881] Bluetooth: Core ver 2.15
Jun 17 22:37:21 htpc kernel: [    4.589973] NET: Registered protocol family 31
Jun 17 22:37:21 htpc kernel: [    4.589977] Bluetooth: HCI device and connection manager initialized
Jun 17 22:37:21 htpc kernel: [    4.589982] Bluetooth: HCI socket layer initialized
Jun 17 22:37:21 htpc kernel: [    4.593916] Bluetooth: Generic Bluetooth USB driver ver 0.6
Jun 17 22:37:22 htpc kernel: [    4.597809] usbcore: registered new interface driver btusb
Jun 17 22:37:22 htpc kernel: [    4.630116] Registered IR keymap rc-rc6-mce
Jun 17 22:37:22 htpc kernel: [    4.630309] input: Media Center Ed. eHome Infrared Remote Transceiver (1784:0008) as /devices/pci0000:00/0000:00:12.0/usb4/4-3/4-3:1.0/rc/rc0/input2
Jun 17 22:37:22 htpc kernel: [    4.630432] rc0: Media Center Ed. eHome Infrared Remote Transceiver (1784:0008) as /devices/pci0000:00/0000:00:12.0/usb4/4-3/4-3:1.0/rc/rc0
Jun 17 22:37:22 htpc kernel: [    4.636151] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
Jun 17 22:37:22 htpc kernel: [    4.636189] mceusb 4-3:1.0: Registered Topseed Technology Corp. eHome Infrared Transceiver on usb4:2
Jun 17 22:37:22 htpc kernel: [    4.636315] usbcore: registered new interface driver mceusb
Jun 17 22:37:22 htpc kernel: [    4.684405] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input3

Suspend part:

Jun 17 22:37:56 htpc kernel: [   25.554946] Freezing user space processes ... (elapsed 0.01 seconds) done.
Jun 17 22:37:56 htpc kernel: [   25.570377] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Jun 17 22:37:56 htpc kernel: [   25.590347] PM: Entering mem sleep
Jun 17 22:37:56 htpc kernel: [   25.590471] Suspending console(s) (use no_console_suspend to debug)
Jun 17 22:37:56 htpc kernel: [   25.658832] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
Jun 17 22:37:56 htpc kernel: [   25.658844] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jun 17 22:37:56 htpc kernel: [   25.658948] mceusb 4-3:1.0: suspend
Jun 17 22:37:56 htpc kernel: [   25.658968] sd 1:0:0:0: [sdb] Stopping disk
Jun 17 22:37:56 htpc kernel: [   25.659111] sd 0:0:0:0: [sda] Stopping disk

Resume:
Jun 17 22:37:56 htpc kernel: [   26.710863] CPU1 is up
Jun 17 22:37:56 htpc kernel: [   26.711532] ACPI: Waking up from system sleep state S3
Jun 17 22:37:56 htpc kernel: [   26.720027] Switched to NOHz mode on CPU #1
Jun 17 22:37:56 htpc kernel: [   29.933834] Hardware name: System Product Name
Jun 17 22:37:56 htpc kernel: [   29.933836] interface work scheduled while going to suspend
Jun 17 22:37:56 htpc kernel: [   29.933838] Modules linked in: cryptd aes_x86_64 aes_generic vesafb snd_hda_codec_realtek snd_hda_codec_hdmi arc4 snd_hda_intel snd_hda_codec snd_hwdep ath9k snd_pcm mac80211 snd_seq_midi snd_rawmidi ath9k_common snd_seq_midi_event eeepc_wmi sparse_keymap rc_rc6_mce btusb snd_seq mceusb ath9k_hw ir_lirc_codec lirc_dev ir_sony_decoder ath ir_jvc_decoder snd_timer ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_core bluetooth snd_seq_device psmouse cfg80211 fglrx(P) sp5100_tco serio_raw xhci_hcd k10temp i2c_piix4 snd soundcore snd_page_alloc lp parport ahci r8169 libahci
Jun 17 22:37:56 htpc kernel: [   29.933886] Pid: 1660, comm: kworker/u:44 Tainted: P            2.6.38-10-generic #44-Ubuntu
Jun 17 22:37:56 htpc kernel: [   29.933890] Call Trace:
Jun 17 22:37:56 htpc kernel: [   29.933900]  [<ffffffff81065cbf>] ? warn_slowpath_common+0x7f/0xc0
Jun 17 22:37:56 htpc kernel: [   29.933914]  [<ffffffffa0511220>] ? ieee80211_iface_work+0x0/0x340 [mac80211]
Jun 17 22:37:56 htpc kernel: [   29.933919]  [<ffffffff81065db6>] ? warn_slowpath_fmt+0x46/0x50
Jun 17 22:37:56 htpc kernel: [   29.933932]  [<ffffffffa0511558>] ? ieee80211_iface_work+0x338/0x340 [mac80211]
Jun 17 22:37:56 htpc kernel: [   29.933946]  [<ffffffffa0511220>] ? ieee80211_iface_work+0x0/0x340 [mac80211]
Jun 17 22:37:56 htpc kernel: [   29.933952]  [<ffffffff8108284d>] ? process_one_work+0x11d/0x420
Jun 17 22:37:56 htpc kernel: [   29.933957]  [<ffffffff810832e9>] ? worker_thread+0x169/0x360
Jun 17 22:37:56 htpc kernel: [   29.933962]  [<ffffffff81083180>] ? worker_thread+0x0/0x360
Jun 17 22:37:56 htpc kernel: [   29.933966]  [<ffffffff81087866>] ? kthread+0x96/0xa0
Jun 17 22:37:56 htpc kernel: [   29.933972]  [<ffffffff8100ce24>] ? kernel_thread_helper+0x4/0x10
Jun 17 22:37:56 htpc kernel: [   29.933976]  [<ffffffff810877d0>] ? kthread+0x0/0xa0
Jun 17 22:37:56 htpc kernel: [   29.933981]  [<ffffffff8100ce20>] ? kernel_thread_helper+0x0/0x10
Jun 17 22:37:56 htpc kernel: [   29.933985] PM: resume of devices complete after 3053.102 msecs
Jun 17 22:37:56 htpc kernel: [   29.933990] ---[ end trace bb4e443cadb92d34 ]---
Jun 17 22:37:56 htpc kernel: [   29.934335] PM: resume devices took 3.050 seconds
Jun 17 22:37:56 htpc kernel: [   29.934412] PM: Finishing wakeup.
Jun 17 22:37:56 htpc kernel: [   29.934415] Restarting tasks ... done.
Jun 17 22:37:56 htpc kernel: [   29.950131] usb 4-3: USB disconnect, address 2
Jun 17 22:37:56 htpc lircd-0.8.7[677]: caught signal
Jun 17 22:37:56 htpc kernel: [   30.053739] BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
Jun 17 22:37:56 htpc kernel: [   30.053750] IP: [<ffffffffa03d76e7>] show_protocols+0xf7/0x130 [rc_core]
Jun 17 22:37:56 htpc kernel: [   30.053765] PGD 42a27067 PUD 5f4a2067 PMD 0
Jun 17 22:37:56 htpc kernel: [   30.053771] Oops: 0000 [#1] SMP
Jun 17 22:37:56 htpc kernel: [   30.053774] last sysfs file: /sys/devices/pci0000:00/0000:00:12.0/usb4/4-3/4-3:1.0/rc/rc0/protocols
Jun 17 22:37:56 htpc kernel: [   30.053780] CPU 1
Jun 17 22:37:56 htpc kernel: [   30.053781] Modules linked in: cryptd aes_x86_64 aes_generic vesafb snd_hda_codec_realtek snd_hda_codec_hdmi arc4 snd_hda_intel snd_hda_codec snd_hwdep ath9k snd_pcm mac80211 snd_seq_midi snd_rawmidi ath9k_common snd_seq_midi_event eeepc_wmi sparse_keymap rc_rc6_mce btusb snd_seq mceusb ath9k_hw ir_lirc_codec lirc_dev ir_sony_decoder ath ir_jvc_decoder snd_timer ir_rc6_decoder ir_rc5_decoder ir_nec_decoder rc_core bluetooth snd_seq_device psmouse cfg80211 fglrx(P) sp5100_tco serio_raw xhci_hcd k10temp i2c_piix4 snd soundcore snd_page_alloc lp parport ahci r8169 libahci
Jun 17 22:37:56 htpc kernel: [   30.053820]


... See the "caught signal... lircd" line in the resume part, and see
the "BUG" line right after, which I guess is related.


The same happens with both kernels: 2.6.38-10, and 2.6.39-3

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/789819

Title:
  Lirc mceusb resume problem

Status in “lirc” package in Ubuntu:
  New

Bug description:
  Binary package hint: lirc

  Dear All

  I've XBMC 10.1 running on Ubuntu 11.04. I'm using a mceusb dongle

  I've installed lirc and my harmony remote works fine.

  The main problem is after the suspend the remote is not able to resume
  the pc and if I manually do it lirc is not working anymore.

  with ubuntu 10.10 the problem was solved using the following howto:

  http://wiki.xbmc.org/?title=Automati..._resume_script

  but it looks like it's not working on 11.04.

  I've tried to:

  1. stop lirc
  2. rmmod --force lirc_dev
  3. rmmod --force mceusb
  but it looks like I ca't "ERROR resource busy" or sometime the command hang.

  Thank you

  L.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/789819/+subscriptions


References