From: chris g. <gu...@be...> - 2004-02-04 01:57:42
|
On 02 Feb 2004 10:20:00 +0100, Christoph Bartelmus <li...@ba...> wrote: >> I am trying to get my Pixelview PlayTV Pro remote working in Mandrake > [...] >> this card/remote, and modprobed lirc_gpio. Since I am using Mandrake >> 9.2 I >> have added the symlink from /tmp/.lircd to /dev/lirc/0. > > This link is wrong. I uninstalled the RPM for lirc. I got the source from CVS and setup/compiled it. now ls -al /dev/lirc* gives me crw-r--r-- 1 root root 61, 0 Feb 2 12:53 /dev/lirc srw-rw-rw- 1 root root 0 Feb 2 11:39 /dev/lircd= However, if I reboot something (devfs?) is removing /dev/lirc and replacing it with /dev/lirc/0 thus: ls -l /dev/lirc* srw-rw-rw- 1 root root 0 Feb 3 20:02 /dev/lircd= /dev/lirc: total 0 crw------- 1 root root 61, 0 Dec 31 1969 0 >> /var/log/messages I see that right before the kernel oops, lircd adds: > >> Feb 1 12:30:51 moontv lircd 0.6.6[19715]: accepted new client on >> /tmp/.lircd >> Feb 1 12:30:51 moontv lircd 0.6.6[19715]: could not reset tty > > Your lircd expects /dev/lirc to be a tty. It is not configured properly > for your TV card. > > Give me a note if the kernel oops still happens with the current CVS > version. Before rebooting (while /dev/lirc was *still* a tty), I started lircd, then ran irw. This time, irw did not exit immediately; however, it did nothing when I pointed the remote directly at the receiver and pressed random buttons. I used ^C to exit and examined the logs. It appears that the kernel oops still occurs, though lircd doesn't report any strange errors. /var/log/lircd: Feb 3 18:45:27 moontv.sqrville.org lircd 0.7.0pre1: lircd(pixelview_pro) ready Feb 3 18:45:36 moontv.sqrville.org lircd 0.7.0pre1: accepted new client on /dev/lircd Feb 3 18:45:43 moontv.sqrville.org lircd 0.7.0pre1: removed client /var/log/messages: Feb 3 18:45:26 moontv devfsd[91]: error calling: "unlink" in "GLOBAL" Feb 3 18:45:43 moontv kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000 Feb 3 18:45:43 moontv kernel: printing eip: Feb 3 18:45:43 moontv kernel: 00000000 Feb 3 18:45:43 moontv kernel: *pde = 00000000 Feb 3 18:45:43 moontv kernel: Oops: 0000 Feb 3 18:45:43 moontv kernel: lirc_gpio lirc_dev sr_mod lp parport agpgart nvidia nls_cp437 nls_iso8859-1 smbfs af_packet natsemi usbmouse supermount ide-cd cdrom tuner tvaudio bttv btaudio es1371 ac97_codec gameport keybdev mousedev hid i2c-algo-bit soundcore i2c-core videode v input ide-scsi scsi_mod usb-ohci usbcore rtc ext3 jbd Feb 3 18:45:43 moontv kernel: CPU: 0 Feb 3 18:45:43 moontv kernel: EIP: 0010:[<00000000>] Tainted: P Feb 3 18:45:43 moontv kernel: EFLAGS: 00010246 Feb 3 18:45:43 moontv kernel: eax: d0a022f0 ebx: d0a00520 ecx: d0a00520 edx: 00000000 Feb 3 18:45:43 moontv kernel: esi: d0a005c0 edi: c54284a0 ebp: c8a03f64 esp: c8a03f54 Feb 3 18:45:43 moontv kernel: ds: 0018 es: 0018 ss: 0018 Feb 3 18:45:43 moontv kernel: Process lircd (pid: 13670, stackpage=c8a03000) Feb 3 18:45:43 moontv kernel: Stack: d09fe996 d0a022f0 cd0a8f20 c12cf320 c8a03f84 c02027a5 c54284a0 cd0a8f20 Feb 3 18:45:43 moontv kernel: c2be3be0 cd0a8f20 c5131600 00000000 c8a03fa8 c02010e8 cd0a8f20 c5131600 Feb 3 18:45:43 moontv kernel: cd0a8f20 c5131600 cd0a8f20 08058d00 00000001 c8a03fbc c0201155 cd0a8f20 Feb 3 18:45:43 moontv kernel: Call Trace: Feb 3 18:45:43 moontv kernel: [af_packet:__insmod_af_packet_O/lib/modules/2.4.22-26mdk/kernel/net/pa+-2229866/96] irctl_close+0x56/0xa0 [ lirc_dev] Feb 3 18:45:43 moontv kernel: [<d09fe996>] irctl_close+0x56/0xa0 [lirc_dev] Feb 3 18:45:43 moontv kernel: [af_packet:__insmod_af_packet_O/lib/modules/2.4.22-26mdk/kernel/net/pa+-2215184/96] get_key+0x0/0x150 [lirc _gpio] Feb 3 18:45:43 moontv kernel: [<d0a022f0>] get_key+0x0/0x150 [lirc_gpio] Feb 3 18:45:43 moontv kernel: [fput+245/256] fput+0xf5/0x100 [kernel] Feb 3 18:45:43 moontv kernel: [<c02027a5>] fput+0xf5/0x100 [kernel] Feb 3 18:45:43 moontv kernel: [filp_close+56/96] filp_close+0x38/0x60 [kernel] Feb 3 18:45:43 moontv kernel: [<c02010e8>] filp_close+0x38/0x60 [kernel] Feb 3 18:45:43 moontv kernel: [sys_close+69/96] sys_close+0x45/0x60 [kernel] Feb 3 18:45:43 moontv kernel: [<c0201155>] sys_close+0x45/0x60 [kernel] Feb 3 18:45:43 moontv kernel: [system_call+51/64] system_call+0x33/0x40 [kernel] Feb 3 18:45:43 moontv kernel: [<c01c4333>] system_call+0x33/0x40 [kernel] Feb 3 18:45:43 moontv kernel: Feb 3 18:45:43 moontv kernel: Code: Bad EIP value. -- Chris Guirl gu...@be... |