Comment 6 for bug 556204

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Mythbuntu-bugs] [Bug 556204] Re: myth-backend started before kernel driver it needs

OK, then we'll just need to do some regression testing to make sure this
isn't inducing another race condition between gdm and mythbackend (that's my
worry now)

On Wed, Apr 21, 2010 at 01:16, Joel Schopp <email address hidden> wrote:

> Just took out the "and started mysql" part and left "and started udev-
> finish" and it seems to run fine.
>
> --
> myth-backend started before kernel driver it needs
> https://bugs.launchpad.net/bugs/556204
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to Mythbuntu.
>
> Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Triaged
> Status in “mythtv” package in Ubuntu: Triaged
>
> Bug description:
> In Lucid there isn't a dependency for myth-backend on kernel modules being
> loaded. The result is that it can run before the kernel module for the
> hardware is finished loading. The error looks like this in
> /var/log/myth/mythbackend.log
>
> 2010-04-05 22:06:05.431 DVBChan(3:/dev/dvb/adapter0/frontend0) Warning:
> Opening DVB frontend device failed.
> eno: No such file or directory (2)
> 2010-04-05 22:06:05.482 DVBChan(3:/dev/dvb/adapter0/frontend0) Error:
> Failed to open DVB frontend device due to fatal error or too many attempts.
> 2010-04-05 22:06:05.525 New DB connection, total: 3
> 2010-04-05 22:06:05.550 Connected to database 'mythconverg' at host:
> localhost
> 2010-04-05 22:06:05.566 mythbackend: Problem with capture cards: Card
> 3failed init
> 2010-04-05 22:06:05.633 DVBChan(4:/dev/dvb/adapter0/frontend0) Warning:
> Opening DVB frontend device failed.
> eno: No such file or directory (2)
> 2010-04-05 22:06:05.649 DVBChan(4:/dev/dvb/adapter0/frontend0) Error:
> Failed to open DVB frontend device due to fatal error or too many attempts.
> 2010-04-05 22:06:05.761 mythbackend: Problem with capture cards: Card
> 4failed init
> 2010-04-05 22:06:05.783 DVBChan(5:/dev/dvb/adapter1/frontend0) Warning:
> Opening DVB frontend device failed.
> eno: No such file or directory (2)
> 2010-04-05 22:06:05.790 DVBChan(5:/dev/dvb/adapter1/frontend0) Error:
> Failed to open DVB frontend device due to fatal error or too many attempts.
> 2010-04-05 22:06:05.800 mythbackend: Problem with capture cards: Card
> 5failed init
> 2010-04-05 22:06:05.807 MythBackend, Error: No valid capture cards are
> defined in the database.
> Perhaps you should re-read the installation
> instructions?
> 2010-04-05 22:06:05.817 mythbackend: No capture cards are defined: Please
> run the setup program.
>
> My current hack, which fixes the problem but is totally the wrong thing to
> do, is to add the following line to /etc/init/mythtv-backend.conf
>
> /bin/sleep 60
>
> Instead a proper dependency needs to be added in there, I just don't know
> enough about upstart to know how to do it.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp
>

--
Mario Limonciello
<email address hidden>