[linux-dvb] Unable to remove stv0299

Andrew de Quincey adq_dvb at lidskialf.net
Tue Aug 8 12:12:08 CEST 2006


> > @Andrew:
> > Imho the problem is that
> > - dvb_attach calls symbol_request(fe_attach)
> > - dvb_detach calls symbol_put_addr(fe_release)
> > i.e. two different symbols are used...
> >
> > What do you think?
>
> Crap, looks like something got lost in that /LONG/ discussion, because
> thats never going to work is it?

Actually, no, this should work...

symbol_request() looks up the module containing the given symbol and does a 
module_get() on it.

symbol_put_addr() looks up the module containing the given /addresss/ and does 
a module_put() on it... so it /should/ be working; in fact it was. But 
obviously it ain't for you guys for some reason.

Trent fixed a nasty bug in symbol_put_addr() for 2.6.17.. perhaps theres still 
another one lurking?



More information about the linux-dvb mailing list