linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Uberto Barbini <uberto@ubiland.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev too slow?
Date: Fri, 19 Aug 2005 19:54:09 +0000	[thread overview]
Message-ID: <200508192154.10305.uberto@ubiland.net> (raw)
In-Reply-To: <8F1EED683FFEDD43B4FE4A0425847F2EAEE581@EXE.ceda.polimi.it>

> On Fri, Aug 19, 2005 at 12:10:56PM +0200, Barbini Uberto wrote:
> > I've just passed to udev from devfs (Gentoo daily sync with 2.6.12).
> >
> > I've a problem with dvb drivers: after the modprobe it occurs about 10
> > seconds before udev creates the devices (/dev/adapter0/xxx), which
> > it's pretty unacceptable in a dining room settopbox.
>
> Update to udev 068, if not already. Start "udevmonitor" before loading the
> modules and post the output it prints. It will show the sequence of the
> kernel->udev events. I have a USB DVB device which takes less than a second
> to initialize:

I emerged 068 (gentoo standard is 058 right now).
With 068 it takes 4-5 seconds instead of 9-10, way better but not perfect.

This is udevmonitor output:

UEVENT[1124474094] add@/module/stv0299
UEVENT[1124474094] add@/module/ves1x93
UEVENT[1124474094] add@/module/ttpci_eeprom
UEVENT[1124474094] add@/module/saa7146
UEVENT[1124474094] add@/module/video_buf
UEVENT[1124474094] add@/module/saa7146_vv
UEVENT[1124474094] add@/module/dvb_core
UEVENT[1124474094] add@/module/dvb_ttpci
UEVENT[1124474094] add@/bus/pci/drivers/dvb
UEVENT[1124474094] add@/class/firmware/0000:00:14.0
UDEV  [1124474094] add@/module/dvb_core
UDEV  [1124474094] add@/module/saa7146_vv
UDEV  [1124474094] add@/module/dvb_ttpci
UDEV  [1124474094] add@/module/ves1x93
UDEV  [1124474094] add@/module/ttpci_eeprom
UDEV  [1124474094] add@/module/saa7146
UDEV  [1124474094] add@/module/stv0299
UDEV  [1124474094] add@/module/video_buf
UDEV  [1124474094] add@/bus/pci/drivers/dvb
UEVENT[1124474094] remove@/class/firmware/0000:00:14.0
UDEV  [1124474094] add@/class/firmware/0000:00:14.0
UEVENT[1124474094] add@/class/i2c-adapter/i2c-1
UEVENT[1124474094] add@/class/i2c-dev/i2c-1
UDEV  [1124474094] remove@/class/firmware/0000:00:14.0
UEVENT[1124474095] add@/class/dvb/dvb0.demux0
UEVENT[1124474095] add@/class/dvb/dvb0.dvr0
UEVENT[1124474095] add@/class/dvb/dvb0.video0
UEVENT[1124474095] add@/class/dvb/dvb0.audio0
UEVENT[1124474095] add@/class/dvb/dvb0.ca0
UEVENT[1124474095] add@/class/dvb/dvb0.osd0
UEVENT[1124474095] add@/class/dvb/dvb0.net0
UEVENT[1124474095] add@/class/video4linux/video1
UEVENT[1124474095] add@/class/dvb/dvb0.frontend0
UDEV  [1124474099] add@/class/i2c-adapter/i2c-1
UDEV  [1124474099] add@/class/dvb/dvb0.ca0
UDEV  [1124474099] add@/class/dvb/dvb0.osd0
UDEV  [1124474099] add@/class/video4linux/video1
UDEV  [1124474099] add@/class/dvb/dvb0.frontend0
UDEV  [1124474099] add@/class/dvb/dvb0.video0
UDEV  [1124474099] add@/class/dvb/dvb0.audio0
UDEV  [1124474099] add@/class/i2c-dev/i2c-1
UDEV  [1124474099] add@/class/dvb/dv

please note the delay between 1124474095 and 1124474099.
Is there some other test I could try?

Bye Uberto


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

  parent reply	other threads:[~2005-08-19 19:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-19 10:10 udev too slow? Barbini Uberto
2005-08-19 11:41 ` Kay Sievers
2005-08-19 19:54 ` Uberto Barbini [this message]
2005-08-19 20:36 ` Kay Sievers
2005-08-19 22:56 ` Greg KH
2005-08-20 18:16 ` Uberto Barbini
2005-08-20 19:11 ` Kay Sievers
2005-08-28 23:28 ` Kay Sievers

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=200508192154.10305.uberto@ubiland.net \
    --to=uberto@ubiland.net \
    --cc=linux-hotplug@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).