mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #06646
[Bug 953567] Re: lircd-0.9.0 reports USB disconnect followed by kernel Oops
I believe the root cause of this kernel oops is for the exact same
reason as what happens when you manually unplug the mceusb device... I'm
able to reproduce nearly the exact same code output from manually
unplugging the device as what you have hapen when you suspend the
computer. Either way, it should not matter whether or not you manually
unplug the mceusb device, or have the system suspend or resume. Neither
of these actions should cause a kernel Oops.
Also, just for a reference, Here's a sample oops log for when you manually unplug the mceusb device.
==================================================================
[10277.604190] usb 2-3.2: USB disconnect, device number 6
[10277.615669] BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
[10277.615684] IP: [<ffffffffa04ec6f7>] show_protocols+0x107/0x150 [rc_core]
[10277.615703] PGD 9aa40067 PUD 9aa41067 PMD 0
[10277.615714] Oops: 0000 [#1] SMP
[10277.615721] CPU 1
[10277.615725] Modules linked in: rc_rc6_mce mceusb hidp bnep rfcomm speedstep_lib parport_pc ppdev binfmt_misc vesafb snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel ir_lirc_codec lirc_dev mt2131 ir_sony_decoder snd_hda_codec ir_jvc_decoder ir_rc6_decoder s5h1409 snd_hwdep ir_rc5_decoder snd_pcm ir_nec_decoder snd_seq_midi cx23885 rc_core altera_stapl(C) cx2341x videobuf_dma_sg videobuf_dvb videobuf_core v4l2_common videodev snd_rawmidi snd_seq_midi_event joydev usbhid hid snd_seq fglrx(P) snd_timer snd_seq_device v4l2_compat_ioctl32 altera_ci btusb dvb_core snd edac_core edac_mce_amd bluetooth btcx_risc k10temp soundcore sp5100_tco i2c_piix4 serio_raw snd_page_alloc tveeprom wmi lp parport usb_storage firewire_ohci uas r8169 firewire_core crc_itu_t pata_atiixp ahci libahci
[10277.615833]
[10277.615840] Pid: 3993, comm: cat Tainted: P C 3.0.0-17-generic #30-Ubuntu Gigabyte Technology Co., Ltd. GA-MA790XT-UD4P/GA-MA790XT-UD4P
[10277.615852] RIP: 0010:[<ffffffffa04ec6f7>] [<ffffffffa04ec6f7>] show_protocols+0x107/0x150 [rc_core]
[10277.615867] RSP: 0018:ffff8800408c5e08 EFLAGS: 00010202
[10277.615872] RAX: 0000000000000000 RBX: ffff8801288fe800 RCX: 0000000000000001
[10277.615878] RDX: ffff8800408c5fd8 RSI: ffffffffa04f0180 RDI: ffff8801288feac0
[10277.615883] RBP: ffff8800408c5e48 R08: 0000000000000000 R09: 00000000000061cc
[10277.615889] R10: 0000000000000002 R11: 0000000000000246 R12: ffff88009aa48000
[10277.615894] R13: ffff8801288feac0 R14: ffff8801288fe810 R15: ffff8800af1c76c0
[10277.615902] FS: 00007fbb5eea7720(0000) GS:ffff88012fc40000(0000) knlGS:0000000000000000
[10277.615908] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[10277.615913] CR2: 0000000000000050 CR3: 000000009aa43000 CR4: 00000000000006e0
[10277.615918] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[10277.615924] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[10277.615930] Process cat (pid: 3993, threadinfo ffff8800408c4000, task ffff88011ce0dc80)
[10277.615935] Stack:
[10277.615938] 0000000000000000 ffffffff81c36240 0000000000000000 ffffffffa04f0180
[10277.615947] ffff880041e48050 ffffffff81851080 ffff8801288fe810 ffff8800af1c76c0
[10277.615957] ffff8800408c5e78 ffffffff813cd930 ffff8800408c5e68 ffffffff8110f02e
[10277.615966] Call Trace:
[10277.615978] [<ffffffff813cd930>] dev_attr_show+0x20/0x60
[10277.615988] [<ffffffff8110f02e>] ? __get_free_pages+0xe/0x50
[10277.616003] [<ffffffff811d8c16>] fill_read_buffer.isra.7+0x66/0xf0
[10277.616012] [<ffffffff811d8d44>] sysfs_read_file+0xa4/0xc0
[10277.616022] [<ffffffff811688b0>] vfs_read+0xb0/0x180
[10277.616030] [<ffffffff811689ca>] sys_read+0x4a/0x90
[10277.616039] [<ffffffff815fb342>] system_call_fastpath+0x16/0x1b
[10277.616044] Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 0f 1f 84 00 00 00 00 00 49 8b 57 08 48 c7 c6 16 f4 4e a0 eb a1 0f 1f 00 48 8b 83 e8 02 00 00 <4c> 8b 70 50 e8 a0 1a 00 00 48 89 c3 e9 38 ff ff ff 48 c7 c0 ea
[10277.616109] RIP [<ffffffffa04ec6f7>] show_protocols+0x107/0x150 [rc_core]
[10277.616120] RSP <ffff8800408c5e08>
[10277.616124] CR2: 0000000000000050
[10277.616165] ---[ end trace 902226f6c5c3bc4b ]---
[10360.430763] usbcore: deregistering interface driver mceusb
--
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/953567
Title:
lircd-0.9.0 reports USB disconnect followed by kernel Oops
Status in “lirc” package in Ubuntu:
New
Bug description:
Hi,
I had the following kernel Oops today, apparently related to lirc. I
found some other bug reports stating that suspending the system can
causes problems. However, the system was on the whole time, the remote
was not in use and it was not manually unplugged.
Ubuntu 11.10
lirc 0.9.0-0ubuntu1
kernel: linux-image-3.0.0-16-server 3.0.0-16.29
Model of USB infrared receiver:
I: Bus=0003 Vendor=1934 Product=5168 Version=0001
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)"
P: Phys=usb-0000:00:1a.0-1.5
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/rc/rc0/input3
U: Uniq=
H: Handlers=kbd event3
B: PROP=0
B: EV=100013
B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200000001 9e968000000000 10000000
B: MSC=10
syslog:
Mar 12 18:55:00 mdVMHost01 lircd-0.9.0[862]: error reading from /dev/lirc0 (ret -1, expected 4)
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.384282] usb 1-1.5: USB disconnect, device number 4
Mar 12 18:55:00 mdVMHost01 lircd-0.9.0[862]: No such device
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.401242] BUG: unable to handle kernel NULL pointer dereference at 0000000000000050
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.402147] IP: [<ffffffffa015a6f7>] show_protocols+0x107/0x150 [rc_core]
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.403058] PGD 39af08067 PUD 3872ea067 PMD 0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.403973] Oops: 0000 [#1] SMP
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.404887] CPU 0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.404900] Modules linked in: btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs reiserfs udf crc_itu_t ip6table_filter ip6_tables ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables tda18271 s5h1411 kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek bridge stp ir_lirc_codec lirc_dev ir_sony_decoder saa7164 ir_jvc_decoder ir_rc6_decoder rc_rc6_mce ir_rc5_decoder mxm_wmi dvb_core ir_nec_decoder v4l2_common videodev i915 mceusb snd_hda_intel v4l2_compat_ioctl32 rc_core snd_hda_codec tveeprom drm_kms_helper snd_hwdep drm snd_pcm snd_timer wmi snd soundcore i2c_algo_bit mei(C) snd_page_alloc video lp parport raid456 async_pq async_xor xor async_memcpy async_raid6_recov usb_storage uas raid10 usbhid hid raid6_pq async_tx raid1 raid0 xhci_hcd e1000e r8169 multipath linear
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.413870]
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.415095] Pid: 4755, comm: cat Tainted: G C 3.0.0-16-server #28-Ubuntu Gigabyte Technology Co., Ltd. Z68A-D3H-B3/Z
68A-D3H-B3
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.417718] RIP: 0010:[<ffffffffa015a6f7>] [<ffffffffa015a6f7>] show_protocols+0x107/0x150 [rc_core]
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.419110] RSP: 0018:ffff880026e11e08 EFLAGS: 00010202
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.420502] RAX: 0000000000000000 RBX: ffff8803e4d33000 RCX: 0000000000000001
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.421915] RDX: ffff8801eef28000 RSI: ffffffffa015e180 RDI: ffff8803e4d332c0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.423341] RBP: ffff880026e11e48 R08: 0000000000000000 R09: 0000000000004fb8
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.424789] R10: 0000000000000002 R11: 0000000000000246 R12: ffff8801eef28000
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.426246] R13: ffff8803e4d332c0 R14: ffff8803e4d33010 R15: ffff8803dc218b40
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.427731] FS: 00007fec41411720(0000) GS:ffff8803ffc00000(0000) knlGS:0000000000000000
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.429248] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.430765] CR2: 0000000000000050 CR3: 00000003da8ec000 CR4: 00000000000426e0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.432306] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.433848] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.435378] Process cat (pid: 4755, threadinfo ffff880026e10000, task ffff8803b2240000)
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.436925] Stack:
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.438449] 0000000000000000 ffffffff81c36240 0000000000000000 ffffffffa015e180
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.440025] ffff8803e84b9cd0 ffffffff81851060 ffff8803e4d33010 ffff8803dc218b40
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.441616] ffff880026e11e78 ffffffff813cd2b0 ffff880026e11e68 ffffffff8110e3de
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.443220] Call Trace:
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.444810] [<ffffffff813cd2b0>] dev_attr_show+0x20/0x60
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.446410] [<ffffffff8110e3de>] ? __get_free_pages+0xe/0x50
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.448013] [<ffffffff811d7b06>] fill_read_buffer.isra.7+0x66/0xf0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.449609] [<ffffffff811d7c34>] sysfs_read_file+0xa4/0xc0
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.451180] [<ffffffff811683d0>] vfs_read+0xb0/0x180
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.452718] [<ffffffff811684ea>] sys_read+0x4a/0x90
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.454237] [<ffffffff8160f482>] system_call_fastpath+0x16/0x1b
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.455761] Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 66 0f 1f 84 00 00 00 00 00 49 8b 57 08 48 c7 c6 16 d4 15 a0 eb a1 0f 1f 00
48 8b 83 e8 02 00 00 <4c> 8b 70 50 e8 a0 1a 00 00 48 89 c3 e9 38 ff ff ff 48 c7 c0 ea
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.459140] RIP [<ffffffffa015a6f7>] show_protocols+0x107/0x150 [rc_core]
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.460796] RSP <ffff880026e11e08>
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.462425] CR2: 0000000000000050
Mar 12 18:55:00 mdVMHost01 kernel: [1728244.946791] ---[ end trace 6fbfb6cd1b58474f ]---
Mar 12 18:55:00 mdVMHost01 lircd-0.9.0[862]: caught signal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/953567/+subscriptions
References