Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: LIRCd+serial and kernel panics



In message <b08ffd$fv4$1@fritz38552.news.dfncis.de>
          Wolfgang Fritz <wolfgang.fritz@gmx.net> wrote:

> Richard Walker wrote:
> 
> > I'm using Debian GNU/Linux 3 (woody) and Linux 2.4.20 (stock).  I have
> > the CVS DVB drivers supporting my Nova-t, the Dxr3 drivers supporting my
> > Dxr3, and VDR 1.1.21 working.  I built LIRC from CVS, and this works
> > with the serial port receiver I bought from zapway.de
>
> I have a similar setup: SuSE 8.0 with stock kernel 2.4.20. I am using 
> lirc-0.6.6 with a homemade serial receiver (schematic from www.lirc.org) 
> and the lirc_serial kernel module. This is working without problems up  to
> now.

That's good - in a way!  :-)

> > Has anyone come across anything like this before?  Could be be 2.4.20
> > that disagrees with LIRC?  Might my long serial cable (12m!) be a
> > problem?
>
> Maybe the lirc from CVS has a bug? You could try lirc-0.6.6 which works 
> for me.

I'll try downloading 0.6.6 and report back.

> The lirc_serial driver seems to generate an interrupt for every signal 
> change on the serial line. Maybe it is possible to "overflow" the kernel 
>   or the lirc_serial module with interrupts which then causes a kernel 
> panic. That could happen if the long cable distorts the signal or picks 
> up a lot of noise, but I think in that case lirc would not work at all.

Yes, that's what I thought.  I was thinking about cutting my cable, since it
doesn't need to be quite so long, but I don't think it'll make any
difference.

> Did you try disable the "normal" serial driver with setserial /dev/ttyS0
> uart none if it is compiled into the kernel?

Yes.  I have to do this, otherwise lircd won't start.
 
I should have added: the LIRC modules load OK, lircd starts OK, and
*sometimes* I can run stuff like VDR and irw.  However, most of the time
irw/VDR will cause lircd to trigger a kernel panic.  If I kill the LIRC
serial module, I never get panics (but I can't use my remote!).


-- 
Richard.

"Help, I need somebody, help, not just anybody, help."


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index