Hotplug on PPC4xx
Sean MacLennan
smaclennan at pikatech.com
Wed Apr 8 09:27:28 EST 2009
On Mon, 6 Apr 2009 18:20:23 -0400
"Sean MacLennan" <sean.maclennan at ottawa.kanatek.ca> wrote:
> I am trying to run the /sbin/hotplug from the kernel and it doesn't
> work. Has anybody got it running?
I looked into it some more. It turns out that the env pointers are
freed before they are copied.
In kobject_uevent_env() if I change the line that calls the helper from
UMH_NO_WAIT to UMH_WAIT_EXEC, then it works... but probably at a loss
of performance.
retval = call_usermodehelper(argv[0], argv,
env->envp, UMH_WAIT_EXEC);
Any other ideas?
Cheers,
Sean
More information about the Linuxppc-dev
mailing list