Alexander E. Patrakov wrote:
My wild guess is that you removed the hotplug
initscript, but forgot to remove stuff from /etc/hotplug.d and still
have the run_hotplugd rule.
I had removed the run_hotplugd rule, but obviously either not rebooted
or restarted udevd. I also had old copies of run_hotplugd and run_devd
lying around so removed those, just to make sure I hadn't overlooked
anything else.
So, with those gone boot times were back to normal again, but no modules
get loaded. That's not really surprising, given the fact that none of
the rules in 25-lfs.rules tell udev to go and modprobe anything.
I added the following (shamelessly nicked from the Redhat examples
shipped in the udev tarball):
ACTION=="add", SUBSYSTEM=="usb", MODALIAS=="*", \
RUN+="/sbin/modprobe $modalias"
ACTION=="add", SUBSYSTEM=="scsi", SYSFS{type}=="[07]", \
RUN+="/sbin/modprobe sd_mod"
And now coldplugging and hotplugging work automagically! So, is there
anything else required, aside from the obvious expansion of the above
modprobe related rules to other subsystems, etc?
Regards,
Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page