[sclug] Kernel doesn't start tvcard properly

Dickon Hood dickon-ml at fluff.org
Fri Sep 3 17:10:17 UTC 2010


On Fri, Sep 03, 2010 at 10:52:41 +0100, Simon Huggins wrote:
: On Wed, Aug 25, 2010 at 10:41:41AM +0100, andrew wrote:
: > I am using Mandriva Free 2010.1 and am having temperamental trouble
: > detecting my firmware driver for the tv card.

: > See this pastebin:
: >     http://pastebin.com/aKYftSyb

: This was fixed on IRC.  Dickon, Andy, care to add what you did to fix it
: for posterity?

Spotted that it was likely a race condition, where the race was between
the root filesystem being mounted (and hence the device firmware being
available), and the device driver being loaded.  I suggested blacklisting
the dvb-usb module and modprobe(8)ing it in rc.local, but that wasn't
quite right; I'd got my dependencies around the wrong way.  The correct
module to blacklist and modprobe was the card-specific driver, the name of
which I forget.

Right idea, though.

The alternative is to supply the /lib/firmware/ module in the initrd, but
that opens a huge can of worms around non-stock initrds and whatnot, and
remembering to update both copies when needed.  Better to load the module
later in the day.

: I thought it was quite an interesting bug I hadn't come across before.

Neither had I.

-- 
Dickon Hood

Due to digital rights management, my .sig is temporarily unavailable.
Normal service will be resumed as soon as possible.  We apologise for the
inconvenience in the meantime.

No virus was found in this outgoing message as I didn't bother looking.



More information about the Sclug mailing list