[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: udev is too slow creating devices
On Sun, Sep 19, 2004 at 08:43:50PM +0200, Grzegorz Kulewski wrote:
> I have Gentoo with udev (with 100% modular kernel). And I have speedtouch
> USB ADSL modem. I am using paralell startup scripts feature. And
> speedtouch tries to initialize itself (load firmware and so on) before USB
> bus (or how to call it) is discovered.

That's not good.

> I can imagine moving firmware loader to udev.d scripts but where
> should I place pppd launching (for example I might have pppd or
> ifconfig binary on nfs mounted /usr from my LAN...).

The firmware downloader should be in the usb hotplug agent notifier
location. See the linux-hotplug documentation for how to do this
properly (I thought the speedtouch driver package already did this
properly for some reason...)

Use the network scripts to start up the connection when it is seen by
the system. Gentoo currently does this already today.

> And how udev, hotlpug and the rest of the system should hadle SATA disk
> unpluggged in the middle of writing? And what if it will be plugged back?

udev will delete the device node. As for your data the user is screwed
as they did something very stupid :)

Plug the device back in, and it gets discovered, device node gets
created, and then mounted. That is if your SATA kernel driver supports
hotpluggable disks.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:06    [W:0.068 / U:7.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site