eeh patch

Greg KH greg at
Wed Mar 17 05:21:15 EST 2004

> In an attempt to ease the number of EEH events some people have
> seen, it was decided to add the ability to hot-unplug certain
> devices when they received an eeh event instead of calling panic().
> This is done via an user-space daemon that does a read on a /proc
> file that blocks in the kernel until an eeh event occurs.  The
> kernel then returns the device name to the daemon who handles
> the actual unplugging of the device.
> The (2.6) patch and user-space daemon code have been tested, so I am
> hoping to get some feedback before pushing this on to Ameslab.

How about "what the hell are you doing?" as feedback.  :)

What's wrong with sysfs and the hotplug interface for doing this kind of
stuff?  We need another user-space daemon reading from a /proc file like
we need another implementation of devfs...

Please, stop reinventing the wheel and use the subsytems and interfaces
that are already present in the kernel to do this kind of stuff.


greg k-h

** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list