← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1247410] Re: lirc not working / kernel bug

 

** Package changed: lirc (Ubuntu) => linux (Ubuntu)

-- 
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/1247410

Title:
  lirc not working / kernel bug

Status in Linux:
  New
Status in linux package in Ubuntu:
  New

Bug description:
  BUG: unable to handle kernel NULL pointer dereference

  My philips MCE USB receiver (mceusb device) does not work with Lirc.
  System is ubuntu 12.04-mini.

  lsusb
  Bus 003 Device 002: ID 0471:060c Philips (or NXP) Consumer Infrared Transceiver (HP)

  Running irw does nothing, running it a second time gives "Connection
  refused".

  xbmc@Media-PC:~$ irw
  xbmc@Media-PC:~$ irw
  connect: Connection refused

  After the first irw, lirc is already 'hanging'!  Restarting the lirc service at this point will hang the terminal which you will try to run it from.
  Sudo dpkg-reconfigure lirc will also hang the terminal plus give a dpkg-configure -a error on next boot.
  On reboot the system will hang as well, only option being REISUB.

  syslog after running irw twice:

  Nov  2 15:49:49 Media-PC lircd-0.9.0[1963]: accepted new client on /var/run/lirc/lircd
  Nov  2 15:49:49 Media-PC kernel: [  243.967430] BUG: unable to handle kernel NULL pointer dereference at           (null)
  Nov  2 15:49:49 Media-PC kernel: [  243.967447] IP: [<          (null)>]           (null)
  Nov  2 15:49:49 Media-PC kernel: [  243.967455] PGD 1284f8067 PUD 125b54067 PMD 0
  Nov  2 15:49:49 Media-PC kernel: [  243.967466] Oops: 0010 [#1] SMP
  Nov  2 15:49:49 Media-PC kernel: [  243.967474] CPU 1
  Nov  2 15:49:49 Media-PC kernel: [  243.967477] Modules linked in: rc_imon_pad(O) imon(O) rfcomm bnep bluetooth joydev vesafb snd_hda_codec_hdmi stv6110x(O) lnbp21(O) hid_apple usbhid hid stv090x(O) ir_sanyo_decoder(O) ir_lirc_codec(O) lirc_dev(O) ir_mce_kbd_decoder(O) ir_sony_decoder(O) ir_jvc_decoder(O) ppdev ir_rc6_decoder(O) snd_hda_codec_via ir_rc5_decoder(O) ir_nec_decoder(O) rc_rc6_mce(O) snd_hda_intel snd_hda_codec snd_hwdep snd_pcm mceusb(O) rc_core(O) parport_pc psmouse serio_raw snd_seq_midi snd_rawmidi k10temp sp5100_tco snd_seq_midi_event snd_seq i2c_piix4 edac_core edac_mce_amd fglrx(P) snd_timer snd_seq_device mac_hid snd ngene(O) wmi dvb_core(O) soundcore cxd2099(O) snd_page_alloc shpchp lp parport pata_atiixp r8169 firewire_ohci firewire_core crc_itu_t
  Nov  2 15:49:49 Media-PC kernel: [  243.967583]
  Nov  2 15:49:49 Media-PC kernel: [  243.967590] Pid: 1963, comm: lircd Tainted: P           O 3.2.0-55-generic #85-Ubuntu System manufacturer System Product Name/M4A785TD-M EVO
  Nov  2 15:49:49 Media-PC kernel: [  243.967602] RIP: 0010:[<0000000000000000>]  [<          (null)>]           (null)
  Nov  2 15:49:49 Media-PC kernel: [  243.967611] RSP: 0018:ffff880125b5dba0  EFLAGS: 00010246
  Nov  2 15:49:49 Media-PC kernel: [  243.967617] RAX: 0000000000000000 RBX: ffff880124cad000 RCX: 000000000f900000
  Nov  2 15:49:49 Media-PC kernel: [  243.967623] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff880124cad000
  Nov  2 15:49:49 Media-PC kernel: [  243.967628] RBP: ffff880125b5dbc8 R08: 0000000000000000 R09: 0000000000000000
  Nov  2 15:49:49 Media-PC kernel: [  243.967634] R10: ffff88012888df00 R11: 0000000000000005 R12: ffff880124cad2c8
  Nov  2 15:49:49 Media-PC kernel: [  243.967639] R13: 0000000000000000 R14: ffff880106107c00 R15: ffffffffa0507040
  Nov  2 15:49:49 Media-PC kernel: [  243.967647] FS:  00007fba68b1b740(0000) GS:ffff88012fc40000(0000) knlGS:0000000000000000
  Nov  2 15:49:49 Media-PC kernel: [  243.967653] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  Nov  2 15:49:49 Media-PC kernel: [  243.967658] CR2: 0000000000000000 CR3: 00000001284e4000 CR4: 00000000000006e0
  Nov  2 15:49:49 Media-PC kernel: [  243.967664] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  Nov  2 15:49:49 Media-PC kernel: [  243.967670] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
  Nov  2 15:49:49 Media-PC kernel: [  243.967677] Process lircd (pid: 1963, threadinfo ffff880125b5c000, task ffff88012483dc00)
  Nov  2 15:49:49 Media-PC kernel: [  243.967682] Stack:
  Nov  2 15:49:49 Media-PC kernel: [  243.967686]  ffffffffa047a129 ffff880125b5dbc8 00000000fffffff0 ffff88012726b100
  Nov  2 15:49:49 Media-PC kernel: [  243.967698]  ffff880124b6cff8 ffff880125b5dc28 ffffffffa04f336f ffff880125b5dc64
  Nov  2 15:49:49 Media-PC kernel: [  243.967709]  ffffffff8117e060 0000000000000000 000000000f900000 ffff880124ff9001
  Nov  2 15:49:49 Media-PC kernel: [  243.967720] Call Trace:
  Nov  2 15:49:49 Media-PC kernel: [  243.967737]  [<ffffffffa047a129>] ? rc_open+0x69/0x90 [rc_core]
  Nov  2 15:49:49 Media-PC kernel: [  243.967749]  [<ffffffffa04f336f>] lirc_dev_fop_open+0xbf/0x240 [lirc_dev]
  Nov  2 15:49:49 Media-PC kernel: [  243.967762]  [<ffffffff8117e060>] ? mount_fs+0x1b0/0x1b0
  Nov  2 15:49:49 Media-PC kernel: [  243.967773]  [<ffffffff8117eaa9>] chrdev_open+0xd9/0x250
  Nov  2 15:49:49 Media-PC kernel: [  243.967782]  [<ffffffff811781c0>] __dentry_open+0x2b0/0x380
  Nov  2 15:49:49 Media-PC kernel: [  243.967791]  [<ffffffff8117e9d0>] ? cdev_put+0x30/0x30
  Nov  2 15:49:49 Media-PC kernel: [  243.967800]  [<ffffffff8129fe4c>] ? security_inode_permission+0x1c/0x30
  Nov  2 15:49:49 Media-PC kernel: [  243.967810]  [<ffffffff81185f7a>] ? inode_permission+0x4a/0x110
  Nov  2 15:49:49 Media-PC kernel: [  243.967818]  [<ffffffff8117883d>] vfs_open+0x3d/0x40
  Nov  2 15:49:49 Media-PC kernel: [  243.967826]  [<ffffffff81179740>] nameidata_to_filp+0x40/0x50
  Nov  2 15:49:49 Media-PC kernel: [  243.967835]  [<ffffffff811887b8>] do_last+0x3f8/0x730
  Nov  2 15:49:49 Media-PC kernel: [  243.967843]  [<ffffffff81189e91>] path_openat+0xd1/0x3f0
  Nov  2 15:49:49 Media-PC kernel: [  243.967853]  [<ffffffff8118a2d2>] do_filp_open+0x42/0xa0
  Nov  2 15:49:49 Media-PC kernel: [  243.967862]  [<ffffffff8131c751>] ? strncpy_from_user+0x31/0x40
  Nov  2 15:49:49 Media-PC kernel: [  243.967870]  [<ffffffff8118561a>] ? do_getname+0x10a/0x180
  Nov  2 15:49:49 Media-PC kernel: [  243.967880]  [<ffffffff816611ce>] ? _raw_spin_lock+0xe/0x20
  Nov  2 15:49:49 Media-PC kernel: [  243.967889]  [<ffffffff811975f7>] ? alloc_fd+0xf7/0x150
  Nov  2 15:49:49 Media-PC kernel: [  243.967898]  [<ffffffff81179848>] do_sys_open+0xf8/0x240
  Nov  2 15:49:49 Media-PC kernel: [  243.967906]  [<ffffffff811799b0>] sys_open+0x20/0x30
  Nov  2 15:49:49 Media-PC kernel: [  243.967915]  [<ffffffff81669802>] system_call_fastpath+0x16/0x1b
  Nov  2 15:49:49 Media-PC kernel: [  243.967921] Code:  Bad RIP value.
  Nov  2 15:49:49 Media-PC kernel: [  243.967931] RIP  [<          (null)>]           (null)
  Nov  2 15:49:49 Media-PC kernel: [  243.967938]  RSP <ffff880125b5dba0>
  Nov  2 15:49:49 Media-PC kernel: [  243.967942] CR2: 0000000000000000
  Nov  2 15:49:49 Media-PC kernel: [  243.967948] ---[ end trace 09c684bac2ebb775 ]---

  dmesg | grep lirc
  [    2.382802] lirc_dev: IR Remote Control driver registered, major 249
  [    2.388486] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0

  So far I tried:
  Blacklisting my unused imon modules ( in case they conflict, but it makes no difference)
  Trying a whole lot of kernels; 3.5 and 3.8 for 12.04 LTS (linux-image-generic-lts-quantal and raring).

  
  UPDATE!: Still the same problem, even in 3.12.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1247410/+subscriptions


References