You are not logged in.

#1 2007-09-21 14:38:07

aficionado
Member
Registered: 2005-06-11
Posts: 14

lirc_i2c broken in 2.6.22?

Hi,

I have a media center machine setup with lirc which I recently upgraded to the 2.6.22 kernel.  After the upgrade the system stopped booting because lirc_i2c would not load and it would also prevent other critical modules from loading.  After removing lirc_i2c from rc.conf I was able to boot.  Once I was in Arch I modprobe'd lirc_i2c and the machine stopped responding to everything.  I don't have the actual output in front of me but it was related to some mutex call.  Has anyone else seen this issue?  If so, any solutions?  hmm

Thanks

Last edited by aficionado (2007-09-21 16:28:04)

Offline

#2 2007-09-23 06:17:50

nesl247
Member
Registered: 2006-05-30
Posts: 191
Website

Re: lirc_i2c broken in 2.6.22?

I've had the same issue. This is what I'd get:

lirc_dev: IR Remote Control driver registered, at major 61 
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
cx2388x v4l2 driver version 0.0.6 loaded
lirc_i2c: chip found @ 0x71 (Hauppauge IR (PVR150))
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000009
 printing eip:
c0353fed
*pde = 00000000
Oops: 0002 [#1]
PREEMPT SMP 
Modules linked in: cx8800 cx88xx bttv video_buf ir_common compat_ioctl32 btcx_risc lirc_i2c lirc_dev ivtv i2c_algo_bit cx2341x tveeprom videodev v4l1_compat nvidia(P) ipv6 agpgart capability commoncap nls_cp437 vfat fat ext2 mbcache wm8775 cx25840 tuner ppdev lp joydev v4l2_common k8temp parport_pc parport psmouse firewire_ohci usbhid hid ff_memless rtc_cmos rtc_core rtc_lib serio_raw firewire_core crc_itu_t ohci1394 ieee1394 ppp_generic sg tsdev i2c_nforce2 i2c_core evdev thermal processor fan button battery ac fuse snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_intel snd_hwdep snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd soundcore slhc forcedeth reiserfs sd_mod sr_mod cdrom ehci_hcd ohci_hcd usbcore sata_nv ata_generic pata_amd libata
CPU:    0
EIP:    0060:[<c0353fed>]    Tainted: P       VLI
EFLAGS: 00210086   (2.6.22-ARCH #1)
EIP is at __mutex_lock_slowpath+0x8d/0x2c0
eax: 00000009   ebx: f7490069   ecx: ea3e5bd0   edx: f7490075
esi: 00200246   edi: ea3e4000   ebp: d9996550   esp: ea3e5bbc
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process modprobe (pid: 17706, ti=ea3e4000 task=d9996550 task.ti=ea3e4000)
Stack: 00000008 f91ab112 ea3e5bd2 00200246 f7490075 f7490075 00000009 11111111 
       f7490069 ea3e5bd0 f6aba060 f6aba060 f7490029 fffffff0 f901dfa9 00000001 
       f749ede0 00200246 f6aba060 f91520ec f6aba07a f7490069 f6aba060 f91520ec 
Call Trace:
 [<f91ab112>] ivtv_xfer+0xf2/0x3b0 [ivtv]
 [<f901dfa9>] i2c_attach_client+0x29/0x1b0 [i2c_core]
 [<f91511af>] ir_attach+0x13f/0x2b0 [lirc_i2c]
 [<f91516e7>] ir_probe+0xe7/0x310 [lirc_i2c]
 [<c015f58c>] get_page_from_freelist+0x2bc/0x3a0
 [<f901e855>] i2c_register_driver+0xd5/0x120 [i2c_core]
 [<f91515f2>] init_module+0x42/0x50 [lirc_i2c]
 [<c014dcd6>] sys_init_module+0x126/0x1990
 [<c016bb03>] vma_link+0xb3/0x100
 [<f917e000>] btcx_screen_clips+0x0/0x100 [btcx_risc]
 [<c016c8ed>] do_mmap_pgoff+0x52d/0x7a0
 [<c010433e>] sysenter_past_esp+0x6b/0xa1
 =======================
Code: d8 8d 54 24 14 e8 14 46 df ff 8d 53 0c 89 54 24 10 8b 42 04 89 e7 8d 4c 24 14 81 e7 00 e0 ff ff 89 4a 04 89 54 24 14 89 44 24 18 <89> 08 89 6c 24 1c eb 67 c7 45 00 02 00 00 00 b8 01 00 00 00 86 
EIP: [<c0353fed>] __mutex_lock_slowpath+0x8d/0x2c0 SS:ESP 0068:ea3e5bbc

That's from dmesg.

Edit: Found a patch, gotta test it still: http://www.thexpower.org/lirc-0.8.2-kernel-2.6.22.patch

Last edited by nesl247 (2007-09-23 06:38:50)

Offline

#3 2007-09-23 23:25:11

aficionado
Member
Registered: 2005-06-11
Posts: 14

Re: lirc_i2c broken in 2.6.22?

Ok, I am going to try this out in the next few days.  Thanks!

Offline

Board footer

Powered by FluxBB