From: Michael M. <mic...@gm...> - 2004-04-13 21:01:33
|
Tim Harmantzis wrote: > I am using mandrake 9.2 (kernel 2.4.22) and I can't get lirc working. It > compiled OK, no complaints. lircd starts with fine, but when I run mode2 it > exits with a "segmentation fault". Below I include the strace and ltrace > for mode2. I've had this problem for a while now and I can't get past it > open("/dev/lirc", O_RDONLY <unfinished ...> > +++ killed by SIGSEGV +++ So it either has problems with your /dev/lirc or something else goes wrong (after the open, but invisible in to strace). Make sure your /dev/lirc is a character device with major/minor 61/0: crw-r--r-- 1 root root 61, 0 2004-04-12 18:04 /dev/lirc If that's ok, give as much detail as possible, e.g. what's your LIRC version ("mode2 --version" and "lircd --version") and which lirc modules did you load ("lsmod|grep lirc") and with which parameters. strace only shows system calls and signals, not everything else. Segmentation faults can be diagnosed with the help of core dumps. To turn on generation of core dumps, use: ulimit -c unlimited Then run mode2 again, you will find a file named "core". To get a backtrace, run the debugger: gdb mode2 core At gdb's prompt, type "bt". This will hopefully give you a backtrace which you can copy and paste here (if the output is very long, type "bt -10"). This might give the developer(s?) the information needed to diagnose the problem. Regards... Michael |