[Maverick] lirc_mceusb kernel oops

Bug #617744 reported by syldeb35
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
High
Unassigned

Bug Description

Binary package hint: lirc

while connecting ir receiver, lirc_mceusb module crashes on load:

Aug 14 10:01:54 malouce kernel: [ 178.670071] usb 5-2: new full speed USB device using uhci_hcd and address 2
Aug 14 10:01:54 malouce kernel: [ 178.960067] usb 5-2: reset full speed USB device using uhci_hcd and address 2
Aug 14 10:01:54 malouce kernel: [ 179.118490] BUG: unable to handle kernel NULL pointer dereference at (null)
Aug 14 10:01:54 malouce kernel: [ 179.118505] IP: [<ffffffff8107f11e>] kfifo_alloc+0x2e/0xb0
Aug 14 10:01:54 malouce kernel: [ 179.118520] PGD 1296ea067 PUD 1296eb067 PMD 0
Aug 14 10:01:54 malouce kernel: [ 179.118532] Oops: 0002 [#1] SMP
Aug 14 10:01:54 malouce kernel: [ 179.118539] last sysfs file: /sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/bInterfaceClass
Aug 14 10:01:54 malouce kernel: [ 179.118547] CPU 0
Aug 14 10:01:54 malouce kernel: [ 179.118551] Modules linked in: binfmt_misc rfcomm sco parport_pc ppdev bnep l2cap vboxnetflt vboxdrv lirc_mceusb lirc_dev nvidia(P) tuner_xc2028 joydev snd_hda_codec_realtek arc4 snd_hda_intel snd_hda_codec coretemp btusb bluetooth snd_hwdep snd_pcm snd_seq_midi dvb_usb_dib0700 dib7000p dib0090 dib7000m dib0070 dvb_usb dib8000 snd_rawmidi uvcvideo videodev v4l1_compat snd_seq_midi_event snd_seq dvb_core r852 sm_common nand nand_ids nand_ecc psmouse iwlagn intel_agp snd_timer mtd iwlcore video v4l2_compat_ioctl32 lp mac80211 toshiba_acpi toshiba_bluetooth dib3000mc snd_seq_device serio_raw dibx000_common parport output cfg80211 snd soundcore snd_page_alloc usbhid hid ahci sdhci_pci libahci firewire_ohci firewire_core crc_itu_t sdhci led_class r8169 mii
Aug 14 10:01:54 malouce kernel: [ 179.118688]
Aug 14 10:01:54 malouce kernel: [ 179.118696] Pid: 29, comm: khubd Tainted: P 2.6.35-15-generic #21-Ubuntu Portable PC/Qosmio G50
Aug 14 10:01:54 malouce kernel: [ 179.118703] RIP: 0010:[<ffffffff8107f11e>] [<ffffffff8107f11e>] kfifo_alloc+0x2e/0xb0
Aug 14 10:01:54 malouce kernel: [ 179.118714] RSP: 0018:ffff88013a07b730 EFLAGS: 00010286
Aug 14 10:01:54 malouce kernel: [ 179.118720] RAX: ffff880119a5f400 RBX: 0000000000000000 RCX: ffffffff8107f119
Aug 14 10:01:54 malouce kernel: [ 179.118726] RDX: ffff880119a5c000 RSI: 00000000000000d0 RDI: 0000000000000246
Aug 14 10:01:54 malouce kernel: [ 179.118732] RBP: ffff88013a07b740 R08: 0000000000000000 R09: 0000000000000246
Aug 14 10:01:54 malouce kernel: [ 179.118738] R10: ffff88010b9d3dc0 R11: 0000000000000000 R12: 0000000000000400
Aug 14 10:01:54 malouce kernel: [ 179.118744] R13: ffff88010846fcc0 R14: 0000000040408280 R15: ffff880119a5cc00
Aug 14 10:01:54 malouce kernel: [ 179.118751] FS: 0000000000000000(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000
Aug 14 10:01:54 malouce kernel: [ 179.118758] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Aug 14 10:01:54 malouce kernel: [ 179.118764] CR2: 0000000000000000 CR3: 000000012941f000 CR4: 00000000000006f0
Aug 14 10:01:54 malouce kernel: [ 179.118770] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Aug 14 10:01:54 malouce kernel: [ 179.118776] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Aug 14 10:01:54 malouce kernel: [ 179.118783] Process khubd (pid: 29, threadinfo ffff88013a07a000, task ffff88013a02adc0)
Aug 14 10:01:54 malouce kernel: [ 179.118788] Stack:
Aug 14 10:01:54 malouce kernel: [ 179.118792] ffff880113aea840 ffff880113aea800 ffff88013a07b8a0 ffffffffa017a661
Aug 14 10:01:54 malouce kernel: [ 179.118801] <0> ffff88013a07b80c ffff88010b9d3dc0 ffff88013b644660 0000000000000000
Aug 14 10:01:54 malouce kernel: [ 179.118812] <0> 0000001000000000 ffff88012e3ca800 00000002000000d0 ffff88010846fe40
Aug 14 10:01:54 malouce kernel: [ 179.118824] Call Trace:
Aug 14 10:01:54 malouce kernel: [ 179.118838] [<ffffffffa017a661>] mceusb_dev_probe+0x321/0xa80 [lirc_mceusb]
Aug 14 10:01:54 malouce kernel: [ 179.118853] [<ffffffff813918c2>] ? __pm_runtime_set_status+0x162/0x1b0
Aug 14 10:01:54 malouce kernel: [ 179.118862] [<ffffffff8139165d>] ? pm_runtime_resume+0x3d/0x60
Aug 14 10:01:54 malouce kernel: [ 179.118873] [<ffffffff8140d341>] usb_probe_interface+0x111/0x200
Aug 14 10:01:54 malouce kernel: [ 179.118882] [<ffffffff81389df8>] really_probe+0x68/0x190
Aug 14 10:01:54 malouce kernel: [ 179.118890] [<ffffffff81389f65>] driver_probe_device+0x45/0x70
Aug 14 10:01:54 malouce kernel: [ 179.118897] [<ffffffff8138a030>] ? __device_attach+0x0/0x60
Aug 14 10:01:54 malouce kernel: [ 179.118905] [<ffffffff8138a083>] __device_attach+0x53/0x60
Aug 14 10:01:54 malouce kernel: [ 179.118912] [<ffffffff81388ea8>] bus_for_each_drv+0x68/0x90
Aug 14 10:01:54 malouce kernel: [ 179.118920] [<ffffffff8138a14f>] device_attach+0x8f/0xb0
Aug 14 10:01:54 malouce kernel: [ 179.118930] [<ffffffff81388c5d>] bus_probe_device+0x2d/0x50
Aug 14 10:01:54 malouce kernel: [ 179.118939] [<ffffffff813874d7>] device_add+0x317/0x440
Aug 14 10:01:54 malouce kernel: [ 179.118948] [<ffffffff8140b769>] usb_set_configuration+0x439/0x800
Aug 14 10:01:54 malouce kernel: [ 179.118957] [<ffffffff814160d3>] generic_probe+0x43/0xe0
Aug 14 10:01:54 malouce kernel: [ 179.118967] [<ffffffff811bec63>] ? sysfs_create_link+0x13/0x20
Aug 14 10:01:54 malouce kernel: [ 179.118975] [<ffffffff8140ca20>] usb_probe_device+0x30/0x60
Aug 14 10:01:54 malouce kernel: [ 179.118983] [<ffffffff81389df8>] really_probe+0x68/0x190
Aug 14 10:01:54 malouce kernel: [ 179.118990] [<ffffffff81389f65>] driver_probe_device+0x45/0x70
Aug 14 10:01:54 malouce kernel: [ 179.118998] [<ffffffff8138a030>] ? __device_attach+0x0/0x60
Aug 14 10:01:54 malouce kernel: [ 179.119005] [<ffffffff8138a083>] __device_attach+0x53/0x60
Aug 14 10:01:54 malouce kernel: [ 179.119013] [<ffffffff81388ea8>] bus_for_each_drv+0x68/0x90
Aug 14 10:01:54 malouce kernel: [ 179.119020] [<ffffffff8138a14f>] device_attach+0x8f/0xb0
Aug 14 10:01:54 malouce kernel: [ 179.119029] [<ffffffff81388c5d>] bus_probe_device+0x2d/0x50
Aug 14 10:01:54 malouce kernel: [ 179.119037] [<ffffffff813874d7>] device_add+0x317/0x440
Aug 14 10:01:54 malouce kernel: [ 179.119045] [<ffffffff81402bfd>] usb_new_device+0x8d/0x130
Aug 14 10:01:54 malouce kernel: [ 179.119053] [<ffffffff81403900>] hub_port_connect_change+0x560/0xa10
Aug 14 10:01:54 malouce kernel: [ 179.119062] [<ffffffff81404f22>] hub_events+0x332/0x580
Aug 14 10:01:54 malouce kernel: [ 179.119072] [<ffffffff815864cf>] ? schedule+0x3df/0x830
Aug 14 10:01:54 malouce kernel: [ 179.119080] [<ffffffff814051c5>] hub_thread+0x55/0x190
Aug 14 10:01:54 malouce kernel: [ 179.119088] [<ffffffff8107e490>] ? autoremove_wake_function+0x0/0x40
Aug 14 10:01:54 malouce kernel: [ 179.119095] [<ffffffff81405170>] ? hub_thread+0x0/0x190
Aug 14 10:01:54 malouce kernel: [ 179.119103] [<ffffffff8107df36>] kthread+0x96/0xa0
Aug 14 10:01:54 malouce kernel: [ 179.119112] [<ffffffff8100aee4>] kernel_thread_helper+0x4/0x10
Aug 14 10:01:54 malouce kernel: [ 179.119120] [<ffffffff8107dea0>] ? kthread+0x0/0xa0
Aug 14 10:01:54 malouce kernel: [ 179.119127] [<ffffffff8100aee0>] ? kernel_thread_helper+0x0/0x10
Aug 14 10:01:54 malouce kernel: [ 179.119132] Code: e5 41 54 53 0f 1f 44 00 00 48 89 fb 89 f7 41 89 f4 48 85 ff 48 8d 47 ff 74 33 48 85 f8 75 2e 89 d6 e8 17 34 0c 00 48 85 c0 74 52 <48> 89 03 44 89 63 08 31 c0 c7 43 10 00 00 00 00 c7 43 0c 00 00
Aug 14 10:01:54 malouce kernel: [ 179.119219] RIP [<ffffffff8107f11e>] kfifo_alloc+0x2e/0xb0
Aug 14 10:01:54 malouce kernel: [ 179.119227] RSP <ffff88013a07b730>
Aug 14 10:01:54 malouce kernel: [ 179.119231] CR2: 0000000000000000
Aug 14 10:01:54 malouce kernel: [ 179.119238] ---[ end trace 64e31f86743b8d5a ]---

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: lirc 0.8.6-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-15.21-generic 2.6.35.1
Uname: Linux 2.6.35-15-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Aug 14 10:02:43 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100720)
ProcEnviron:
 LANG=fr_FR.utf8
 SHELL=/bin/bash
SourcePackage: lirc

Revision history for this message
syldeb35 (sylvain-debray) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to improve Ubuntu and lirc support by opening this ticket. I believe kernel oops belong in the kernel project, so I'm forwarding it there.

Unknown impact at this point, so this may need to be lowered to medium importantance, but I see a potential for this to be a widespread problem - hence the "high" for now.

affects: lirc (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → High
status: New → Triaged
tags: added: regression-potential
Revision history for this message
Fudgie (mr-fudgie) wrote :

I get the same oops, and the 'modprobe lirc_mceusb' command just hangs until I reboot.

Revision history for this message
ranjo (ranjo-jjxl) wrote :

It seems that this is fixed in cvs of lirc:
http://web.archiveorange.com/archive/v/Xn95HlF06zBcURLX44X4

For me, lirc_atiusb gives the same error

Revision history for this message
Brezhonneg (fricompte) wrote :

I get a kernel oops with lirc_mceusb as well as soon as the receiver receives the first IR signal. The oops is not logged anywhere and the system becomes completely unresponsive after the OOPS. I cannot SSH into the system either, forcing me to hard reset the machine.

uname -a
Linux mediabox 2.6.35-15-server #21-Ubuntu SMP Wed Aug 11 18:23:50 UTC 2010 x86_64 GNU/Linux

Note that I have no lirc package installed on this system, so this is indeed entirely a kernel problem.

'modprobe lirc_mceusb' seems to be working just fine for me:

Aug 19 15:48:49 mediabox kernel: [ 2301.293256] lirc_dev: IR Remote Control driver registered, major 61
Aug 19 15:48:49 mediabox kernel: [ 2301.296365] lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
Aug 19 15:48:49 mediabox kernel: [ 2301.296369] lirc_mceusb: Daniel Melander <email address hidden>, Martin Blatter <email address hidden>, Dan Conti <email address hidden>
Aug 19 15:48:49 mediabox kernel: [ 2301.296411] usbcore: registered new interface driver lirc_mceusb

Revision history for this message
Brezhonneg (fricompte) wrote :
Download full text (7.2 KiB)

Today's update (kernel and liblircclient0) did not help.

Here is some more info:

1/ Once the machine is booted, pluging in the USB receiver gives these kernel messages:
Aug 20 08:59:07 mediabox kernel: [ 239.720022] usb 4-1: new full speed USB device using ohci_hcd and address 2
Aug 20 08:59:08 mediabox kernel: [ 240.005357] lirc_dev: IR Remote Control driver registered, major 61
Aug 20 08:59:08 mediabox kernel: [ 240.008696] lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90
Aug 20 08:59:08 mediabox kernel: [ 240.008701] lirc_mceusb: Daniel Melander <email address hidden>, Martin Blatter <email address hidden>, Dan Conti <email address hidden>
Aug 20 08:59:08 mediabox kernel: [ 240.190025] usb 4-1: reset full speed USB device using ohci_hcd and address 2
Aug 20 08:59:08 mediabox kernel: [ 240.410275] lirc_dev: lirc_register_driver: sample_rate: 0
Aug 20 08:59:08 mediabox kernel: [ 240.416263] lirc_mceusb[2]: Pinnacle Systems PCTV Remote USB on usb4:2
Aug 20 08:59:08 mediabox kernel: [ 240.419260] lirc_mceusb[2]: usb reset config ret 0
Aug 20 08:59:08 mediabox kernel: [ 240.419306] usbcore: registered new interface driver lirc_mceusb

2/ Sending an IR signal to the receiver with the remote gets me a OOPS from which the system does not recover. See picture attached.

3/ Once rebooted via a hard reset, unplugging the receiver gives the following kernel error message:
Aug 20 09:03:59 mediabox kernel: [ 21.035348] usb 4-1: USB disconnect, address 2
Aug 20 09:03:59 mediabox kernel: [ 21.036185] lirc_mceusb[2]: usb remote disconnected
Aug 20 09:03:59 mediabox kernel: [ 21.036201] general protection fault: 0000 [#1] SMP
Aug 20 09:03:59 mediabox kernel: [ 21.036348] last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/0000:03:00.0/irq
Aug 20 09:03:59 mediabox kernel: [ 21.036551] CPU 1
Aug 20 09:03:59 mediabox kernel: [ 21.036604] Modules linked in: cryptd aes_x86_64 aes_generic binfmt_misc snd_hda_codec_nvhdmi ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT ipt_LOG nf_conntrack_ipv4 nf_defrag_ipv4 xt_tcpudp xt_conntrack nf_conntrack iptable_filter snd_hda_codec_realtek ip_tables x_tables nvidia(P) arc4 ath9k snd_hda_intel ath9k_common snd_hda_codec ath9k_hw snd_hwdep snd_pcm snd_seq_midi ath snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd mac80211 cfg80211 soundcore snd_page_alloc video psmouse lirc_mceusb shpchp output k8temp edac_core edac_mce_amd led_class i2c_nforce2 serio_raw lirc_dev usbhid hid b44 ssb mii firewire_ohci firewire_core ahci libahci crc_itu_t forcedeth
Aug 20 09:03:59 mediabox kernel: [ 21.038451]
Aug 20 09:03:59 mediabox kernel: [ 21.038491] Pid: 29, comm: khubd Tainted: P 2.6.35-16-server #22-Ubuntu K9N2GM-FIH(MS-7508)/MS-7508
Aug 20 09:03:59 mediabox kernel: [ 21.038758] RIP: 0010:[<ffffffff811405ec>] [<ffffffff811405ec>] kfree+0x5c/0x130
Aug 20 09:03:59 mediabox kernel: [ 21.038964] RSP: 0018:ffff88021662dad0 EFLAGS: 00010206
Aug 20 09:03:59 mediabox kernel: [ 21.039104] RAX: 00706e82f7000000 RBX: 201f1b2200000060 RCX: 000000000003ffff
Aug 20 09:03:59 mediabox kernel: [ 21.039293] RDX: 00100fc991000000 RSI: 00705882f7000000 RDI: 20...

Read more...

tags: removed: regression-potential
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.