Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [2.6 PATCH/RFC] Firmware loader - fix races and resource dealloocation problems | From | Marcel Holtmann <> | Date | Tue, 23 Dec 2003 00:42:42 +0100 |
| |
Hi Greg,
> > It seems that implementation of the firmware loader is racy as it relies > > on kobject hotplug handler. Unfortunately that handler runs too early, > > before firmware class attributes controlling the loading process, are > > created. This causes firmware loading fail at least half of the times on > > my laptop. > > Um, why not have your script wait until the files are present? That > will remove any race conditions you will have.
the firmware.agent script that is now in linux-hotplug already do a "sleep 1" if the the loading file is not present.
Regards
Marcel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |