All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Chris Tapp <opensource@keylevel.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: systemd - how do I wait for a driver to load?
Date: Tue, 26 Aug 2014 13:07:00 -0700	[thread overview]
Message-ID: <20140826200700.GH18989@haswell> (raw)
In-Reply-To: <5390133D-A7A4-4E21-A2D9-D9BBAF6F849F@keylevel.com>

On 14-08-26 20:52:58, Chris Tapp wrote:
> I've got a service running under systemd that will only start once a kernel module has loaded and created its /dev/dvb/adaptor nodes.
> 
> Unfortunately, it doesn't load until after the service has failed and gone into an error state due to too many restarts.
> 
> I could "fix" this by increasing the restart interval, but is there a way of adding a dependancy on the kernel module?

if you module is loaded automatically on boot then dependent service
could use below dependency

After=systemd-modules-load.service

> 
> --
> 
> Chris Tapp
> opensource@keylevel.com
> www.keylevel.com
> 
> 
> 
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


      parent reply	other threads:[~2014-08-26 20:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26 19:52 systemd - how do I wait for a driver to load? Chris Tapp
2014-08-26 20:02 ` Sven Ebenfeld
2014-08-26 20:51   ` Chris Tapp
2014-08-27  7:46     ` Sven Ebenfeld
2014-08-28 16:57       ` Chris Tapp
2014-08-28 19:51         ` Sven Ebenfeld
2014-08-28 20:57           ` Chris Tapp
2014-08-26 20:07 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140826200700.GH18989@haswell \
    --to=raj.khem@gmail.com \
    --cc=opensource@keylevel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.