linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hotplugging on an embedded system under 2.6.17(-rcX)
@ 2006-06-06  9:56 Guennadi Liakhovetski
  2006-06-07  3:46 ` Greg KH
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2006-06-06  9:56 UTC (permalink / raw)
  To: linux-hotplug

Hi all,

We are building an embedded system based on oe / bitbaker distro and 
2.6.17(-rc5) kernel. And we'd like to use hotplug on it. Hotplug in a 
generic sense, not as _the_ /proc/sys/kernel/hotplug = /sbin/hotplug 
thing. And this is my first embedded 2.6 project with hotplug...

First I was pretty much unaware of the way udev / hotplug co-exist now, so 
we just installed _the_ "hotplug" package in the same way we were doing 
under 2.4 and then we noticed that the boot-time is VERY long, upon closer 
investigation it turned out to be the hotplug script that was using up 
most of that time being started multiple times on each modprobe.

Now, I've read that now the actual "hotplpug" package is deprecated and 
superseded by the udev (from kernel 2.6.15). But one requires a pretty 
modern version of udev to really fully replace "hotplug" and best 
co-operate with the kernel. First question - starting from which version 
of udev is advised for 2.6.15+ kernels?

Secondly, the version of udev we have from oe is 071. If I just install it 
I see the udevd is started, it even dynamically manages / creates device 
nodes, and I can see with strace that it also receives all modprobe / 
rmmod events from the kernel, but, I suspect it is not quite properly 
configured yet, e.g., when I plug in a USB keyboard usbhid doesn't get 
loaded. Ok, I can read docs, install the latest version of udev, configure 
it, but before I do all that - will it be _much_ faster than the hotplug? 
If not - we'll have to look for another solution...

Are there any ready embedded fast hotplug solutions? Will it be faster if 
one compiles most stuff in the kernel? Our main problem is the startup 
time when about 10-20 kernel modules get loaded...

Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany


_______________________________________________
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-06-07 13:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06  9:56 hotplugging on an embedded system under 2.6.17(-rcX) Guennadi Liakhovetski
2006-06-07  3:46 ` Greg KH
2006-06-07  8:28 ` Guennadi Liakhovetski
2006-06-07  9:50 ` Kay Sievers
2006-06-07 10:06 ` Guennadi Liakhovetski
2006-06-07 10:27 ` Kay Sievers
2006-06-07 12:08 ` Guennadi Liakhovetski
2006-06-07 12:21 ` Kay Sievers
2006-06-07 12:41 ` Guennadi Liakhovetski
2006-06-07 13:49 ` Guennadi Liakhovetski

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).