[Bug 745456] New: Systemd launch mythbackend too fast (before the initiatlisation of the firmware).
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c0 Summary: Systemd launch mythbackend too fast (before the initiatlisation of the firmware). Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: 9700pro2@voila.fr QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; fr) Presto/2.10.229 Version/11.60 Hello, i have got a tv card asus Asus My Cinema P7131-Hybrid. This card like somes, need a firmware dvb-fe-tda10046. With openSuse 11.4 all was alright. After the update to the 12.1 all goes wrong. In fact with systemD the system lauch a lot of things in the same time, the result is that mythbackend is launched before the initialisation of the firmware (or in the sametime but it finish before the initialisation of the tv card). The result is that the tv card could not be use. And in dmesg i see: tda1004x: setting up plls for 48MHz sampling clock tda1004x: timeout waiting for DSP ready tda1004x: found firmware revision 0 -- invalid tda1004x: trying to boot from eeprom tda1004x: timeout waiting for DSP ready tda1004x: found firmware revision 0 -- invalid tda1004x: waiting for firmware upload... Like if there is no firmware. If in yast i disable the mythtvbackend service. Then boot. It allways work, the firmware is always launched like before. If i start after that the mythbackend service it works! So it confirm that it's mythbackend that lock the card before the initialisation of the card. Reproducible: Always Steps to Reproduce: 1. use a tv card that use a firmware 2. use myththbackend 3. Stop the computer (it works some times before reboot that depend but never on cold start) 4. try to use the tuner, it's not possible Actual Results: The tv card is unsuable as the card is locked by mythbackend before the initialisation, and modeprobe -r and co does not solve this problem Expected Results: mythtvservice should start after a time (like 30s or more) or after the launch of the firmware if it's possible to wait that I have found a solution to workaround that I have add a sleep 30 in the init script of mythbackend (/etc/init.d/mythbackend in the start option). And it works now. But it's not a safe option. Is there any solution to wait until the firmware of the tv card is loaded before to launch the mythbackend service? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c q l <9700pro2@voila.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c1 Frederic Crozat <fcrozat@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com --- Comment #1 from Frederic Crozat <fcrozat@suse.com> 2012-02-08 09:45:02 UTC --- this is because we don't wait for udev events to settle (it is usually not needed). Either mythtvbackend should listen to udev events and reacts when the dvr card become available (correct solution) or .service should be written for mythbackend and have a dependency on udev-settle.service. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c2 --- Comment #2 from q l <9700pro2@voila.fr> 2012-02-11 08:46:06 UTC --- And how to do that? Will it be a solution or should i contact someone else? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c3 --- Comment #3 from Frederic Crozat <fcrozat@suse.com> 2012-02-13 09:59:19 UTC --- ask mythtv maintainer, first.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=745456 https://bugzilla.novell.com/show_bug.cgi?id=745456#c4 kk zhang <kkzhang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |kkzhang@novell.com Resolution| |NORESPONSE --- Comment #4 from kk zhang <kkzhang@novell.com> 2012-03-09 13:16:59 UTC --- Long time no response.So closed.Feel free to reopen it.Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com