[PATCH] Implement retry on linux sysfs pnp id file.
Danny Kukawka
danny.kukawka at web.de
Tue Sep 23 00:51:45 PDT 2008
On Montag, 22. September 2008, Drew Moseley wrote:
> > Can you send the patch with diff -Nur or plain git diff?
>
> Updated patch below.
>
> > I'm currently not sure if we should do this. IMO the kernel should get
> > fixed instead to provide the sysfs file only if the content/information
> > is really available. Did you report the problem to the kernel guys?
>
> I've spoken w/ some kernel guys locally and they are of the opinion that
> with sysfs, unfortunately, that's the way it has to be. There is
> precedence for this kind of sleep already in hald/linux/blockdev.c which
> is what I modelled this patch after.
This is a really dirty hack.
@Kay: Is this behavior normal? Is there a way to fix sysfs instead of sending
HAL into a loop?
Danny
More information about the hal
mailing list