You are not logged in.

#1 2010-12-02 20:30:51

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

lirc_atiusb module for current kernels (xbox remote)

A recent update caused kernel panics with 2.6.36:

BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffffa24ff401>] free_irctl+0x31/0x220 [lirc_atiusb]
PGD 6bcd7067 PUD 6c102067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP 
last sysfs file: /sys/module/usbcore/initstate
CPU 3 
Modules linked in: lirc_atiusb(+) lirc_dev snd_hda_codec_nvhdmi snd_hda_codec_realtek usb_storage ohci_hcd snd_hda_intel ehci_hcd snd_hda_codec snd_hwdep snd_pcm atl1c wmi snd_timer usbcore sg psmouse processor snd thermal evdev button i2c_nforce2 serio_raw shpchp soundcore pci_hotplug snd_page_alloc i2c_core ext4 mbcache jbd2 crc16 dm_mod sd_mod ahci libahci libata scsi_mod

Pid: 1246, comm: modprobe Tainted: P            2.6.36-ARCH #1 To be filled by O.E.M./nT-330i
RIP: 0010:[<ffffffffa24ff401>]  [<ffffffffa24ff401>] free_irctl+0x31/0x220 [lirc_atiusb]
RSP: 0018:ffff88003792dc88  EFLAGS: 00010203
RAX: 00000000ffffffea RBX: ffff88006b8bc900 RCX: 0000000000000001
RDX: 0000000000000004 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffff88003792dca8 R08: 00000000000000c0 R09: 0000000000000000
R10: ffff88006bc0a420 R11: 0000000000000000 R12: ffff88006b8bcc00
R13: 0000000000000004 R14: ffff88006b8bc920 R15: ffff880037898800
FS:  00007f85f2bc3700(0000) GS:ffff880001b80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000037b72000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process modprobe (pid: 1246, threadinfo ffff88003792c000, task ffff88006bc1be70)
Stack:
 ffff88006b8bc900 ffff88006b8bcc00 ffff88006de40bc8 ffff88006b8bc900
<0> ffff88003792dd58 ffffffffa2500544 ffff8800660703c0 0000000000000001
<0> ffff88003792dce8 ffff880066064730 ffff880000000004 ffff880037898a10
Call Trace:
 [<ffffffffa2500544>] usb_remote_probe+0x894/0xcf0 [lirc_atiusb]
 [<ffffffffa025d159>] usb_probe_interface+0x109/0x200 [usbcore]
 [<ffffffff812a4d96>] driver_probe_device+0x96/0x1c0
 [<ffffffff812a4f5b>] __driver_attach+0x9b/0xa0
 [<ffffffff812a4ec0>] ? __driver_attach+0x0/0xa0
 [<ffffffff812a3cfe>] bus_for_each_dev+0x5e/0x90
 [<ffffffff812a4a39>] driver_attach+0x19/0x20
 [<ffffffff812a4557>] bus_add_driver+0xc7/0x2e0
 [<ffffffff812a51d1>] driver_register+0x71/0x140
 [<ffffffff8139251f>] ? printk+0x3c/0x45
 [<ffffffffa025bed8>] usb_register_driver+0xb8/0x170 [usbcore]
 [<ffffffffa2505000>] ? usb_remote_init+0x0/0x9d [lirc_atiusb]
 [<ffffffffa2505082>] usb_remote_init+0x82/0x9d [lirc_atiusb]
 [<ffffffff8100212f>] do_one_initcall+0x3f/0x180
 [<ffffffff8109111b>] sys_init_module+0xbb/0x200
 [<ffffffff8100af42>] system_call_fastpath+0x16/0x1b
Code: 00 00 48 89 e5 41 56 45 85 c9 41 55 41 89 f5 41 54 53 48 89 fb 0f 85 cf 01 00 00 48 85 db 74 77 48 8b 7b 20 4c 8d 73 20 4c 39 f7 <4c> 8b 27 75 10 eb 21 0f 1f 84 00 00 00 00 00 4c 89 e7 49 89 c4 
RIP  [<ffffffffa24ff401>] free_irctl+0x31/0x220 [lirc_atiusb]
 RSP <ffff88003792dc88>
CR2: 0000000000000000
---[ end trace 1857a7019d0ad498 ]---

Searching the forums I found out that this was caused by outdated modules in the lirc package, so I removed it as proposed.

The question is now how to get my Xbox remote working again, which used to work with the lirc_atiusb module, which is not provided by kernel26 smile

Last edited by lynix (2010-12-02 20:31:21)

Offline

#2 2010-12-07 09:51:20

adr3nal1n
Member
Registered: 2010-09-23
Posts: 60

Re: lirc_atiusb module for current kernels (xbox remote)

Same issue here. Am delaying upgrading beyond kernel 2.6.35 until there is a fix or workaround for using the old xbox IR receiver with 2.6.36 -> as I can't be without the trusty old xbox remote and XBMC. :-)

Offline

#3 2010-12-07 10:20:08

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: lirc_atiusb module for current kernels (xbox remote)

Same Problem here, I opened a bug report a while ago
https://bugs.archlinux.org/task/21837

I was able to build lirc-0.8.6 (lirc_atiusb modlue only) with kernel-2.6.36, but with the same error.
If the reciever is plugged in the lirc_atiusb module crashes.
https://bbs.archlinux.org/viewtopic.php?id=109662

Last edited by SiD (2010-12-07 10:20:36)

Offline

#4 2011-02-19 19:46:59

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: lirc_atiusb module for current kernels (xbox remote)

*bump*, any news about this issues? smile

I'd love end the update-embargo, and go beyond 2.6.36 with working remote ^^
Any tests with 2.6.37?

Offline

#5 2011-02-25 21:30:40

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: lirc_atiusb module for current kernels (xbox remote)

Well, spent another four hours googling this topic, reading http://wilsonet.com/?page_id=20, finally updating the system and trying every combination of drivers, modules and config parameters I could imagine.

Unfortunately, there really seems to be no working method for the xbox remote in combination with the new lirc infrastructure: the lirc_atiusb-module is incompatible and ati_remote does not support the dongle. fail. sad

Last edited by lynix (2011-02-25 21:31:35)

Offline

#6 2011-03-03 02:08:02

eirik
Member
From: Oslo, Norway
Registered: 2009-01-22
Posts: 51

Re: lirc_atiusb module for current kernels (xbox remote)

I'm glad I finally found this thread after a few hours of trying to get the remote working again, downgrading the kernel and lirc got me back in the game. Being unable to code at all, I'll just be crossing my fingers for the future.


Arch Linux x86_64 · xbmc-svn all night

Offline

#7 2011-07-16 15:12:39

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: lirc_atiusb module for current kernels (xbox remote)

There is a patch for the lirc-git version, Have a look at  the bugtracker for how to apply it.
https://bugs.archlinux.org/task/21837#comment80054

--> my xbox remote is working again smile

Offline

Board footer

Powered by FluxBB