Mailing List archive

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

[linux-dvb] Re: kernel panic when removing module while IR is active



Johannes Stezenbach schrieb:
>Markus Wiesner wrote:
>> 
>> I hope this is new, at least I could not find something related via
>> Google ... (a search in the linuxtv.org archive always returned "No
>> matches" no matter what I was looking for?!)
>> 
>> I'm using the onboard IR-receiver (J2) of a technotrend premium 1.6
>> dvb-s with the vanilla kernel 2.6.6 dvb-driver.
>> 
>> When the dvb_ttpci module is removed while the ir-receiver is receiving
>> data i always get following kernel oops (manually copied from screen,
>> may contain typos ...):
>
>Thanks for doing that work, and sorry that it took me so long to
>respond.

It was worth waiting because ...

>I cannot test it now (no IR receiver at hand), but I hope this
>is fixed in CVS like so:
>
>diff -u -p -r1.12 av7110_ir.c
>--- drivers/media/dvb/ttpci/av7110_ir.c	3 May 2004 16:29:28 -0000	1.12
>+++ drivers/media/dvb/ttpci/av7110_ir.c	26 May 2004 12:43:54 -0000
>@@ -195,6 +195,7 @@ int __init av7110_ir_init(void)
> 
> void __exit av7110_ir_exit(void)
> {
>+	del_timer_sync(&keyup_timer);
> 	remove_proc_entry("av7110_ir", NULL);
> 	av7110_unregister_irc_handler(av7110_emit_key);
> 	input_unregister_device(&input_dev);
>
>
>It would be cool if you could report back if that fix works for you.

... that seems to fix it. :-)

Just tried it several times again, to be sure: Without patch every test
still ended in a kernel panic, with patch (applied to vanilla 2.6.6, not
CVS, but should make no difference) everything is fine. No more kernel
panic when VDR is restarted via OSD and I press the OK button a bit too
long. :-)

thank you very much

Markus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index