Red Hat Bugzilla – Bug 330341
microcode_ctl instscript needs to move to be event driven instead of polling
Last modified: 2008-04-03 03:45:44 EDT
+++ This bug was initially created as a clone of Bug #329911 +++
We do this in /etc/init.d/microcode_ctl ..
while [ ! -c $DEVICE ]; do
[ $lt -gt 5 ] && break;
which is pretty silly. We're waiting for udev to create the /dev/ node.
We could just quit the script after doing the modprobe, and have a separate
script that udev runs upon creation of the device to do the actual microcode
The loop above polls for up to 5 seconds. I picked this number because we
actually had reports from RHEL customers that for some reason it took udev up to
5 seconds to create the dev node. Udev may have been sped up since rhel5, but
even if it hasn't moving all this to be event driven will speed up the boot
process anywhere between 1-5 seconds.
-- Additional comment from firstname.lastname@example.org on 2007-10-12 21:39 EST --
Thanks Dave. I'm getting a new rawhide box setup over the weekend and will then
fix this "bug"...it's certainly not the last time we need to move over to event
driven initscripts ;-)
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update