Dave Schile wrote: > Since the most recent build of the v4l-dvb modules I have not been able > to rmmod dst without the -f (force) option. dst is removed with -f, but > then I am completely unable to rmmod dvb-bt8xx, even with -f. It returns: > ERROR: Removing 'dvb_bt8xx': Device or resource busy > but 'lsmod | grep dvb-bt8xx' returns: > dvb_bt8xx 18052 0 > dvb_core 80552 1 dvb_bt8xx > bt878 11048 1 dvb_bt8xx > dvb_pll 14724 1 dvb_bt8xx > bttv 172404 2 dvb_bt8xx,bt878 > firmware_class 10496 2 dvb_bt8xx,bttv > i2c_core 21520 8 > dvb_bt8xx,dvb_pll,tuner,bttv,tveeprom,nvidia,i2c_viapro,i2c_algo_bit > > which makes me think dvb-bt8xx isn't being used by anything. What would > cause this module to be busy? > > At this point my abilities in linux make rebooting the only option to > re-insmod the dvb modules. > Does the attached patch help ? rmmod dvb-bt8xx rmmod dst_ca rmmod dst Manu
diff -Naurp v4l-dvb.orig/linux/drivers/media/dvb/bt8xx/dst.c v4l-dvb/linux/drivers/media/dvb/bt8xx/dst.c --- v4l-dvb.orig/linux/drivers/media/dvb/bt8xx/dst.c 2006-08-15 23:19:20.000000000 +0400 +++ v4l-dvb/linux/drivers/media/dvb/bt8xx/dst.c 2006-08-15 23:21:40.000000000 +0400 @@ -1721,9 +1721,6 @@ static void dst_release(struct dvb_front symbol_put(dst_ca_attach); #endif } -#ifdef CONFIG_DVB_CORE_ATTACH - symbol_put(dst_attach); -#endif kfree(state); }
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb