cannot restart tvtime with kernel 3.14 since installing kernels :- 3.14.0-rc8-1.ga68bc7c-desktop x86_64 3.14.0-1.g79de0a7-desktop x86_64 3.14.0-2.gfa168d7-desktop x86_64 an attempt to restart tvtime fails with the message "saa7134: Device of resource busy Cannot open capture device /dev/video0" to run tvtime again requires a reboot tvtime-1.0.2-260.1.3.x86_64 is the version installed no problems encountered using this tvtime and kernels :- 3.13.5-2.gbb654e2-desktop x86_64 thru' 3.13.6-2.g0509ce5-desktop x86_64 during March of this year, on the same hardware with KDE 4.12.3 Distro: openSUSE 13.1 (Bottle) comparing the output of 'top', no processes have been identified as being left open after tvtime had been closed, no other failure indication has been identified .tvtime directory deleted and driver re-installed without change status of installed hw + sw :- A780GM-m1 Kernel: 3.14.0-1.g79de0a7-desktop x86_64 (64 bit) Desktop: KDE 4.12.4 Distro: openSUSE 13.1 (Bottle) Mobo: ASRock model: A780GM-LE, Quad core AMD Phenom II X4 940 tvcard: pci, elta 8681 lv-flyvideo 3000
It seems the same bug reported here: https://bugzilla.kernel.org/show_bug.cgi?id=73361
not the same response as bug 73361. removing driver fails due to dependencies compiled kernel-3.14.1-2.gfa168d7-desktop without problem the install of saa7134 is shown below trying to restart tvtime still fails with message. “saa7134: Device or resource busy Cannot open capture device /dev/video0“ A780GM-m1<2014Apr16><10:17><~/Updates/13.1/kernel> grep saa7134 install-A780GM-m1-140415.txt LD drivers/media/pci/saa7134/built-in.o CC [M] drivers/media/pci/saa7134/saa7134-cards.o CC [M] drivers/media/pci/saa7134/saa7134-core.o CC [M] drivers/media/pci/saa7134/saa7134-i2c.o CC [M] drivers/media/pci/saa7134/saa7134-ts.o CC [M] drivers/media/pci/saa7134/saa7134-tvaudio.o CC [M] drivers/media/pci/saa7134/saa7134-vbi.o CC [M] drivers/media/pci/saa7134/saa7134-video.o CC [M] drivers/media/pci/saa7134/saa7134-input.o LD [M] drivers/media/pci/saa7134/saa7134.o CC [M] drivers/media/pci/saa7134/saa7134-empress.o CC [M] drivers/media/pci/saa7134/saa7134-alsa.o CC [M] drivers/media/pci/saa7134/saa7134-dvb.o CC drivers/media/pci/saa7134/saa7134-alsa.mod.o LD [M] drivers/media/pci/saa7134/saa7134-alsa.ko CC drivers/media/pci/saa7134/saa7134-dvb.mod.o LD [M] drivers/media/pci/saa7134/saa7134-dvb.ko CC drivers/media/pci/saa7134/saa7134-empress.mod.o LD [M] drivers/media/pci/saa7134/saa7134-empress.ko CC drivers/media/pci/saa7134/saa7134.mod.o LD [M] drivers/media/pci/saa7134/saa7134.ko INSTALL drivers/media/pci/saa7134/saa7134-alsa.ko INSTALL drivers/media/pci/saa7134/saa7134-dvb.ko INSTALL drivers/media/pci/saa7134/saa7134-empress.ko INSTALL drivers/media/pci/saa7134/saa7134.ko A780GM-m1<2014Apr16><10:18><~/Updates/13.1/kernel>
It is the same bug as 73361. See my patch that I posted there. If you rmmod the saa7134 driver and modprobe it again, then tvtime will work again, if only one time.
most likely the source of the problem is the same, but the re-action to rmmod is as follows A780GM-m1:~ # rmmod saa7134 ERROR: Module saa7134 is in use by saa7134_alsa A780GM-m1:~ # rmmod saa7134_alsa ERROR: Module saa7134_alsa is in use A780GM-m1:~ # exit logout A780GM-m1<2014Apr16><16:47><~> and A780GM-m1:~ # lsmod | grep alsa saa7134_alsa 18437 1 snd_pcm 115950 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec, saa7134_alsa snd 87595 23 snd_hda_codec_realtek,snd_hda_codec_generic, snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec, snd_hwdep,snd_seq,saa7134_alsa,snd_pcm, snd_timer,snd_seq_device saa7134 190533 1 saa7134_alsa videobuf_dma_sg 19262 2 saa7134_alsa,saa7134 A780GM-m1:~ # also the re-action to modprob is as follows A780GM-m1:~ # modprobe -r saa7134 WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module saa7134 is in use. A780GM-m1:~ # modprobe -r saa7134_alsa WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module saa7134_alsa is in use. A780GM-m1:~ # modprobe -r snd WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module snd is in use. A780GM-m1:~ # modprobe -r videobuf_dma_sg WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. FATAL: Module videobuf_dma_sg is in use. A780GM-m1:~ # for more info see https://forums.opensuse.org/showthread.php/496737-problem-with-dev-video0-after-using-tvtime-with-new-kernel-3-14?p=2634786#post2634786
Some process is still using the alsa driver. Usually something kde/gnome related audio process. I never figured out who it is and how to close it other then by going to console mode (i.e. telinit 3). If you know how to do that, let me know :-) You can also blacklist or rename saa7134-alsa so it isn't loaded anymore. I'm 99.99% certain it is the same bug as 73361 though. Because there is a saa7134 bug causing exactly these symptoms.
its always a b... setting up the audio to work with kaffeine, vlc, kmix as they all tap into alsa/pulseaudio, so once they are working, all is left alone until the next os upgrade as it is, its ok, just have to remember not to close down tvtime during a session at least there is no problem with mtt (teletext decoder) with this kernel the line blacklist saa7134_alsa was added to file /etc/modprobe.d/50-blacklist.conf but the module is still loaded lack of understanding!
this is old hat all worked ok with openSUSE 13.2 and 13.3 with kernels 3.15 - 3.17 considered closed, fixed